-
Notifications
You must be signed in to change notification settings - Fork 20
/
.eslintrc
66 lines (66 loc) · 1.94 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
{
"extends": [
"@waiting/eslint-config"
],
"rules": {
"import/no-unresolved": 0,
"semi": "off",
"@typescript-eslint/brace-style": 0,
"@typescript-eslint/interface-name-prefix": [0, "error", "always"],
"@typescript-eslint/semi": [0, "error", "always"],
"array-bracket-newline": ["error", { "multiline": true }],
"padded-blocks": ["error", "never"],
"no-extra-parens": 0,
"import/no-cycle": 0,
"array-bracket-spacing": ["error", "never"],
"import/max-dependencies": ["error", {"max": 20}],
"no-negated-condition": 0,
"@typescript-eslint/indent": [ "error", 2, { "FunctionDeclaration": { "arguments": 1 } }],
"@typescript-eslint/no-floating-promises": 0,
"@typescript-eslint/no-extra-parens": 0,
"@typescript-eslint/no-empty-interface": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/member-ordering": ["error", { "classes": ["public-static-field", "public-instance-method"] }],
"@typescript-eslint/unbound-method": [
"error",
{
"ignoreStatic": true
}
],
"@typescript-eslint/explicit-member-accessibility": [
2,
{
"accessibility": "no-public",
"overrides": {
"accessors": "no-public",
"constructors": "no-public",
"methods": "no-public",
"properties": "off",
"parameterProperties": "explicit",
},
},
],
"@typescript-eslint/member-delimiter-style": [
2,
{
"multiline": {
"delimiter": "comma",
"requireLast": true
},
"singleline": {
"delimiter": "comma",
"requireLast": true
},
"overrides": {
"interface": {
"multiline": {
"delimiter": "semi",
"requireLast": true
}
}
}
},
],
"brace-style": ["error", "1tbs", { "allowSingleLine": true }]
}
}