-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
executable file
·71 lines (71 loc) · 1.24 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"parser": "@typescript-eslint/parser",
"env": {
"browser": true,
"es6": true
},
"settings": {
"ecmascript": 6,
"jsx": true,
"import/parsers": {
"@typescript-eslint/parser": [
".ts",
".tsx"
]
}
},
"parserOptions": {
"ecmaVersion": 2017,
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"experimentalDecorators": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": ["react"],
"extends": "airbnb",
"rules": {
"react/jsx-filename-extension": [
1,
{
"extensions": [
".ts",
".tsx"
]
}
],
"function-paren-newline": 0,
"jsx-a11y/anchor-is-valid": 0,
"func-names": 0,
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
"no-shadow": 0,
"class-methods-use-this": 0,
"semi": [2, "never"],
"comma-dangle": ["error", "always-multiline"],
"import/prefer-default-export": 0,
"no-console": 0,
"camelcase": 0,
"no-case-declarations": 0,
"no-restricted-syntax": 0,
"react-hooks/exhaustive-deps": 0
},
"overrides": [
{
"files": [
"**/*.ts",
"**/*.tsx"
],
"rules": {
"no-unused-vars": [
"off"
],
"no-undef": [
"off"
],
"import/no-unresolved": 0,
"import/extensions": 0
}
}
]
}