-
Notifications
You must be signed in to change notification settings - Fork 56
/
.eslintrc
42 lines (42 loc) · 1.06 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": {
"quotes": [
2,
"single"
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
],
"no-console": 0,
"max-len": [1, 160],
"quote-props": [1, "consistent-as-needed"],
"no-cond-assign": [2, "except-parens"],
"radix": 0,
"keyword-spacing": 0,
"one-var": 0,
"func-names": 0,
"padded-blocks": 0,
"computed-property-spacing": [2, "always"],
"space-infix-ops": 0,
"no-unused-vars": [1, {"vars": "local", "args": "none"}],
"space-before-function-paren": 2,
"space-in-parens": [2, "always"],
"key-spacing": [2, { "align": "colon", "beforeColon": true, "afterColon": true }],
"brace-style": [2, "allman", { "allowSingleLine": true }]
},
"env": {
"es6": true,
"browser": true,
"node": true
},
"globals": {
"describe": true,
"it": true
},
"extends": "airbnb/base"
}