-
Notifications
You must be signed in to change notification settings - Fork 12
/
.eslintrc
48 lines (48 loc) · 1.28 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
43
44
45
46
47
48
{
"root": true,
"extends": "airbnb/base",
"env": {
"browser": true
},
"parser": "babel-eslint",
"ecmaVersion": 6,
"rules": {
"array-bracket-spacing": 0,
"arrow-body-style": 0,
"comma-dangle": 0, // not sure why airbnb turned this on. gross!
"computed-property-spacing": 0,
"consistent-return": 0,
"global-require": 0,
"id-length": [2, {"min": 2, "max": 30, "properties": "never", "exceptions": ["_", "t", "a", "b"]}],
"import/default": 0,
"import/named": 0,
"import/namespace": 0,
"import/no-duplicates": 0,
"import/no-named-as-default": 2,
"import/no-unresolved": 0,
"import/extensions": 0,
"indent": [2, 2, {"SwitchCase": 1}],
"max-len": [0, 120, 2],
"no-alert": 0,
"no-console": 0,
"no-param-reassign": [2, {"props": false}],
"no-use-before-define": 0, // disabled until https://github.com/babel/babel-eslint/issues/249 is fixed
"no-underscore-dangle": 0,
"object-curly-spacing": 0,
"object-shorthand": 0,
"prefer-arrow-callback": 0,
"prefer-template": 0,
"quote-props": [2, "consistent"]
},
"plugins": [
"import"
],
"settings": {
"import/parser": "babel-eslint",
"import/resolve": {
"moduleDirectory": ["node_modules", "src"]
}
},
"globals": {
}
}