-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
42 lines (42 loc) · 1.35 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"rules": {
"camelcase": [0, {"properties": "always"}],
"comma-spacing": [2, {"before": false, "after": true}],
"dot-notation": [2, {"allowKeywords": true}],
"curly": [2, "all"],
"indent": [2, 4],
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
"new-cap": [0, {"newIsCap": true, "capIsNew": true}],
"no-alert": [0],
"no-eval": [2],
"no-extend-native": [2, {"exceptions": ["Date", "String"]}],
"no-multi-spaces": [2],
"no-octal-escape": [2],
"no-underscore-dangle": [2],
"no-unused-vars": [2, {"vars": "local", "args": "none"}],
"no-script-url": [2],
"no-shadow": [2, {"hoist": "functions"}],
"quotes": [0, "single"],
"linebreak-style": [2, "unix"],
"semi": [2, "always"],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, {"anonymous": "never", "named": "never"}],
"space-infix-ops": [2, {"int32Hint": false}],
"strict": [1, "function"]
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {"impliedStrict": true}
},
"env": {
"browser": true,
"jquery": true,
"node": true,
"es6": true
},
"globals": {
"$": true,
"django": false
}
}