-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
36 lines (36 loc) · 910 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
{
"parser": "babel-eslint",
"plugins": ["jest", "prettier"],
"extends": ["airbnb-base", "plugin:prettier/recommended"],
"globals": {
"document": true,
"window": true,
"jQuery": true,
"$": true,
"localStorage": true,
"fetch": true
},
"root": true,
"rules": {
"prettier/prettier": ["error"],
"indent": ["error", 2],
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
"jest/prefer-to-have-length": "warn",
"jest/valid-expect": "error",
"no-trailing-spaces": [2, { "skipBlankLines": true }],
"prefer-template": 0,
"import/prefer-default-export": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"import/extensions": 0,
"babel/object-curly-spacing": 0
},
"env": {
"es6": true,
"jest": true,
"browser": true,
"node": true
}
}