-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
35 lines (35 loc) · 820 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
{
"extends": ["standard", "standard-react"],
"parser": "babel-eslint",
"env": {
"browser": true,
"mocha": true
},
"plugins": [
"react"
],
"rules": {
"valid-jsdoc": 0,
"eol-last": 1,
"indent": 1,
"semi": 0,
"strict": [1, "global"],
"comma-dangle": [1, "always-multiline"],
"array-bracket-spacing": [1, "never"],
"object-curly-spacing": [1, "always"],
"space-infix-ops": 1,
"space-unary-ops": 0,
"space-in-parens": 0,
"space-before-function-paren": 1,
"padded-blocks": 1,
"no-console": 0,
"no-unused-vars": 1,
"no-floating-decimal": 1,
"no-multiple-empty-lines": [1, { max: 2 }],
"jsx-quotes": 0,
"react/prop-types": 1,
"react/self-closing-comp": 1,
'react/jsx-uses-react': 2,
'react/jsx-uses-vars': 2
}
}