-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
35 lines (35 loc) · 1.17 KB
/
.eslintrc.json
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
{
"rules": {
"brace-style": [ 2, "1tbs", { "allowSingleLine": true } ],
"block-spacing": [ 2, "always" ],
"comma-style": [ 2, "last" ],
"eol-last": [ 2, "unix" ],
"indent": [ 2, "tab" ],
"key-spacing": [ 2, { "beforeColon": false, "afterColon": true } ],
"linebreak-style": [ 2, "unix" ],
"new-cap": [ 2 ],
"new-parens": [ 2 ],
"no-console": [ 0 ],
"no-trailing-spaces": [ 2 ],
"object-curly-spacing": [ 2, "always" ],
"quotes": [ 2, "double" ],
"semi": [ 2, "always" ],
"semi-spacing": [ 2, { "before": false, "after": true } ],
"space-after-keywords": [ 2, "always" ],
"space-before-blocks": [ 2, "always" ],
"space-before-function-paren": [ 2, "never" ],
"space-before-keywords": [ 2, "always" ],
"space-in-parens": [ 2, "never" ],
"space-infix-ops": [ 2 ],
"space-return-throw-case": [ 2 ],
"space-unary-ops": [2, { "words": true, "nonwords": false }]
},
"env": {
"browser": true,
"commonjs": true
},
"extends": "eslint:recommended",
"plugins": [
"json"
]
}