-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc
More file actions
33 lines (33 loc) · 809 Bytes
/
.eslintrc
File metadata and controls
33 lines (33 loc) · 809 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
{
"parser": "babel-eslint",
"plugins": ["react"],
"env": {
"node": true
},
"ecmaFeatures": {
"jsx": true
},
"extends": "eslint:recommended",
"rules": {
"react/jsx-max-props-per-line": [1, {"maximum": 3}],
"react/jsx-no-duplicate-props": 1,
"react/jsx-no-undef": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/no-danger": 1,
"react/no-did-mount-set-state": 1,
"react/no-did-update-set-state": 1,
"react/no-direct-mutation-state": 1,
"react/prop-types": 1,
"react/react-in-jsx-scope": 1,
"react/self-closing-comp": 1,
"react/sort-comp": 1,
"strict": 0,
"no-unreachable": 1,
"no-console": 0,
"comma-dangle": 1,
"jsx-quotes": [1, "prefer-single"],
semi: [2, "always"],
no-extra-semi: 2,
}
}