-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
65 lines (65 loc) · 1.67 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
{
"env": {
"browser": true,
"es2020": true
},
"extends": ["plugin:react/recommended", "airbnb"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 11,
"sourceType": "module",
"indent": 2
},
"plugins": ["react", "@typescript-eslint"],
"rules": {
"no-trailing-spaces": "off",
"no-irregular-whitespace": "off",
"import/prefer-default-export": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
],
//"linebreak-style": ["error", "windows"],
"linebreak-style": 0,
"react/jsx-filename-extension": "off",
"comma-dangle": "off",
"arrow-body-style": "off",
"no-unused-vars": "warn",
"jsx-a11y/click-events-have-key-events": "off",
"sx-a11y/no-static-element-interactions": "off",
"jsx-a11y/no-static-element-interactions": "off",
"react/no-array-index-key": "off",
"react/button-has-type": "off",
"spaced-comment": "off",
"react/prop-types": "off",
"react/jsx-one-expression-per-line": "off",
"react/jsx-closing-tag-location": "off",
"operator-linebreak": "off",
"no-nested-ternary": "off",
"react/jsx-props-no-spreading": "off",
"radix": "off",
"object-curly-newline": "off",
"indent": "off",
"react/jsx-wrap-multilines": "off",
"max-len": "warn",
"semi": "off",
"lines-between-class-members":"off",
"jsx-a11y/alt-text":"off"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}