-
Notifications
You must be signed in to change notification settings - Fork 9
/
.eslintrc
36 lines (36 loc) · 861 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
{
"env": {
"browser": true
},
"extends": [
"eslint:all",
"standard",
"plugin:promise/recommended"
],
"plugins": ["react", "import", "promise", "node"],
"rules": {
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"array-element-newline": 0,
"sort-keys": 0,
"object-shorthand": 0,
"function-call-argument-newline": 0,
"no-empty-function": ["error", { "allow": ["arrowFunctions"] }],
"max-params": ["error", { "max": 5 }],
"max-statements": 0,
"max-lines-per-function": 0,
"id-length": 0,
"no-ternary": 0,
"multiline-ternary": 0,
"jsx-quotes": 0,
"newline-per-chained-call": 0,
"no-magic-numbers": 0,
"max-lines": 0,
"no-undefined": 0,
"no-plusplus": 0,
"no-warning-comments": 0
},
"parserOptions": {
"parser": "babel-eslint"
}
}