-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc.json
43 lines (43 loc) · 1.05 KB
/
.eslintrc.json
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
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true,
"jasmine": true
},
"plugins": [
"react"
],
"extends": [
"react-app",
"eslint:recommended",
"plugin:react/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": false,
"codeFrame": false,
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"require-await": "error",
"no-const-assign": "warn",
"no-this-before-super": "warn",
"no-undef": "warn",
"no-unreachable": "warn",
"no-unused-vars": "warn",
"constructor-super": "warn",
"valid-typeof": "warn",
"no-func-assign": "warn",
"no-inner-declarations": "warn",
"getter-return": "warn",
"jsx-a11y/anchor-has-content": "off",
"react/prop-types": 0
}
}