2015-04-28 06:12:31 +02:00
|
|
|
{
|
|
|
|
"rules": {
|
2020-04-21 21:09:28 +02:00
|
|
|
"camelcase": ["off", {"properties": "always"}],
|
|
|
|
"comma-spacing": ["error", {"before": false, "after": true}],
|
|
|
|
"curly": ["error", "all"],
|
2020-05-16 18:40:56 +02:00
|
|
|
"dot-notation": ["error", {"allowKeywords": true}],
|
2020-05-16 18:42:51 +02:00
|
|
|
"eqeqeq": ["error"],
|
2020-04-21 21:09:28 +02:00
|
|
|
"indent": ["error", 4],
|
|
|
|
"key-spacing": ["error", {"beforeColon": false, "afterColon": true}],
|
2020-05-16 18:40:56 +02:00
|
|
|
"linebreak-style": ["error", "unix"],
|
2020-04-21 21:09:28 +02:00
|
|
|
"new-cap": ["off", {"newIsCap": true, "capIsNew": true}],
|
|
|
|
"no-alert": ["off"],
|
|
|
|
"no-eval": ["error"],
|
|
|
|
"no-extend-native": ["error", {"exceptions": ["Date", "String"]}],
|
|
|
|
"no-multi-spaces": ["error"],
|
|
|
|
"no-octal-escape": ["error"],
|
|
|
|
"no-script-url": ["error"],
|
|
|
|
"no-shadow": ["error", {"hoist": "functions"}],
|
2020-05-16 18:40:56 +02:00
|
|
|
"no-underscore-dangle": ["error"],
|
|
|
|
"no-unused-vars": ["error", {"vars": "local", "args": "none"}],
|
2020-04-21 02:39:15 +02:00
|
|
|
"no-var": ["error"],
|
|
|
|
"prefer-const": ["error"],
|
2020-05-16 18:40:56 +02:00
|
|
|
"quotes": ["off", "single"],
|
2020-04-21 21:09:28 +02:00
|
|
|
"semi": ["error", "always"],
|
|
|
|
"space-before-blocks": ["error", "always"],
|
|
|
|
"space-before-function-paren": ["error", {"anonymous": "never", "named": "never"}],
|
|
|
|
"space-infix-ops": ["error", {"int32Hint": false}],
|
2020-04-26 23:12:34 +02:00
|
|
|
"strict": ["error", "global"]
|
2015-04-28 06:12:31 +02:00
|
|
|
},
|
|
|
|
"env": {
|
2020-04-21 02:39:15 +02:00
|
|
|
"browser": true,
|
|
|
|
"es6": true
|
2015-04-28 06:12:31 +02:00
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"django": false
|
|
|
|
}
|
2015-07-17 14:36:36 +02:00
|
|
|
}
|