2016-11-02 23:51:34 +00:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
|
|
|
|
"extends": "jquery",
|
|
|
|
|
|
|
|
"parserOptions": {
|
2019-04-29 20:56:09 +00:00
|
|
|
"ecmaVersion": 5
|
2016-11-02 23:51:34 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
// 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": {
|
2019-11-18 20:15:03 +00:00
|
|
|
"window": true
|
2016-11-02 23:51:34 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"rules": {
|
2020-03-02 21:25:35 +00:00
|
|
|
"one-var": ["error", {"var": "always"}],
|
2016-11-02 23:51:34 +00:00
|
|
|
"strict": ["error", "function"]
|
|
|
|
}
|
|
|
|
}
|