We had quite a few obsolete globals declared in various ESLint config files. We also no longer allow to rely on the `noGlobal` & `jQuery` globals in the built file which is not needed.
Closes gh-4301
"globals": {
"window": true,
- "jQuery": true,
"define": true,
- "module": true,
- "noGlobal": true
+ "module": true
},
"rules": {
{
"root": true,
- "extends": "../.eslintrc-browser.json"
+ "extends": "../.eslintrc-browser.json",
+
+ "globals": {
+ "jQuery": true
+ }
}
"globals": {
"require": false,
- "define": false,
- "DOMParser": false,
- "JSON": false,
"Promise": false,
"Symbol": false,
"QUnit": false,
"ajaxTest": false,
"testIframe": false,
- "testIframeWithCallback": false,
- "iframeCallback": true,
"createDashboardXML": false,
"createXMLFragment": false,
"moduleTeardown": false,
- "testFoo": false,
"url": false,
- "t": false,
"q": false,
"jQuery": true,
"sinon": true,