-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc
42 lines (42 loc) · 1.05 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
42
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"plugin:react/recommended",
"airbnb"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint"
],
"rules": {
"no-extra-semi":"warn",
"semi":"off",
"react/jsx-filename-extension": [1, { "extensions": [".tsx", ".ts"] }],
"react/react-in-jsx-scope": "off",
"max-len": ["error", {
"code": 90
}],
"react/jsx-props-no-spreading": 0,
"react/jsx-one-expression-per-line": 0,
"react/prop-types": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
"indent": ["error", 4],
"react/jsx-indent": ["error", 4],
"react/jsx-indent-props": ["error", 4],
"react/require-default-props": 0,
"no-console": 0,
}
}