-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc
134 lines (134 loc) · 4.83 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"extends": "@sapphire",
"rules": {
"@typescript-eslint/class-literal-property-style": "off",
"@typescript-eslint/dot-notation": [
"error",
{
"allowPrivateClassPropertyAccess": true,
"allowProtectedClassPropertyAccess": true
}
],
"@typescript-eslint/member-ordering": [
"error",
{
"default": [
"signature",
["public-instance-field", "public-decorated-field"],
"public-abstract-field",
["protected-instance-field", "protected-decorated-field"],
"protected-abstract-field",
["private-instance-field", "private-decorated-field"],
"private-abstract-field",
["instance-field", "decorated-field"],
"abstract-field",
"public-static-field",
"protected-static-field",
"private-static-field",
"static-field",
"public-constructor",
"protected-constructor",
"private-constructor",
"constructor",
["public-instance-get", "public-decorated-get"],
["public-instance-set", "public-decorated-set"],
"public-abstract-get",
"public-abstract-set",
["protected-instance-get", "protected-decorated-get"],
["protected-instance-set", "protected-decorated-set"],
"protected-abstract-get",
"protected-abstract-set",
["private-instance-get", "private-decorated-get"],
["private-instance-set", "private-decorated-set"],
"private-abstract-get",
"private-abstract-set",
["instance-get", "decorated-get"],
["instance-set", "decorated-set"],
"abstract-get",
"abstract-set",
["public-instance-method", "public-decorated-method"],
"public-abstract-method",
["protected-instance-method", "protected-decorated-method"],
"protected-abstract-method",
["private-instance-method", "private-decorated-method"],
"private-abstract-method",
["instance-method", "decorated-method"],
"abstract-method",
"public-static-get",
"public-static-set",
"protected-static-get",
"protected-static-set",
"private-static-get",
"private-static-set",
"static-get",
"static-set",
"public-static-method",
"protected-static-method",
"private-static-method",
"static-method"
]
}
],
"@typescript-eslint/no-namespace": "off",
"curly": ["error", "multi-line"],
"no-lone-blocks": "error",
"no-tabs": "error",
"padding-line-between-statements": [
"error",
{
"blankLine": "always",
"prev": ["const", "let", "var"],
"next": "*"
},
{
"blankLine": "always",
"prev": "*",
"next": ["const", "let", "var"]
},
{
"blankLine": "never",
"prev": ["const", "let", "var"],
"next": ["const", "let", "var"]
},
{
"blankLine": "never",
"prev": "case",
"next": "case"
},
{
"blankLine": "never",
"prev": "for",
"next": "for"
},
{
"blankLine": "never",
"prev": "if",
"next": "if"
},
{
"blankLine": "always",
"prev": [
"block-like",
"break",
"case",
"class",
"continue",
"default",
"multiline-const",
"multiline-expression",
"multiline-let",
"multiline-var",
"return",
"switch",
"try"
],
"next": "*"
},
{
"blankLine": "always",
"prev": "*",
"next": ["case", "default"]
}
]
}
}