-
Notifications
You must be signed in to change notification settings - Fork 69
/
.eslintrc
44 lines (44 loc) · 973 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
42
43
44
{
"root": true,
"plugins": [
"prettier",
"react",
"@typescript-eslint",
"unused-imports"
],
"extends": [
"plugin:react-hooks/recommended",
"plugin:react/recommended",
"plugin:cypress/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"env": {
"browser": true
},
"settings": {
"react": {
"version": "16.2"
}
},
"globals": {
"jest": true,
"expect": true,
"it": true,
"describe": true,
"beforeEach": true,
"window": true
},
"rules": {
"react/jsx-curly-newline": 0,
"prettier/prettier": "error",
"no-unused-vars": "off",
"react-hooks/exhaustive-deps": "error",
"@typescript-eslint/no-unused-vars": "off",
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"error",
{ "vars": "all", "varsIgnorePattern": "^_", "args": "after-used", "argsIgnorePattern": "^_" }
]
}
}