-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc.json
44 lines (44 loc) · 1 KB
/
.eslintrc.json
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
{
"parser": "babel-eslint",
"extends": [
"airbnb"
],
"globals": { "fetch": false },
"env": {
"browser": false,
"es6": true,
"jest": false
},
"settings": {
"import/resolver": {
"babel-module": {}
}
},
"plugins": [],
"rules": {
"class-methods-use-this": 0,
"eol-last": 0,
"max-len": [1, 80, 2],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true,
"optionalDependencies": false,
"peerDependencies": false
}
],
"import/prefer-default-export": 0,
"no-trailing-spaces": ["error", { "skipBlankLines": true }],
"no-underscore-dangle": 0,
"no-param-reassign": 0,
"no-debugger": 1,
"indent": [
"error",
2
],
"arrow-parens": [0],
"function-paren-newline": [0],
"implicit-arrow-linebreak": "off",
"no-use-before-define": ["error", { "functions": false }]
}
}