-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patheslintrc.json
42 lines (41 loc) · 997 Bytes
/
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
{
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "airbnb", "prettier"],
"plugins": ["@typescript-eslint"],
"env": {
"node": true,
"browser": true,
"jasmine": true,
"jest": true,
"es6": true
},
"rules": {
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "typeLike",
"format": ["PascalCase", "UPPER_CASE"]
}
],
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"@typescript-eslint/ban-ts-ignore": 0,
"no-unused-expressions": "off",
"@typescript-eslint/no-unused-expressions": "error",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
"args": "all",
"argsIgnorePattern": "^__",
"varsIgnorePattern": "^__|React"
}
]
},
"settings": {
"react": {
"pragma": "React",
"version": "detect"
}
},
"parser": "@typescript-eslint/parser"
}