-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
60 lines (59 loc) · 1.2 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
{
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended",
"prettier",
"prettier/react"
],
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/prop-types": 0,
"react/jsx-no-bind":0,
"jsx-a11y/label-has-for": 0,
"no-console": 1,
"import/no-unresolved": [2, {"commonjs": true, "amd": true}],
"import/named": 2,
"import/namespace": 2,
"import/default": 2,
"import/export": 2,
"getter-return":0,
"for-direction":"off",
"arrow-parens": 0,
"prefer-const": 1,
"no-var":"error"
},
"settings": {
"react": {
"pragma": "React",
"version": "detect"
},
"import/resolver": {
"node": {
"extensions": [
".js",
".jsx",
".tsx",
".ts"
]
}
}
},
"plugins": ["react", "import", "jsx-a11y"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"arrowFunctions":true,
"classes":true
}
},
"env": {
"es6": true,
"browser": true,
"node": true
}
}