-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc
41 lines (41 loc) · 855 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
{
"root": true,
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"classes": true
}
},
"env": {
"es6": true,
"node": true,
"browser": false,
"jest": true
},
"plugins": [
"babel",
"import"
],
"extends": [
"eslint-config-airbnb-base"
],
"globals": {},
"rules": {
"no-console": ["warn"],
"no-useless-escape": 0,
"no-empty": 0,
"comma-dangle": 0,
"arrow-parens": ["error", "as-needed"],
"import/prefer-default-export": "off",
"import/no-cycle": "off",
"no-underscore-dangle": "off",
"no-bitwise": "off",
"no-mixed-operators": "off",
"max-len": ["error", { "code": 120}],
"class-methods-use-this": "off",
"no-plusplus": "off"
}
}