1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
{
"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"
}
}
]
}
|