mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
c10945d0e1
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
30 lines
649 B
JSON
30 lines
649 B
JSON
{
|
|
"root": true,
|
|
|
|
"extends": "jquery",
|
|
|
|
// Support: IE <=9 only, Android <=4.0 only
|
|
// The above browsers are failing a lot of tests in the ES5
|
|
// test suite at http://test262.ecmascript.org.
|
|
"parserOptions": {
|
|
"ecmaVersion": 3
|
|
},
|
|
|
|
// The browser env is not enabled on purpose so that code takes
|
|
// all browser-only globals from window instead of assuming
|
|
// they're available as globals. This makes it possible to use
|
|
// jQuery with tools like jsdom which provide a custom window
|
|
// implementation.
|
|
"env": {},
|
|
|
|
"globals": {
|
|
"window": true,
|
|
"define": true,
|
|
"module": true
|
|
},
|
|
|
|
"rules": {
|
|
"strict": ["error", "function"]
|
|
}
|
|
}
|