-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.eslintrc
64 lines (64 loc) · 1.75 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"root": true,
"parser": "@typescript-eslint/parser",
"extends": ["airbnb", "prettier", "prettier/react"],
"plugins": ["prettier", "@typescript-eslint"],
"rules": {
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", ".jsx", ".tsx", ".ts"]
}
],
"no-unused-vars": 1,
"react/prop-types": 0,
"react/no-redundant-should-component-update": 0,
"no-underscore-dangle": 0,
"no-param-reassign": 0,
"import/imports-first": ["error", "absolute-first"],
"import/newline-after-import": "error",
"react/jsx-props-no-spreading": 0,
"jsx-a11y/anchor-is-valid": 0,
"react/jsx-no-bind": 0,
"import/prefer-default-export": 0,
"no-plusplus": 0,
"react/sort-comp": 0,
"react/no-unused-state": 0,
"class-methods-use-this": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/no-static-element-interactions": 0,
"react/destructuring-assignment": 0,
"no-use-before-define": 0,
"@typescript-eslint/no-use-before-define": 2,
"no-unused-expressions": 0,
"no-continue": 0
},
"globals": {
"window": true,
"document": true,
"localStorage": true,
"FormData": true,
"FileReader": true,
"Blob": true,
"navigator": true
},
"settings": {
"import/resolver": {
"alias": {
"map": [
["@", "./src/"],
["@src", "./src/"],
["@config", "./config/"],
["@utils", "./src/utils/"],
["@actions", "./src/redux/actions/"],
["@pages", "./src/pages/"],
["@components", "./src/components/"],
["@store", "./src/store/"],
["@api", "./src/api/"],
["@actions", "./src/redux/actions/"],
["@redux", "./src/redux/"]
]
}
}
}
}