You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.1 KiB
Plaintext
64 lines
1.1 KiB
Plaintext
{
|
|
"env": {
|
|
"browser": true,
|
|
"node": true
|
|
},
|
|
|
|
"globals": {
|
|
"jQuery": false,
|
|
"$": false
|
|
},
|
|
|
|
"rules": {
|
|
"no-console": 0,
|
|
"no-reserved-keys": 2,
|
|
|
|
|
|
"block-scoped-var": 2,
|
|
"default-case": 2,
|
|
"no-div-regex": 2,
|
|
"no-else-return": 2,
|
|
"no-floating-decimal": 2,
|
|
"no-self-compare": 2,
|
|
"no-void": 2,
|
|
"radix": 2,
|
|
"vars-on-top": 2,
|
|
"wrap-iife": [2, "inside"],
|
|
|
|
|
|
"global-strict": [2, "never"],
|
|
|
|
|
|
"no-undefined": 2,
|
|
|
|
|
|
"no-sync": 2,
|
|
|
|
|
|
"brace-style": [2, "1tbs", {
|
|
"allowSingleLine": false
|
|
}],
|
|
"consistent-this": [2, "that"],
|
|
"func-style": [2, "expression"],
|
|
"no-nested-ternary": 2,
|
|
"no-lonely-if": 2,
|
|
"quotes": [1, "single", "avoid-escape"],
|
|
"space-after-keywords": [2, "always"],
|
|
"space-in-brackets": [2, "always", {
|
|
"singleValue": true,
|
|
"objectsInArrays": true,
|
|
"arraysInArrays": true
|
|
}],
|
|
"space-in-parens": [2, "never"],
|
|
"space-unary-word-ops": 2,
|
|
"max-nested-callbacks": [2, 3],
|
|
"wrap-regex": 2,
|
|
|
|
|
|
"max-len": [2, 120],
|
|
"no-bitwise": 2,
|
|
"no-plusplus": 2
|
|
}
|
|
|
|
}
|