2016-05-10 09:12:28 +00:00
|
|
|
{
|
2016-11-02 23:51:34 +00:00
|
|
|
"root": true,
|
|
|
|
|
2019-11-18 20:15:03 +00:00
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 5,
|
|
|
|
"sourceType": "script"
|
|
|
|
},
|
|
|
|
|
|
|
|
"globals": {
|
|
|
|
"define": false,
|
|
|
|
"module": true,
|
|
|
|
"Symbol": false
|
2020-01-21 12:51:03 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"overrides": [
|
|
|
|
{
|
2023-07-10 17:14:08 +00:00
|
|
|
"files": "jquery{,.slim}.min.js",
|
|
|
|
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 5,
|
|
|
|
"sourceType": "script"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"files": "jquery{,.slim}.js",
|
2020-01-21 12:51:03 +00:00
|
|
|
"extends": "../.eslintrc-browser.json",
|
|
|
|
|
|
|
|
"rules": {
|
2023-07-10 17:14:08 +00:00
|
|
|
|
2020-01-21 12:51:03 +00:00
|
|
|
// That is okay for the built version
|
2020-03-02 21:25:35 +00:00
|
|
|
"no-multiple-empty-lines": "off",
|
2023-07-10 17:14:08 +00:00
|
|
|
|
2020-04-27 19:29:13 +00:00
|
|
|
// When custom compilation is used, the version string
|
|
|
|
// can get large. Accept that in the built version.
|
|
|
|
"max-len": "off",
|
2020-03-02 21:25:35 +00:00
|
|
|
"one-var": "off"
|
2020-01-21 12:51:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2016-05-10 09:12:28 +00:00
|
|
|
}
|