forked from chanzuckerberg/czid-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
35 lines (35 loc) · 812 Bytes
/
.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
{
"root": true,
"env": {
"browser": true,
"node": true,
"es6": true,
"mocha": true
},
"parser": "babel-eslint",
"extends": [
"standard",
"eslint:recommended",
"plugin:react/recommended"
],
"plugins": [
"react"
],
"rules": {
"camelcase": "warn",
"no-unreachable": "warn",
"react/boolean-prop-naming": "warn",
"standard/object-curly-even-spacing": "warn",
"standard/computed-property-even-spacing": "warn",
"react/no-deprecated": "warn",
"react/no-unescaped-entities": "warn",
"react/no-find-dom-node": "warn",
"react/no-direct-mutation-state": "warn",
"react/jsx-key": "warn",
"react/no-string-refs": "warn",
"react/prop-types": "warn",
},
"settings": {
"propWrapperFunctions": [ "forbidExtraProps" ]
}
}