-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
80 lines (80 loc) · 1.97 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"env": {
"browser": true,
"es6": true
},
"extends": [
"airbnb-base",
"prettier/react",
"react-app",
"plugin:prettier/recommended",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended"
],
"plugins": [
"prettier",
"react",
"jsx-a11y"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx"]
}
}
},
"rules": {
"import/no-extraneous-dependencies": "off",
"import/extensions": "off",
"react/jsx-filename-extension": [
0,
{
"extensions": [
".js",
".jsx"
]
}
],
"semi": "off",
"prefer-promise-reject-errors": "off",
"no-shadow": "warn",
"arrow-parens": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-use-before-define": "off",
"no-restricted-syntax":"off",
"no-await-in-loop":"off",
"no-async-promise-executor": "off",
"no-underscore-dangle": "off",
"no-console": "warn",
"react/display-name": "off",
"import/prefer-default-export": "off",
"class-methods-use-this": "off",
"no-unused-vars": "warn",
"implicit-arrow-linebreak": "off",
"no-param-reassign": "warn",
"max-len":"warn",
"default-case": "warn",
"consistent-return": "off",
"prefer-const": "warn",
"no-use-before-define": "off",
"no-return-await": "warn",
"react/prop-types": "off",
"no-case-declarations":"warn",
"guard-for-in":"off",
"jsx-a11y/alt-text": "off",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/media-has-caption": "off",
"jsx-a11y/label-has-associated-control": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off"
}
}