-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
35 lines (31 loc) · 984 Bytes
/
config.json
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-jsx"],
"plugins": ["promise", "react"],
"rules": {
"computed-property-spacing": ["error", "never"],
"promise/param-names": "error",
"max-len": ["error", {
"ignoreTemplateLiterals": false,
"ignoreComments": true
}],
"max-params": "error",
"max-statements": "error",
"max-statements-per-line": ["error", { "max": 1 }],
"max-nested-callbacks": ["error", { "max": 5 }],
"max-depth": ["error", { "max": 5 }],
"quote-props": ["error", "consistent-as-needed", { "keywords": true }],
"arrow-body-style": ["error", "as-needed", {
"requireReturnForObjectLiteral": false
}],
"arrow-parens": ["error", "always"],
"no-confusing-arrow": "error",
"no-extra-semi": "error",
"no-empty": ["error", { "allowEmptyCatch": true }],
"prefer-destructuring": ["error", {
"array": true,
"object": true
}, {
"enforceForRenamedProperties": true
}]
}
}