-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (41 loc) · 909 Bytes
/
.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
{
"extends": [
"airbnb-base",
"plugin:import/errors",
"plugin:import/warnings"
],
"ecmaFeatures": {
"modules": true
},
"env": {
"shared-node-browser": true,
"es6": true
},
"parser": "babel-eslint",
"rules": {
"comma-dangle": [2, "always-multiline"],
"id-length": [2, {
"min": 3,
"max": 30,
"properties": "never",
"exceptions": ["t", "at", "id"]
}],
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*.spec.js", "**/mock.js"]}],
"import/no-named-as-default": 2,
"import/default": 0,
"no-console": 1,
"no-alert": 1,
"no-trailing-spaces": 2,
"object-curly-spacing": [ 2, "always" ],
"semi": [ 2, "never" ]
},
"plugins": [
"import"
],
"settings": {
"import/parser": "babel-eslint",
"import/resolve": {
"moduleDirectory": ["node_modules", "src"]
}
}
}