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