-
Notifications
You must be signed in to change notification settings - Fork 11
/
.eslintrc
41 lines (41 loc) · 1.04 KB
/
.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
{
"parser": "babel-eslint",
"plugins": ["jest", "promise", "import"],
"extends": ["airbnb-base", "plugin:jest/recommended"],
"settings": {
"import/resolver": {
"babel-plugin-root-import": {}
}
},
"rules": {
"arrow-body-style": 0,
"arrow-parens": 0,
"comma-dangle": 0,
"consistent-return": 0,
"dot-notation": 0,
"function-paren-newline": 0,
"import/extensions": [2, "ignorePackages"],
"import/prefer-default-export": 0,
"indent": 0,
"max-len": ["error", 110, 4, { "ignoreUrls": true }],
"new-cap": 0,
"newline-per-chained-call": 0,
"no-await-in-loop": 0,
"no-confusing-arrow": 0,
"no-console": 0,
"no-continue": 0,
"no-mixed-operators": 0,
"no-param-reassign": [2, { "props": false }],
"no-plusplus": 0,
"no-restricted-globals": 0,
"no-underscore-dangle": 0,
"no-unused-expressions": 0,
"no-unused-vars": [2, { "args": "none" }],
"object-curly-newline": 0,
"promise/no-native": 2
},
"env": {
"jest/globals": true,
"node": true
}
}