-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
.eslintrc
41 lines (41 loc) · 1.03 KB
/
.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
{
"root": true,
"extends": [
"airbnb",
"airbnb-typescript"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"env": {
"node": true
},
"settings": {
"react": {
"version": "18"
}
},
"rules": {
"indent": ["error", 2],
"quotes": ["error", "double", { "avoidEscape": true }],
"semi": ["error", "always"],
"no-multi-spaces": ["error", { "ignoreEOLComments": true }],
"max-len": ["error", { "code": 150 }],
"no-alert": "off",
"no-console": "off",
"implicit-arrow-linebreak": ["off"],
"react/react-in-jsx-scope": ["off"],
"react/require-default-props": ["off"],
"react/function-component-definition": [
"error",
{
"namedComponents": "arrow-function",
"unnamedComponents": "arrow-function"
}
],
"jsx-a11y/no-autofocus": ["off"],
"jsx-a11y/click-events-have-key-events": ["off"],
"jsx-a11y/no-static-element-interactions": ["off"],
"@typescript-eslint/quotes": ["error", "double", { "avoidEscape": true }]
}
}