-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
57 lines (57 loc) · 1.27 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
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"extends": [
"eslint:recommended",
"plugin:react-hooks/recommended",
"airbnb",
"plugin:react/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings"
],
"parser": "@typescript-eslint/parser",
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
},
"react": {
"version": "latest"
}
},
"rules": {
"react/jsx-props-no-spreading": "off",
"class-methods-use-this": "off",
"react/display-name": "off",
"jsx-a11y/media-has-caption": "off",
"import/no-extraneous-dependencies": "off",
"max-len": ["warn", {
"ignoreStrings": true,
"ignoreRegExpLiterals": true,
"ignoreTemplateLiterals": true,
"code": 120
}],
"react/require-default-props": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
],
"react/jsx-filename-extension": "off"
}
}