-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
44 lines (44 loc) · 1.17 KB
/
.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
37
38
39
40
41
42
43
44
{
"plugins": ["prettier"],
"extends": ["airbnb", "prettier"],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true
}
},
"rules": {
"no-param-reassign": ["error", { "props": true, "ignorePropertyModificationsFor": ["acc", "req", "res"] }],
"no-unused-expressions": "off",
"no-plusplus": "off",
"class-methods-use-this": "off",
"semi": ["error"],
"no-restricted-syntax": ["error", "LabeledStatement", "WithStatement"],
"max-len": ["warn", 160, { "ignoreStrings": true }],
"comma-dangle": ["error", "never"],
"import/no-named-as-default-member": "off",
"no-prototype-builtins": "off",
"no-console": "off",
"arrow-body-style": "off",
"no-use-before-define": "off",
"global-require": "off",
"object-shorthand": "off",
"func-names": "off",
"new-cap": "off",
"radix": ["error", "as-needed"]
},
"globals": {
"Promise": true,
"assert": true,
"chai": true,
"it": true,
"xit": true,
"expect": true,
"describe": true,
"afterEach": true,
"beforeEach": true,
"after": true,
"before": true
}
}