-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
49 lines (49 loc) · 1.08 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
{
"extends": [
"react-app",
"react-app/jest",
"plugin:jsx-a11y/recommended"
],
"plugins": [
"react",
"jsx-a11y"
],
"ignorePatterns": [
"node_modules/",
"build/",
"src/serviceWorker.ts",
"**/*.d.ts",
"**/*.test.tsx",
"**/*.test.ts",
"**/*.spec.tsx",
"**/*.spec.ts",
"**/*.test.jsx",
"**/*.test.js",
"**/*.spec.jsx",
"**/*.spec.js"
],
"rules": {
"no-unused-vars": "off" ,
"react/react-in-jsx-scope": 0,
"react/jsx-uses-react": 0,
"react/jsx-key": 1,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/anchor-is-valid": 0,
"jsx-a11y/no-noninteractive-tabindex": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/no-noninteractive-element-to-interactive-role": 0,
"sort-keys": [
"off",
"asc",
{
"caseSensitive": true,
"natural": false,
"minKeys": 2
}
],
"space-in-parens": "warn",
"no-unneeded-comma": "off",
"no-noninteractive-element-to-interactive-role":"off"
// "space-before-function-paren": "error"
}
}