-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
53 lines (51 loc) · 1.13 KB
/
.eslintrc.json
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
45
46
47
48
49
50
51
52
53
{
"extends": [
"react-app"
],
"plugins": ["react", "@typescript-eslint"],
"env": {
"browser": true,
"jasmine": true,
"jest": true,
"es6": true
},
"rules": {
"max-lines": [
"error",
{
"max": 350,
"skipBlankLines": true,
"skipComments": true
}
],
"@typescript-eslint/explicit-member-accessibility": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/interface-name-prefix": 0,
"@typescript-eslint/no-empty-interface": 0,
"react/prop-types": 0,
"react-hooks/rules-of-hooks": 0,
"react-hooks/exhaustive-deps": 0,
"jsx-a11y/alt-text": 0,
"no-mixed-operators": 0,
"no-console": 2,
"indent": "off",
"@typescript-eslint/indent": ["error", 2]
},
"settings": {
"react": {
"pragma": "React",
"version": "detect"
}
},
"parser": "@typescript-eslint/parser",
"overrides": [
{
"files": ["./src/serviceWorker.ts"],
"rules": {
"no-console": 0,
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/camelcase": 0
}
}
]
}