2015-04-28 06:12:31 +02:00
|
|
|
{
|
|
|
|
"rules": {
|
2015-07-21 01:20:54 +02:00
|
|
|
"camelcase": [0, {"properties": "always"}],
|
2015-07-17 15:04:26 +02:00
|
|
|
"comma-spacing": [2, {"before": false, "after": true}],
|
2015-07-17 17:44:26 +02:00
|
|
|
"dot-notation": [2, {"allowKeywords": true}],
|
2015-07-17 14:36:36 +02:00
|
|
|
"curly": [2, "all"],
|
2015-07-21 01:20:54 +02:00
|
|
|
"indent": [2, 4],
|
|
|
|
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
|
|
|
|
"new-cap": [0, {"newIsCap": true, "capIsNew": true}],
|
2015-04-28 06:12:31 +02:00
|
|
|
"no-alert": [0],
|
2015-07-21 01:36:59 +02:00
|
|
|
"no-eval": [2],
|
2015-04-28 06:12:31 +02:00
|
|
|
"no-extend-native": [2, {"exceptions": ["Date", "String"]}],
|
2015-07-17 18:02:17 +02:00
|
|
|
"no-multi-spaces": [2],
|
2015-07-17 18:20:33 +02:00
|
|
|
"no-octal-escape": [2],
|
2015-07-20 22:31:56 +02:00
|
|
|
"no-underscore-dangle": [2],
|
2015-04-28 06:12:31 +02:00
|
|
|
"no-unused-vars": [2, {"vars": "local", "args": "none"}],
|
2015-11-23 11:46:19 +01:00
|
|
|
"no-script-url": [2],
|
2015-07-20 22:29:10 +02:00
|
|
|
"no-shadow": [2, {"hoist": "functions"}],
|
2015-07-21 01:20:54 +02:00
|
|
|
"quotes": [0, "single"],
|
|
|
|
"linebreak-style": [2, "unix"],
|
|
|
|
"semi": [2, "always"],
|
2015-04-28 06:12:31 +02:00
|
|
|
"space-before-blocks": [2, "always"],
|
2015-07-17 14:47:28 +02:00
|
|
|
"space-before-function-paren": [2, {"anonymous": "never", "named": "never"}],
|
2015-07-17 18:00:39 +02:00
|
|
|
"space-infix-ops": [2, {"int32Hint": false}],
|
2015-04-28 06:12:31 +02:00
|
|
|
"strict": [1, "function"]
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"browser": true
|
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"django": false
|
|
|
|
}
|
2015-07-17 14:36:36 +02:00
|
|
|
}
|