-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
41 lines (41 loc) · 878 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
36
37
38
39
40
41
{
"extends": "eslint:recommended",
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"classes": true,
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"plugins": [
"react"
],
"env": {
"mocha": true,
"node": true,
"es6": true
},
"rules": {
"quotes": [2, "single"],
"eqeqeq": 2,
"curly": 2,
"no-multiple-empty-lines": [2, {"max": 1}],
"no-console": 2,
"camelcase": 2,
"consistent-this": [2, "self"],
"brace-style": [2, "stroustrup"],
"eol-last": 2,
"comma-spacing": 2,
"space-before-function-paren": [2, "never"],
"indent": [2, 2],
"no-shadow": 2,
"space-before-blocks": 2,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"new-cap": 0,
"semi": [2, "always"],
"no-warning-comments": [2]
}
}