-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
32 lines (31 loc) · 905 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
{
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true,
"es6": true
},
"extends": [
"standard-react",
"plugin:eslint-plugin-import/warnings",
"plugin:eslint-plugin-import/errors"
],
"plugins": [
"react"
],
"rules": {
"comma-dangle": 0,
"no-console": 0,
"object-curly-spacing": 0,
"semi": [2, "always"],
"semi-spacing": [2, { "before": false, "after": true }],
"no-unused-vars": [2, { "vars": "local", "args": "after-used", "varsIgnorePattern": "React|FB" }],
"no-use-before-define": [2, "nofunc"],
"no-spaced-func": 2,
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
"space-before-function-paren": [2, "never"],
"array-bracket-spacing": 0,
"indent": 0,
"react/jsx-indent": 0
}
}