forked from react-bootstrap/react-overlays
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
32 lines (32 loc) · 839 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
{
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"env": {
"browser": true,
"node": true
},
"parser": "babel-eslint",
"plugins": [
"react"
],
"rules": {
"comma-spacing": "error",
"comma-style": ["error", "last"],
"no-unused-vars": ["error", { "vars": "all", "args": "none" }],
"no-var": "error",
"one-var": ["error", { "initialized": "never" }],
"quotes": ["error", "single", "avoid-escape"],
"space-infix-ops": "error",
"strict": ["error", "never"],
"react/no-find-dom-node": "off",
"react/jsx-boolean-value": ["error", "never"],
"react/jsx-wrap-multilines": "error",
"react/no-unescaped-entities": "off",
"react/prop-types": ["error", {
"ignore": ["children", "className"]
}],
"react/self-closing-comp": "error"
}
}