-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
41 lines (41 loc) · 1.27 KB
/
.eslintrc.js
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
module.exports = {
extends: ["airbnb-base"],
env: {
browser: false,
node: true,
mocha: true,
es6: true,
},
parserOptions: {
ecmaVersion: 6,
},
rules: {
"max-len": "off",
"no-underscore-dangle": "off",
"strict": "off",
"padded-blocks": "off",
"global-require": "off",
"consistent-return": "off",
"guard-for-in": "off",
"no-restricted-syntax": "off",
"curly": ["error", "multi-line"],
"no-confusing-arrow": "off",
"indent": ["error", 4, { "SwitchCase": 1 }],
"quotes": ["error", "double", { "avoidEscape": true }],
"arrow-body-style": ["off", "as-needed", { "requireReturnForObjectLiteral": true }],
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never",
}],
"prefer-destructuring": "off",
"implicit-arrow-linebreak": "off",
"function-paren-newline": "off",
"camelcase": "off",
"object-curly-newline": "off",
"import/order": "off",
"import/no-extraneous-dependencies": "off",
},
};