mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
34296ec547
This disable-directive only applies to the built version, so put it in /dist. This avoids a warning about an unused directive in the source version. Closes gh-4676
31 lines
517 B
JSON
31 lines
517 B
JSON
{
|
|
"root": true,
|
|
|
|
"parserOptions": {
|
|
"ecmaVersion": 5,
|
|
"sourceType": "script"
|
|
},
|
|
|
|
"globals": {
|
|
"define": false,
|
|
"module": true,
|
|
"Symbol": false
|
|
},
|
|
|
|
"overrides": [
|
|
{
|
|
"files": "jquery.js",
|
|
"extends": "../.eslintrc-browser.json",
|
|
|
|
"rules": {
|
|
// That is okay for the built version
|
|
"no-multiple-empty-lines": "off",
|
|
// When custom compilation is used, the version string
|
|
// can get large. Accept that in the built version.
|
|
"max-len": "off",
|
|
"one-var": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|