-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
.eslintrc
34 lines (34 loc) · 861 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
{
"extends": ["airbnb-base", "plugin:prettier/recommended"],
"parser": "babel-eslint",
"env": {
"node": true,
"jest/globals": true
},
"plugins": ["jest"],
"settings": {
"import/resolver": {
"node": {
"paths": ["./"]
},
"babel-module": {}
}
},
"rules": {
"prettier/prettier": "error",
"no-param-reassign": 0,
"no-use-before-define": 0,
"no-console": 0,
"no-shadow": 0,
"camelcase": 0,
"comma-dangle": ["error", "always-multiline"],
"class-methods-use-this": 0,
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": 0,
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error",
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"import/prefer-default-export": 0
}
}