-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc
43 lines (43 loc) · 851 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
42
43
{
"extends": [
"airbnb",
"plugin:ava/recommended"
],
"parser": "babel-eslint",
"plugins": [
"ava"
],
"env": {
"browser": true,
"node": true,
"mocha": true,
"es6": true
},
"ecmaFeatures": {
"jsx": true,
"es6": true,
"classes": true
},
"rules": {
"no-console": ["error", { "allow": ["error"] }],
"comma-dangle": 0,
"no-underscore-dangle": 0,
"no-else-return": 0,
"no-unneeded-ternary": 0,
"max-len": [1, 180, 4],
"quotes": 0,
"prefer-const": 1,
"arrow-body-style": [0],
"arrow-spacing": ["error", { "before": true, "after": true }],
"react/jsx-no-bind": [0],
"react/jsx-boolean-value": 0,
"no-warning-comments": 0
},
"settings": {
"import/resolver": {
"webpack": {
"config": "webpack.config.dev.js"
}
}
}
}