2015-04-28 06:12:31 +02:00
|
|
|
{
|
|
|
|
"rules": {
|
|
|
|
"camelcase": [1, {"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-04-28 06:12:31 +02:00
|
|
|
"indent": [
|
|
|
|
2,
|
|
|
|
4
|
|
|
|
],
|
2015-07-17 17:35:02 +02:00
|
|
|
"key-spacing": [2, {
|
2015-04-28 06:12:31 +02:00
|
|
|
"beforeColon": false,
|
|
|
|
"afterColon": true
|
|
|
|
}],
|
|
|
|
"new-cap": [1, {"newIsCap": true, "capIsNew": true}],
|
|
|
|
"no-alert": [0],
|
|
|
|
"no-eval": [1],
|
|
|
|
"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-04-28 06:12:31 +02:00
|
|
|
"no-underscore-dangle": [1],
|
|
|
|
"no-unused-vars": [2, {"vars": "local", "args": "none"}],
|
|
|
|
"no-script-url": [1],
|
2015-07-20 22:29:10 +02:00
|
|
|
"no-shadow": [2, {"hoist": "functions"}],
|
2015-04-28 06:12:31 +02:00
|
|
|
"quotes": [
|
|
|
|
1,
|
|
|
|
"single"
|
|
|
|
],
|
|
|
|
"linebreak-style": [
|
|
|
|
2,
|
|
|
|
"unix"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
2,
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"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
|
|
|
}
|