-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
39 lines (39 loc) · 924 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
{ "extends": ["eslint-config-airbnb"],
"env": {
"browser": true,
"node": true,
"mocha": true,
},
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
},
"rules": {
"class-methods-use-this": 0,
"import/no-unresolved": [2, {"commonjs": true}],
"import/no-named-as-default": 2,
"import/prefer-default-export": 0,
"no-underscore-dangle": 0,
"no-console": 1,
"no-alert": 2,
"no-undef": 0,
"no-param-reassign": [2, { "props": false }],
"arrow-body-style": [2, "as-needed"],
"no-confusing-arrow": [2, {"allowParens": true}],
"jsx-a11y/media-has-caption": 0,
},
"plugins": [
"react", "import",
],
"settings": {
"import/parser": "babel-eslint",
"import/resolve": {
"moduleDirectory": ["node_modules"],
},
"import/resolver": {
"webpack": {
"config": "webpack.config.js",
},
},
},
}