2015-04-28 04:12:31 +00:00
|
|
|
{
|
|
|
|
"rules": {
|
2020-04-21 19:09:28 +00:00
|
|
|
"camelcase": ["off", {"properties": "always"}],
|
|
|
|
"comma-spacing": ["error", {"before": false, "after": true}],
|
|
|
|
"dot-notation": ["error", {"allowKeywords": true}],
|
|
|
|
"curly": ["error", "all"],
|
|
|
|
"indent": ["error", 4],
|
|
|
|
"key-spacing": ["error", {"beforeColon": false, "afterColon": true}],
|
|
|
|
"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-underscore-dangle": ["error"],
|
|
|
|
"no-unused-vars": ["error", {"vars": "local", "args": "none"}],
|
|
|
|
"no-script-url": ["error"],
|
|
|
|
"no-shadow": ["error", {"hoist": "functions"}],
|
2020-04-21 00:39:15 +00:00
|
|
|
"no-var": ["error"],
|
2020-04-21 19:09:28 +00:00
|
|
|
"quotes": ["off", "single"],
|
|
|
|
"linebreak-style": ["error", "unix"],
|
2020-04-21 00:39:15 +00:00
|
|
|
"prefer-const": ["error"],
|
2020-04-21 19:09:28 +00: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 21:12:34 +00:00
|
|
|
"strict": ["error", "global"]
|
2015-04-28 04:12:31 +00:00
|
|
|
},
|
|
|
|
"env": {
|
2020-04-21 00:39:15 +00:00
|
|
|
"browser": true,
|
|
|
|
"es6": true
|
2015-04-28 04:12:31 +00:00
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"django": false
|
|
|
|
}
|
2015-07-17 12:36:36 +00:00
|
|
|
}
|