-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc
60 lines (51 loc) · 1.14 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
49
50
51
52
53
54
55
56
57
58
59
60
{
"root": true,
"parser": "babel-eslint",
"plugins": [
"babel",
"import"
],
"env": {
"browser": true,
"commonjs": true,
"jasmine": true,
"node": false
},
globals: {
__DEV__: false,
process: false
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
},
},
"settings": {
"import/extensions": [ ".js" ],
"import/resolver": "node"
},
"extends": [ "airbnb" ],
"rules": {
"no-underscore-dangle": 0,
"no-unused-vars": [2, { "vars": "all", "args": "after-used" }],
"quotes": [2, "single"],
"strict": [2, "never"],
"no-unexpected-multiline": 2,
"no-multi-spaces": [2, {
"exceptions": { "VariableDeclarator": true }
}],
"import/default": 1,
"import/export": 1,
"import/named": 1,
"import/namespace": [1, { "allowComputed": true }],
"import/no-amd": 1,
"import/no-duplicates": 1,
"import/no-extraneous-dependencies": 1,
"import/no-named-as-default": 1,
"import/no-named-as-default-member": 1,
"import/no-unresolved": 2
}
}