This repository has been archived by the owner on Jul 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
.eslintrc.json
51 lines (51 loc) · 1.32 KB
/
.eslintrc.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"extends": "airbnb-base",
"env": {
"es6": true,
"node": true,
"mocha": true
},
"parserOptions": {
"ecmaVersion": 6
},
"plugins": [
"promise"
],
"rules": {
"function-paren-newline": "off",
"arrow-parens": ["error", "as-needed"],
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "never",
"exports": "never",
"functions": "never"
}],
"new-cap": "off",
"object-shorthand": "off",
"object-curly-newline": "off",
"camelcase": "off",
"import/order": "off",
"no-console": "off",
"no-multi-str": "off",
"no-plusplus": "off",
"no-use-before-define": "off",
"no-mixed-operators": [ "error", { "allowSamePrecedence": true }],
"array-bracket-spacing": "off",
"global-require": "off",
"no-confusing-arrow": "off",
"prefer-promise-reject-errors": "off",
"prefer-destructuring": "off",
"implicit-arrow-linebreak": "off",
"indent": "off",
"promise/always-return": "error",
"promise/no-return-wrap": "error",
"promise/param-names": "error",
"promise/catch-or-return": "error",
"promise/no-native": "off",
"promise/no-return-wrap": "off",
"prefer-object-spread": "off",
"no-multiple-empty-lines": "off",
"no-redeclare": "off"
}
}