-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.eslintrc.json
More file actions
37 lines (37 loc) · 894 Bytes
/
.eslintrc.json
File metadata and controls
37 lines (37 loc) · 894 Bytes
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
{
"parser": "babel-eslint",
"extends": ["eslint:recommended", "plugin:react/recommended"],
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": false,
"jest": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"rules": {
"quotes": ["error", "single"],
"strict": 0,
"react/prop-types": "error",
"react/jsx-no-duplicate-props": "error",
"react/no-deprecated": "warn",
"react/display-name": "error",
"no-extra-semi": "error",
"no-dupe-keys": "error",
"no-const-assign": "error",
"no-this-before-super": "error",
"no-undef": "error",
"no-unreachable": "error",
"no-unused-vars": "error",
"jsx-uses-vars": true,
"constructor-super": "error",
"valid-typeof": "error",
"no-case-declarations": "error",
"no-console": "error"
}
}