mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
70dae67b73
Fixes #15393 Closes gh-1958
39 lines
609 B
JSON
39 lines
609 B
JSON
{
|
|
"parserOptions": {
|
|
"ecmaVersion": 5
|
|
},
|
|
|
|
"env": {
|
|
"browser": true,
|
|
"jquery": true,
|
|
"node": false
|
|
},
|
|
|
|
"rules": {
|
|
"strict": [ "error", "function" ],
|
|
|
|
// The following rule is relaxed due to too many violations:
|
|
"no-unused-vars": [ "error", { "vars": "all", "args": "after-used" } ],
|
|
|
|
// Too many violations:
|
|
"camelcase": "off",
|
|
"no-nested-ternary": "off"
|
|
},
|
|
|
|
"globals": {
|
|
"define": false,
|
|
"Globalize": false
|
|
},
|
|
|
|
"overrides": [
|
|
{
|
|
"files": [ "i18n/**/*.js" ],
|
|
"rules": {
|
|
|
|
// We want to keep all the strings in separate single lines
|
|
"max-len": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|