-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
93 lines (93 loc) · 1.79 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"extends": [
"airbnb-base",
"plugin:chai-friendly/recommended",
"plugin:mocha/recommended"
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "script"
},
"env": {
"es6": true,
"mocha": true,
"node": true,
"browser": false
},
"rules": {
"import/extensions": 0,
"import/no-cycle": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 0,
"mocha/no-setup-in-describe": 0,
"mocha/no-exports": 0,
"mocha/no-skipped-tests": 0,
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "ignore"
}
],
"quotes": [
2,
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"no-unneeded-ternary": 0,
"func-names": 0,
"prefer-rest-params": 0,
"prefer-arrow-callback": 0,
"arrow-body-style": 0,
"space-before-function-paren": [
2,
"never"
],
"newline-per-chained-call": [
"error",
{
"ignoreChainWithDepth": 2
}
],
"object-curly-spacing": [
2,
"never"
],
"object-shorthand": 0,
"no-param-reassign": 0,
"no-underscore-dangle": 0,
"quote-props": [
"error",
"consistent-as-needed"
],
"no-console": 0,
"max-len": [
2,
{
"code": 120
}
],
"class-methods-use-this": 0,
"import/no-dynamic-require": 0,
"prefer-destructuring": 0,
"no-cond-assign": [
"error",
"except-parens"
],
"strict": [
"error",
"global"
],
"max-classes-per-file": [
"error",
5
],
"prefer-object-spread": 0
}
}