@eslinted/defaults 12.9.0 → 12.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ignores/global.js +0 -2
- package/dist/ignores/global.js.map +1 -1
- package/dist/index.d.ts +170 -1435
- package/dist/index.d.ts.map +1 -1
- package/dist/rules/index.d.ts +159 -817
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/scopes/css/enable.d.ts +2 -7
- package/dist/rules/scopes/css/enable.d.ts.map +1 -1
- package/dist/rules/scopes/css/enable.js +3 -19
- package/dist/rules/scopes/css/enable.js.map +1 -1
- package/dist/rules/scopes/css/index.d.ts +2 -7
- package/dist/rules/scopes/css/index.d.ts.map +1 -1
- package/dist/rules/scopes/enable.d.ts +35 -186
- package/dist/rules/scopes/enable.d.ts.map +1 -1
- package/dist/rules/scopes/enable.js +68 -329
- package/dist/rules/scopes/enable.js.map +1 -1
- package/dist/rules/scopes/enable.style.d.ts +42 -250
- package/dist/rules/scopes/enable.style.d.ts.map +1 -1
- package/dist/rules/scopes/enable.style.js +45 -388
- package/dist/rules/scopes/enable.style.js.map +1 -1
- package/dist/rules/scopes/html/index.d.ts +5 -18
- package/dist/rules/scopes/html/index.d.ts.map +1 -1
- package/dist/rules/scopes/html/plugin/index.d.ts +5 -18
- package/dist/rules/scopes/html/plugin/index.d.ts.map +1 -1
- package/dist/rules/scopes/html/plugin/index.js +7 -63
- package/dist/rules/scopes/html/plugin/index.js.map +1 -1
- package/dist/rules/scopes/index.d.ts +77 -436
- package/dist/rules/scopes/index.d.ts.map +1 -1
- package/dist/rules/scopes/json/enable.js +2 -7
- package/dist/rules/scopes/json/enable.js.map +1 -1
- package/dist/rules/scopes/json/index.d.ts +7 -20
- package/dist/rules/scopes/json/index.d.ts.map +1 -1
- package/dist/rules/scopes/json/plugin/extension.d.ts +7 -20
- package/dist/rules/scopes/json/plugin/extension.d.ts.map +1 -1
- package/dist/rules/scopes/json/plugin/extension.js +9 -48
- package/dist/rules/scopes/json/plugin/extension.js.map +1 -1
- package/dist/rules/scopes/json/plugin/index.js +2 -9
- package/dist/rules/scopes/json/plugin/index.js.map +1 -1
- package/dist/rules/scopes/jsonc/plugin/index.js +1 -2
- package/dist/rules/scopes/jsonc/plugin/index.js.map +1 -1
- package/dist/rules/scopes/jsoncc/plugin/index.js +1 -2
- package/dist/rules/scopes/jsoncc/plugin/index.js.map +1 -1
- package/dist/rules/scopes/mocha/chai/expect.js +1 -5
- package/dist/rules/scopes/mocha/chai/expect.js.map +1 -1
- package/dist/rules/scopes/mocha/chai/index.d.ts +0 -2
- package/dist/rules/scopes/mocha/chai/index.d.ts.map +1 -1
- package/dist/rules/scopes/mocha/chai/index.js +1 -4
- package/dist/rules/scopes/mocha/chai/index.js.map +1 -1
- package/dist/rules/scopes/mocha/disable.js +2 -3
- package/dist/rules/scopes/mocha/disable.js.map +1 -1
- package/dist/rules/scopes/mocha/enable.d.ts +3 -10
- package/dist/rules/scopes/mocha/enable.d.ts.map +1 -1
- package/dist/rules/scopes/mocha/enable.js +4 -31
- package/dist/rules/scopes/mocha/enable.js.map +1 -1
- package/dist/rules/scopes/mocha/index.d.ts +3 -12
- package/dist/rules/scopes/mocha/index.d.ts.map +1 -1
- package/dist/rules/scopes/svelte/disable.js +6 -9
- package/dist/rules/scopes/svelte/disable.js.map +1 -1
- package/dist/rules/scopes/svelte/enable.d.ts +19 -91
- package/dist/rules/scopes/svelte/enable.d.ts.map +1 -1
- package/dist/rules/scopes/svelte/enable.js +23 -179
- package/dist/rules/scopes/svelte/enable.js.map +1 -1
- package/dist/rules/scopes/svelte/extension/disable.js +2 -3
- package/dist/rules/scopes/svelte/extension/disable.js.map +1 -1
- package/dist/rules/scopes/svelte/extension/index.d.ts +2 -7
- package/dist/rules/scopes/svelte/extension/index.d.ts.map +1 -1
- package/dist/rules/scopes/svelte/extension/index.js +3 -13
- package/dist/rules/scopes/svelte/extension/index.js.map +1 -1
- package/dist/rules/scopes/svelte/index.d.ts +21 -98
- package/dist/rules/scopes/svelte/index.d.ts.map +1 -1
- package/dist/rules/scopes/ts/disable.js +4 -5
- package/dist/rules/scopes/ts/disable.js.map +1 -1
- package/dist/rules/scopes/ts/enable.d.ts +31 -163
- package/dist/rules/scopes/ts/enable.d.ts.map +1 -1
- package/dist/rules/scopes/ts/enable.js +34 -408
- package/dist/rules/scopes/ts/enable.js.map +1 -1
- package/dist/rules/scopes/ts/extension/disable.js +1 -18
- package/dist/rules/scopes/ts/extension/disable.js.map +1 -1
- package/dist/rules/scopes/ts/extension/index.d.ts +1 -20
- package/dist/rules/scopes/ts/extension/index.d.ts.map +1 -1
- package/dist/rules/scopes/ts/extension/index.js +2 -46
- package/dist/rules/scopes/ts/extension/index.js.map +1 -1
- package/dist/rules/scopes/ts/index.d.ts +32 -183
- package/dist/rules/scopes/ts/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/index.d.ts +12 -43
- package/dist/rules/scopes/yml/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/plugin/extension.d.ts +5 -22
- package/dist/rules/scopes/yml/plugin/extension.d.ts.map +1 -1
- package/dist/rules/scopes/yml/plugin/extension.js +9 -41
- package/dist/rules/scopes/yml/plugin/extension.js.map +1 -1
- package/dist/rules/scopes/yml/plugin/index.d.ts +7 -21
- package/dist/rules/scopes/yml/plugin/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/plugin/index.js +9 -64
- package/dist/rules/scopes/yml/plugin/index.js.map +1 -1
- package/dist/settings/registry/manifests/css.js +1 -3
- package/dist/settings/registry/manifests/css.js.map +1 -1
- package/dist/settings/registry/manifests/html.js +1 -2
- package/dist/settings/registry/manifests/html.js.map +1 -1
- package/dist/settings/registry/manifests/js.js +2 -6
- package/dist/settings/registry/manifests/js.js.map +1 -1
- package/dist/settings/registry/manifests/json.js +2 -2
- package/dist/settings/registry/manifests/json.js.map +1 -1
- package/dist/settings/registry/manifests/jsonc.js +2 -6
- package/dist/settings/registry/manifests/jsonc.js.map +1 -1
- package/dist/settings/registry/manifests/jsoncc.js +2 -6
- package/dist/settings/registry/manifests/jsoncc.js.map +1 -1
- package/dist/settings/registry/manifests/mocha.js +2 -6
- package/dist/settings/registry/manifests/mocha.js.map +1 -1
- package/dist/settings/registry/manifests/ts.js +7 -20
- package/dist/settings/registry/manifests/ts.js.map +1 -1
- package/dist/settings/registry/manifests/yml.js +1 -4
- package/dist/settings/registry/manifests/yml.js.map +1 -1
- package/package.json +1 -1
- package/src/rules/scopes/css/enable.ts +2 -13
- package/src/rules/scopes/enable.style.ts +67 -391
- package/src/rules/scopes/enable.ts +132 -318
- package/src/rules/scopes/html/plugin/index.ts +18 -40
- package/src/rules/scopes/json/plugin/extension.ts +9 -47
- package/src/rules/scopes/mocha/chai/index.ts +0 -2
- package/src/rules/scopes/mocha/enable.ts +3 -19
- package/src/rules/scopes/svelte/disable.ts +1 -1
- package/src/rules/scopes/svelte/enable.ts +22 -157
- package/src/rules/scopes/svelte/extension/index.ts +1 -11
- package/src/rules/scopes/ts/enable.ts +34 -424
- package/src/rules/scopes/ts/extension/index.ts +2 -27
- package/src/rules/scopes/yml/plugin/extension.ts +4 -37
- package/src/rules/scopes/yml/plugin/index.ts +8 -58
- package/tsconfig.json +2 -2
package/dist/rules/index.d.ts
CHANGED
|
@@ -3,24 +3,21 @@ export declare const rules: {
|
|
|
3
3
|
id: "enable";
|
|
4
4
|
rules: {
|
|
5
5
|
readonly "array-callback-return": readonly ["error", {
|
|
6
|
-
readonly allowImplicit: false;
|
|
7
6
|
readonly checkForEach: true;
|
|
8
7
|
readonly allowVoid: true;
|
|
9
8
|
}];
|
|
10
9
|
readonly "constructor-super": "error";
|
|
11
10
|
readonly "for-direction": "error";
|
|
12
|
-
readonly "getter-return":
|
|
13
|
-
readonly allowImplicit: false;
|
|
14
|
-
}];
|
|
11
|
+
readonly "getter-return": "error";
|
|
15
12
|
readonly "no-async-promise-executor": "error";
|
|
16
13
|
readonly "no-await-in-loop": "error";
|
|
17
14
|
readonly "no-class-assign": "error";
|
|
18
15
|
readonly "no-compare-neg-zero": "error";
|
|
19
|
-
readonly "no-cond-assign":
|
|
16
|
+
readonly "no-cond-assign": "error";
|
|
20
17
|
readonly "no-const-assign": "error";
|
|
21
18
|
readonly "no-constant-binary-expression": "error";
|
|
22
19
|
readonly "no-constant-condition": readonly ["error", {
|
|
23
|
-
readonly checkLoops:
|
|
20
|
+
readonly checkLoops: "all";
|
|
24
21
|
}];
|
|
25
22
|
readonly "no-constructor-return": "error";
|
|
26
23
|
readonly "no-control-regex": "error";
|
|
@@ -35,29 +32,14 @@ export declare const rules: {
|
|
|
35
32
|
readonly allowSeparateTypeImports: true;
|
|
36
33
|
}];
|
|
37
34
|
readonly "no-empty-character-class": "error";
|
|
38
|
-
readonly "no-empty-pattern":
|
|
39
|
-
readonly allowObjectPatternsAsParameters: false;
|
|
40
|
-
}];
|
|
35
|
+
readonly "no-empty-pattern": "error";
|
|
41
36
|
readonly "no-ex-assign": "error";
|
|
42
|
-
readonly "no-fallthrough":
|
|
43
|
-
readonly allowEmptyCase: true;
|
|
44
|
-
readonly reportUnusedFallthroughComment: true;
|
|
45
|
-
}];
|
|
37
|
+
readonly "no-fallthrough": "error";
|
|
46
38
|
readonly "no-func-assign": "error";
|
|
47
39
|
readonly "no-import-assign": "error";
|
|
48
|
-
readonly "no-inner-declarations": readonly ["error", "both"
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
readonly "no-invalid-regexp": readonly ["error", {
|
|
52
|
-
readonly allowConstructorFlags: readonly [];
|
|
53
|
-
}];
|
|
54
|
-
readonly "no-irregular-whitespace": readonly ["error", {
|
|
55
|
-
readonly skipStrings: true;
|
|
56
|
-
readonly skipComments: true;
|
|
57
|
-
readonly skipRegExps: true;
|
|
58
|
-
readonly skipTemplates: true;
|
|
59
|
-
readonly skipJSXText: true;
|
|
60
|
-
}];
|
|
40
|
+
readonly "no-inner-declarations": readonly ["error", "both"];
|
|
41
|
+
readonly "no-invalid-regexp": "error";
|
|
42
|
+
readonly "no-irregular-whitespace": "error";
|
|
61
43
|
readonly "no-loss-of-precision": "error";
|
|
62
44
|
readonly "no-misleading-character-class": "error";
|
|
63
45
|
readonly "no-new-native-nonconstructor": "error";
|
|
@@ -66,9 +48,7 @@ export declare const rules: {
|
|
|
66
48
|
readonly allowVoid: true;
|
|
67
49
|
}];
|
|
68
50
|
readonly "no-prototype-builtins": "error";
|
|
69
|
-
readonly "no-self-assign":
|
|
70
|
-
readonly props: true;
|
|
71
|
-
}];
|
|
51
|
+
readonly "no-self-assign": "error";
|
|
72
52
|
readonly "no-self-compare": "error";
|
|
73
53
|
readonly "no-setter-return": "error";
|
|
74
54
|
readonly "no-sparse-arrays": "error";
|
|
@@ -79,9 +59,7 @@ export declare const rules: {
|
|
|
79
59
|
readonly "no-unexpected-multiline": "error";
|
|
80
60
|
readonly "no-unmodified-loop-condition": "error";
|
|
81
61
|
readonly "no-unreachable": "error";
|
|
82
|
-
readonly "no-unreachable-loop":
|
|
83
|
-
readonly ignore: readonly [];
|
|
84
|
-
}];
|
|
62
|
+
readonly "no-unreachable-loop": "error";
|
|
85
63
|
readonly "no-unsafe-finally": "error";
|
|
86
64
|
readonly "no-unsafe-negation": readonly ["error", {
|
|
87
65
|
readonly enforceForOrderingRelations: true;
|
|
@@ -90,142 +68,70 @@ export declare const rules: {
|
|
|
90
68
|
readonly disallowArithmeticOperators: true;
|
|
91
69
|
}];
|
|
92
70
|
readonly "no-unused-private-class-members": "error";
|
|
93
|
-
readonly "no-unused-vars":
|
|
94
|
-
readonly vars: "all";
|
|
95
|
-
readonly args: "all";
|
|
96
|
-
readonly caughtErrors: "all";
|
|
97
|
-
readonly ignoreRestSiblings: false;
|
|
98
|
-
readonly ignoreClassWithStaticInitBlock: false;
|
|
99
|
-
readonly reportUsedIgnorePattern: true;
|
|
100
|
-
}];
|
|
71
|
+
readonly "no-unused-vars": "error";
|
|
101
72
|
readonly "no-use-before-define": readonly ["error", {
|
|
102
|
-
readonly functions: true;
|
|
103
|
-
readonly classes: true;
|
|
104
|
-
readonly variables: true;
|
|
105
|
-
readonly allowNamedExports: false;
|
|
106
|
-
readonly enums: true;
|
|
107
73
|
readonly typedefs: false;
|
|
108
|
-
readonly ignoreTypeReferences: true;
|
|
109
74
|
}];
|
|
110
75
|
readonly "no-useless-assignment": "error";
|
|
111
76
|
readonly "no-useless-backreference": "error";
|
|
112
|
-
readonly "require-atomic-updates":
|
|
113
|
-
readonly allowProperties: false;
|
|
114
|
-
}];
|
|
77
|
+
readonly "require-atomic-updates": "error";
|
|
115
78
|
readonly "use-isnan": readonly ["error", {
|
|
116
|
-
readonly enforceForSwitchCase: true;
|
|
117
79
|
readonly enforceForIndexOf: true;
|
|
118
80
|
}];
|
|
119
81
|
readonly "valid-typeof": readonly ["error", {
|
|
120
82
|
readonly requireStringLiterals: true;
|
|
121
83
|
}];
|
|
122
84
|
readonly "accessor-pairs": readonly ["error", {
|
|
123
|
-
readonly setWithoutGet: true;
|
|
124
|
-
readonly getWithoutSet: false;
|
|
125
|
-
readonly enforceForClassMembers: true;
|
|
126
85
|
readonly enforceForTSTypes: true;
|
|
127
86
|
}];
|
|
128
|
-
readonly "arrow-body-style":
|
|
129
|
-
readonly requireReturnForObjectLiteral: true;
|
|
130
|
-
}];
|
|
87
|
+
readonly "arrow-body-style": "error";
|
|
131
88
|
readonly "block-scoped-var": "error";
|
|
132
|
-
readonly
|
|
133
|
-
readonly "capitalized-comments": "off";
|
|
134
|
-
readonly "class-methods-use-this": "off";
|
|
135
|
-
readonly complexity: "off";
|
|
136
|
-
readonly "consistent-return": readonly ["error", {
|
|
137
|
-
readonly treatUndefinedAsUnspecified: false;
|
|
138
|
-
}];
|
|
89
|
+
readonly "consistent-return": "error";
|
|
139
90
|
readonly "consistent-this": "error";
|
|
140
91
|
readonly curly: readonly ["error", "multi"];
|
|
141
|
-
readonly "default-case": "off";
|
|
142
92
|
readonly "default-case-last": "error";
|
|
143
93
|
readonly "default-param-last": "error";
|
|
144
|
-
readonly "dot-notation":
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
readonly eqeqeq: readonly ["error", "always"];
|
|
148
|
-
readonly "func-name-matching": "off";
|
|
149
|
-
readonly "func-names": "off";
|
|
150
|
-
readonly "func-style": "off";
|
|
151
|
-
readonly "grouped-accessor-pairs": "off";
|
|
152
|
-
readonly "guard-for-in": "off";
|
|
153
|
-
readonly "id-denylist": "off";
|
|
154
|
-
readonly "id-length": "off";
|
|
155
|
-
readonly "id-match": "off";
|
|
156
|
-
readonly "init-declarations": readonly ["error", "always"];
|
|
94
|
+
readonly "dot-notation": "error";
|
|
95
|
+
readonly eqeqeq: "error";
|
|
96
|
+
readonly "init-declarations": "error";
|
|
157
97
|
readonly "logical-assignment-operators": readonly ["error", "always", {
|
|
158
98
|
readonly enforceForIfStatements: true;
|
|
159
99
|
}];
|
|
160
|
-
readonly "max-classes-per-file": "off";
|
|
161
|
-
readonly "max-depth": "off";
|
|
162
|
-
readonly "max-lines": "off";
|
|
163
|
-
readonly "max-lines-per-function": "off";
|
|
164
|
-
readonly "max-nested-callbacks": "off";
|
|
165
|
-
readonly "max-params": "off";
|
|
166
|
-
readonly "max-statements": "off";
|
|
167
|
-
readonly "multiline-comment-style": "off";
|
|
168
|
-
readonly "new-cap": "off";
|
|
169
100
|
readonly "no-alert": "error";
|
|
170
101
|
readonly "no-array-constructor": "error";
|
|
171
|
-
readonly "no-bitwise":
|
|
172
|
-
readonly allow: readonly [];
|
|
173
|
-
readonly int32Hint: true;
|
|
174
|
-
}];
|
|
102
|
+
readonly "no-bitwise": "error";
|
|
175
103
|
readonly "no-caller": "error";
|
|
176
104
|
readonly "no-case-declarations": "error";
|
|
177
|
-
readonly "no-console": "off";
|
|
178
105
|
readonly "no-continue": "error";
|
|
179
106
|
readonly "no-delete-var": "error";
|
|
180
107
|
readonly "no-div-regex": "error";
|
|
181
|
-
readonly "no-
|
|
182
|
-
readonly "no-empty": readonly ["error", {
|
|
183
|
-
readonly allowEmptyCatch: false;
|
|
184
|
-
}];
|
|
108
|
+
readonly "no-empty": "error";
|
|
185
109
|
readonly "no-empty-function": readonly ["error", {
|
|
186
110
|
readonly allow: readonly ["constructors", "privateConstructors", "protectedConstructors", "decoratedFunctions", "overrideMethods"];
|
|
187
111
|
}];
|
|
188
112
|
readonly "no-empty-static-block": "error";
|
|
189
113
|
readonly "no-eq-null": "error";
|
|
190
|
-
readonly "no-eval":
|
|
191
|
-
|
|
192
|
-
}];
|
|
193
|
-
readonly "no-extend-native": readonly ["error", {
|
|
194
|
-
readonly exceptions: readonly [];
|
|
195
|
-
}];
|
|
114
|
+
readonly "no-eval": "error";
|
|
115
|
+
readonly "no-extend-native": "error";
|
|
196
116
|
readonly "no-extra-bind": "error";
|
|
197
117
|
readonly "no-extra-boolean-cast": readonly ["error", {
|
|
198
118
|
readonly enforceForLogicalOperands: true;
|
|
199
119
|
}];
|
|
200
120
|
readonly "no-extra-label": "error";
|
|
201
|
-
readonly "no-global-assign":
|
|
202
|
-
readonly exceptions: readonly [];
|
|
203
|
-
}];
|
|
121
|
+
readonly "no-global-assign": "error";
|
|
204
122
|
readonly "no-implicit-coercion": readonly ["error", {
|
|
205
|
-
readonly boolean: true;
|
|
206
|
-
readonly number: true;
|
|
207
|
-
readonly string: true;
|
|
208
123
|
readonly disallowTemplateShorthand: true;
|
|
209
|
-
readonly allow: readonly [];
|
|
210
124
|
}];
|
|
211
|
-
readonly "no-implicit-globals": "off";
|
|
212
125
|
readonly "no-implied-eval": "error";
|
|
213
|
-
readonly "no-inline-comments": "off";
|
|
214
126
|
readonly "no-invalid-this": readonly ["error", {
|
|
215
127
|
readonly capIsConstructor: false;
|
|
216
128
|
}];
|
|
217
129
|
readonly "no-iterator": "error";
|
|
218
130
|
readonly "no-label-var": "error";
|
|
219
131
|
readonly "no-lone-blocks": "error";
|
|
220
|
-
readonly "no-lonely-if": "off";
|
|
221
132
|
readonly "no-loop-func": "error";
|
|
222
|
-
readonly "no-
|
|
223
|
-
readonly "no-multi-assign": readonly ["error", {
|
|
224
|
-
readonly ignoreNonDeclaration: false;
|
|
225
|
-
}];
|
|
133
|
+
readonly "no-multi-assign": "error";
|
|
226
134
|
readonly "no-multi-str": "error";
|
|
227
|
-
readonly "no-negated-condition": "off";
|
|
228
|
-
readonly "no-nested-ternary": "off";
|
|
229
135
|
readonly "no-new": "error";
|
|
230
136
|
readonly "no-new-func": "error";
|
|
231
137
|
readonly "no-new-wrappers": "error";
|
|
@@ -235,270 +141,114 @@ export declare const rules: {
|
|
|
235
141
|
readonly "no-octal-escape": "error";
|
|
236
142
|
readonly "no-param-reassign": readonly ["error", {
|
|
237
143
|
readonly props: true;
|
|
238
|
-
readonly ignorePropertyModificationsFor: readonly [];
|
|
239
|
-
readonly ignorePropertyModificationsForRegex: readonly [];
|
|
240
144
|
}];
|
|
241
145
|
readonly "no-plusplus": readonly ["error", {
|
|
242
146
|
readonly allowForLoopAfterthoughts: true;
|
|
243
147
|
}];
|
|
244
148
|
readonly "no-proto": "error";
|
|
245
|
-
readonly "no-redeclare": readonly ["error", {
|
|
246
|
-
readonly builtinGlobals: true;
|
|
247
|
-
}];
|
|
248
|
-
readonly "no-regex-spaces": "off";
|
|
249
|
-
readonly "no-restricted-exports": "off";
|
|
250
|
-
readonly "no-restricted-globals": "off";
|
|
251
|
-
readonly "no-restricted-imports": "off";
|
|
252
|
-
readonly "no-restricted-properties": "off";
|
|
253
|
-
readonly "no-restricted-syntax": "off";
|
|
254
|
-
readonly "no-return-assign": "off";
|
|
255
149
|
readonly "no-script-url": "error";
|
|
256
|
-
readonly "no-sequences":
|
|
257
|
-
|
|
258
|
-
}];
|
|
259
|
-
readonly "no-shadow": "off";
|
|
260
|
-
readonly "no-shadow-restricted-names": readonly ["error", {
|
|
261
|
-
readonly reportGlobalThis: false;
|
|
262
|
-
}];
|
|
263
|
-
readonly "no-ternary": "off";
|
|
150
|
+
readonly "no-sequences": "error";
|
|
151
|
+
readonly "no-shadow-restricted-names": "error";
|
|
264
152
|
readonly "no-throw-literal": "error";
|
|
265
153
|
readonly "no-undef-init": "error";
|
|
266
|
-
readonly "no-
|
|
267
|
-
readonly "no-underscore-dangle": "off";
|
|
268
|
-
readonly "no-unneeded-ternary": readonly ["error", {
|
|
269
|
-
readonly defaultAssignment: false;
|
|
270
|
-
}];
|
|
154
|
+
readonly "no-unneeded-ternary": "error";
|
|
271
155
|
readonly "no-unused-expressions": readonly ["error", {
|
|
272
156
|
readonly allowShortCircuit: true;
|
|
273
157
|
readonly allowTernary: true;
|
|
274
|
-
readonly allowTaggedTemplates: true;
|
|
275
|
-
readonly enforceForJSX: false;
|
|
276
|
-
readonly ignoreDirectives: false;
|
|
277
158
|
}];
|
|
278
159
|
readonly "no-unused-labels": "error";
|
|
279
160
|
readonly "no-useless-call": "error";
|
|
280
161
|
readonly "no-useless-catch": "error";
|
|
281
|
-
readonly "no-useless-computed-key":
|
|
282
|
-
readonly enforceForClassMembers: true;
|
|
283
|
-
}];
|
|
162
|
+
readonly "no-useless-computed-key": "error";
|
|
284
163
|
readonly "no-useless-concat": "error";
|
|
285
164
|
readonly "no-useless-constructor": "error";
|
|
286
165
|
readonly "no-useless-escape": readonly ["error", {
|
|
287
166
|
readonly allowRegexCharacters: readonly ["-"];
|
|
288
167
|
}];
|
|
289
|
-
readonly "no-useless-rename":
|
|
290
|
-
readonly ignoreImport: false;
|
|
291
|
-
readonly ignoreExport: false;
|
|
292
|
-
readonly ignoreDestructuring: false;
|
|
293
|
-
}];
|
|
168
|
+
readonly "no-useless-rename": "error";
|
|
294
169
|
readonly "no-useless-return": "error";
|
|
295
170
|
readonly "no-var": "error";
|
|
296
171
|
readonly "no-void": readonly ["error", {
|
|
297
172
|
readonly allowAsStatement: true;
|
|
298
173
|
}];
|
|
299
|
-
readonly "no-warning-comments": "off";
|
|
300
174
|
readonly "no-with": "error";
|
|
301
|
-
readonly "object-shorthand":
|
|
302
|
-
readonly avoidQuotes: true;
|
|
303
|
-
readonly ignoreConstructors: false;
|
|
304
|
-
readonly avoidExplicitReturnArrows: false;
|
|
305
|
-
}];
|
|
175
|
+
readonly "object-shorthand": "error";
|
|
306
176
|
readonly "one-var": readonly ["error", {
|
|
307
177
|
readonly var: "consecutive";
|
|
308
178
|
readonly let: "consecutive";
|
|
309
179
|
readonly const: "consecutive";
|
|
180
|
+
readonly using: "consecutive";
|
|
181
|
+
readonly awaitUsing: "consecutive";
|
|
310
182
|
readonly separateRequires: true;
|
|
311
183
|
}];
|
|
312
|
-
readonly "operator-assignment":
|
|
313
|
-
readonly "prefer-arrow-callback":
|
|
314
|
-
readonly allowNamedFunctions: false;
|
|
315
|
-
readonly allowUnboundThis: true;
|
|
316
|
-
}];
|
|
184
|
+
readonly "operator-assignment": "error";
|
|
185
|
+
readonly "prefer-arrow-callback": "error";
|
|
317
186
|
readonly "prefer-const": readonly ["error", {
|
|
318
187
|
readonly destructuring: "all";
|
|
319
|
-
readonly ignoreReadBeforeAssign: false;
|
|
320
188
|
}];
|
|
321
189
|
readonly "prefer-destructuring": readonly ["error", {
|
|
322
|
-
readonly VariableDeclarator: {
|
|
323
|
-
readonly array: true;
|
|
324
|
-
readonly object: true;
|
|
325
|
-
};
|
|
326
190
|
readonly AssignmentExpression: {
|
|
327
191
|
readonly array: false;
|
|
328
192
|
readonly object: false;
|
|
329
193
|
};
|
|
330
|
-
}, {
|
|
331
|
-
readonly enforceForRenamedProperties: true;
|
|
332
194
|
}];
|
|
333
195
|
readonly "prefer-exponentiation-operator": "error";
|
|
334
|
-
readonly "prefer-named-capture-group": "off";
|
|
335
196
|
readonly "prefer-numeric-literals": "error";
|
|
336
197
|
readonly "prefer-object-has-own": "error";
|
|
337
198
|
readonly "prefer-object-spread": "error";
|
|
338
|
-
readonly "prefer-promise-reject-errors":
|
|
339
|
-
readonly allowEmptyReject: false;
|
|
340
|
-
}];
|
|
199
|
+
readonly "prefer-promise-reject-errors": "error";
|
|
341
200
|
readonly "prefer-regex-literals": readonly ["error", {
|
|
342
201
|
readonly disallowRedundantWrapping: true;
|
|
343
202
|
}];
|
|
344
203
|
readonly "prefer-rest-params": "error";
|
|
345
204
|
readonly "prefer-spread": "error";
|
|
346
|
-
readonly "prefer-template": "off";
|
|
347
205
|
readonly radix: readonly ["error", "as-needed"];
|
|
348
206
|
readonly "require-await": "error";
|
|
349
207
|
readonly "require-unicode-regexp": "error";
|
|
350
208
|
readonly "require-yield": "error";
|
|
351
|
-
readonly "sort-imports": "off";
|
|
352
|
-
readonly "sort-keys": "off";
|
|
353
|
-
readonly "sort-vars": "off";
|
|
354
|
-
readonly strict: "off";
|
|
355
|
-
readonly "symbol-description": "off";
|
|
356
209
|
readonly "vars-on-top": "error";
|
|
357
|
-
readonly yoda:
|
|
358
|
-
readonly exceptRange: false;
|
|
359
|
-
readonly onlyEquality: false;
|
|
360
|
-
}];
|
|
361
|
-
readonly "unicode-bom": "off";
|
|
210
|
+
readonly yoda: "error";
|
|
362
211
|
};
|
|
363
212
|
} | {
|
|
364
213
|
id: "enable/style";
|
|
365
214
|
rules: {
|
|
366
|
-
readonly "@stylistic/array-bracket-newline":
|
|
367
|
-
|
|
368
|
-
readonly minItems: null;
|
|
369
|
-
}];
|
|
370
|
-
readonly "@stylistic/array-bracket-spacing": readonly ["error", "never", {
|
|
371
|
-
readonly singleValue: false;
|
|
372
|
-
readonly objectsInArrays: false;
|
|
373
|
-
readonly arraysInArrays: false;
|
|
374
|
-
}];
|
|
215
|
+
readonly "@stylistic/array-bracket-newline": "error";
|
|
216
|
+
readonly "@stylistic/array-bracket-spacing": "error";
|
|
375
217
|
readonly "@stylistic/array-element-newline": readonly ["error", {
|
|
376
|
-
readonly
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
readonly minItems: 3;
|
|
380
|
-
};
|
|
381
|
-
readonly ArrayPattern: {
|
|
382
|
-
readonly consistent: true;
|
|
383
|
-
readonly multiline: true;
|
|
384
|
-
readonly minItems: 3;
|
|
385
|
-
};
|
|
386
|
-
}];
|
|
387
|
-
readonly "@stylistic/arrow-parens": readonly ["error", "as-needed", {
|
|
388
|
-
readonly requireForBlockBody: false;
|
|
389
|
-
}];
|
|
390
|
-
readonly "@stylistic/arrow-spacing": readonly ["error", {
|
|
391
|
-
readonly before: true;
|
|
392
|
-
readonly after: true;
|
|
218
|
+
readonly consistent: true;
|
|
219
|
+
readonly multiline: true;
|
|
220
|
+
readonly minItems: 3;
|
|
393
221
|
}];
|
|
394
|
-
readonly "@stylistic/
|
|
222
|
+
readonly "@stylistic/arrow-parens": readonly ["error", "as-needed"];
|
|
223
|
+
readonly "@stylistic/arrow-spacing": "error";
|
|
224
|
+
readonly "@stylistic/block-spacing": "error";
|
|
395
225
|
readonly "@stylistic/brace-style": readonly ["error", "stroustrup", {
|
|
396
226
|
readonly allowSingleLine: true;
|
|
397
227
|
}];
|
|
398
228
|
readonly "@stylistic/comma-dangle": readonly ["error", "always-multiline"];
|
|
399
|
-
readonly "@stylistic/comma-spacing":
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
readonly "@stylistic/comma-style": readonly ["error", "last", {
|
|
404
|
-
readonly exceptions: {
|
|
405
|
-
readonly ArrayExpression: false;
|
|
406
|
-
readonly ArrayPattern: false;
|
|
407
|
-
readonly ArrowFunctionExpression: false;
|
|
408
|
-
readonly CallExpression: false;
|
|
409
|
-
readonly FunctionDeclaration: false;
|
|
410
|
-
readonly FunctionExpression: false;
|
|
411
|
-
readonly ImportDeclaration: false;
|
|
412
|
-
readonly ObjectExpression: false;
|
|
413
|
-
readonly ObjectPattern: false;
|
|
414
|
-
readonly VariableDeclaration: false;
|
|
415
|
-
readonly NewExpression: false;
|
|
416
|
-
readonly ExportAllDeclaration: false;
|
|
417
|
-
readonly ExportNamedDeclaration: false;
|
|
418
|
-
readonly ImportExpression: false;
|
|
419
|
-
readonly SequenceExpression: false;
|
|
420
|
-
readonly ClassDeclaration: false;
|
|
421
|
-
readonly ClassExpression: false;
|
|
422
|
-
readonly TSDeclareFunction: false;
|
|
423
|
-
readonly TSFunctionType: false;
|
|
424
|
-
readonly TSConstructorType: false;
|
|
425
|
-
readonly TSEmptyBodyFunctionExpression: false;
|
|
426
|
-
readonly TSMethodSignature: false;
|
|
427
|
-
readonly TSCallSignatureDeclaration: false;
|
|
428
|
-
readonly TSConstructSignatureDeclaration: false;
|
|
429
|
-
readonly TSEnumBody: false;
|
|
430
|
-
readonly TSTypeLiteral: false;
|
|
431
|
-
readonly TSInterfaceBody: false;
|
|
432
|
-
readonly TSIndexSignature: false;
|
|
433
|
-
readonly TSInterfaceDeclaration: false;
|
|
434
|
-
readonly TSTupleType: false;
|
|
435
|
-
readonly TSTypeParameterDeclaration: false;
|
|
436
|
-
readonly TSTypeParameterInstantiation: false;
|
|
437
|
-
};
|
|
438
|
-
}];
|
|
439
|
-
readonly "@stylistic/computed-property-spacing": readonly ["error", "never", {
|
|
440
|
-
readonly enforceForClassMembers: true;
|
|
441
|
-
}];
|
|
442
|
-
readonly "@stylistic/curly-newline": readonly ["error", {
|
|
443
|
-
readonly consistent: true;
|
|
444
|
-
}];
|
|
229
|
+
readonly "@stylistic/comma-spacing": "error";
|
|
230
|
+
readonly "@stylistic/comma-style": "error";
|
|
231
|
+
readonly "@stylistic/computed-property-spacing": "error";
|
|
232
|
+
readonly "@stylistic/curly-newline": "error";
|
|
445
233
|
readonly "@stylistic/dot-location": readonly ["error", "property"];
|
|
446
|
-
readonly "@stylistic/eol-last":
|
|
234
|
+
readonly "@stylistic/eol-last": "error";
|
|
447
235
|
readonly "@stylistic/function-call-argument-newline": readonly ["error", "consistent"];
|
|
448
|
-
readonly "@stylistic/function-call-spacing":
|
|
236
|
+
readonly "@stylistic/function-call-spacing": "error";
|
|
449
237
|
readonly "@stylistic/function-paren-newline": readonly ["error", "multiline-arguments"];
|
|
450
|
-
readonly "@stylistic/generator-star-spacing":
|
|
451
|
-
|
|
452
|
-
readonly after: false;
|
|
453
|
-
}];
|
|
454
|
-
readonly "@stylistic/implicit-arrow-linebreak": readonly ["error", "beside"];
|
|
238
|
+
readonly "@stylistic/generator-star-spacing": "error";
|
|
239
|
+
readonly "@stylistic/implicit-arrow-linebreak": "error";
|
|
455
240
|
readonly "@stylistic/indent": readonly ["error", 2, {
|
|
456
|
-
readonly ignoredNodes: readonly [];
|
|
457
|
-
readonly SwitchCase: 1;
|
|
458
241
|
readonly VariableDeclarator: {
|
|
459
242
|
readonly var: 0;
|
|
460
243
|
readonly let: 0;
|
|
461
244
|
readonly const: 0;
|
|
462
245
|
};
|
|
463
246
|
readonly outerIIFEBody: 0;
|
|
464
|
-
readonly MemberExpression: 1;
|
|
465
|
-
readonly FunctionDeclaration: {
|
|
466
|
-
readonly parameters: 1;
|
|
467
|
-
readonly body: 1;
|
|
468
|
-
readonly returnType: 1;
|
|
469
|
-
};
|
|
470
|
-
readonly FunctionExpression: {
|
|
471
|
-
readonly parameters: 1;
|
|
472
|
-
readonly body: 1;
|
|
473
|
-
readonly returnType: 1;
|
|
474
|
-
};
|
|
475
|
-
readonly StaticBlock: {
|
|
476
|
-
readonly body: 1;
|
|
477
|
-
};
|
|
478
|
-
readonly CallExpression: {
|
|
479
|
-
readonly arguments: 1;
|
|
480
|
-
};
|
|
481
|
-
readonly ArrayExpression: 1;
|
|
482
|
-
readonly ObjectExpression: 1;
|
|
483
|
-
readonly ImportDeclaration: 1;
|
|
484
|
-
readonly flatTernaryExpressions: false;
|
|
485
247
|
readonly offsetTernaryExpressions: true;
|
|
486
|
-
readonly offsetTernaryExpressionsOffsetCallExpressions: true;
|
|
487
|
-
readonly ignoreComments: false;
|
|
488
|
-
readonly tabLength: 2;
|
|
489
248
|
}];
|
|
490
249
|
readonly "@stylistic/indent-binary-ops": readonly ["error", 2];
|
|
491
|
-
readonly "@stylistic/key-spacing":
|
|
492
|
-
|
|
493
|
-
readonly afterColon: true;
|
|
494
|
-
readonly mode: "strict";
|
|
495
|
-
readonly ignoredNodes: readonly [];
|
|
496
|
-
}];
|
|
497
|
-
readonly "@stylistic/keyword-spacing": readonly ["error", {
|
|
498
|
-
readonly before: true;
|
|
499
|
-
readonly after: true;
|
|
500
|
-
readonly overrides: {};
|
|
501
|
-
}];
|
|
250
|
+
readonly "@stylistic/key-spacing": "error";
|
|
251
|
+
readonly "@stylistic/keyword-spacing": "error";
|
|
502
252
|
readonly "@stylistic/lines-between-class-members": readonly ["error", {
|
|
503
253
|
readonly enforce: readonly [{
|
|
504
254
|
readonly prev: "field";
|
|
@@ -513,13 +263,9 @@ export declare const rules: {
|
|
|
513
263
|
readonly next: "*";
|
|
514
264
|
readonly blankLine: "always";
|
|
515
265
|
}];
|
|
516
|
-
}, {
|
|
517
|
-
readonly exceptAfterSingleLine: false;
|
|
518
|
-
readonly exceptAfterOverload: true;
|
|
519
266
|
}];
|
|
520
267
|
readonly "@stylistic/max-len": readonly ["error", {
|
|
521
268
|
readonly code: 300;
|
|
522
|
-
readonly tabWidth: 2;
|
|
523
269
|
readonly ignoreComments: true;
|
|
524
270
|
readonly ignoreTrailingComments: true;
|
|
525
271
|
readonly ignoreUrls: true;
|
|
@@ -527,114 +273,38 @@ export declare const rules: {
|
|
|
527
273
|
readonly ignoreTemplateLiterals: true;
|
|
528
274
|
readonly ignoreRegExpLiterals: true;
|
|
529
275
|
}];
|
|
530
|
-
readonly "@stylistic/max-statements-per-line":
|
|
531
|
-
|
|
532
|
-
}];
|
|
533
|
-
readonly "@stylistic/member-delimiter-style": readonly ["error", {
|
|
534
|
-
readonly multiline: {
|
|
535
|
-
readonly delimiter: "semi";
|
|
536
|
-
readonly requireLast: true;
|
|
537
|
-
};
|
|
538
|
-
readonly singleline: {
|
|
539
|
-
readonly delimiter: "semi";
|
|
540
|
-
readonly requireLast: false;
|
|
541
|
-
};
|
|
542
|
-
readonly multilineDetection: "brackets";
|
|
543
|
-
}];
|
|
276
|
+
readonly "@stylistic/max-statements-per-line": "error";
|
|
277
|
+
readonly "@stylistic/member-delimiter-style": "error";
|
|
544
278
|
readonly "@stylistic/multiline-ternary": readonly ["error", "always-multiline"];
|
|
545
|
-
readonly "@stylistic/
|
|
546
|
-
readonly "@stylistic/
|
|
547
|
-
readonly ignoreChainWithDepth: 2;
|
|
548
|
-
}];
|
|
549
|
-
readonly "@stylistic/no-extra-parens": readonly ["error", "all", {
|
|
550
|
-
readonly conditionalAssign: true;
|
|
551
|
-
readonly returnAssign: true;
|
|
552
|
-
readonly nestedBinaryExpressions: true;
|
|
553
|
-
readonly ternaryOperandBinaryExpressions: true;
|
|
554
|
-
readonly enforceForArrowConditionals: true;
|
|
555
|
-
readonly enforceForSequenceExpressions: true;
|
|
556
|
-
readonly enforceForNewInMemberExpressions: true;
|
|
557
|
-
readonly enforceForFunctionPrototypeMethods: true;
|
|
558
|
-
readonly nestedConditionalExpressions: true;
|
|
559
|
-
readonly allowNodesInSpreadElement: {
|
|
560
|
-
readonly ConditionalExpression: false;
|
|
561
|
-
readonly LogicalExpression: false;
|
|
562
|
-
readonly AwaitExpression: false;
|
|
563
|
-
};
|
|
564
|
-
}];
|
|
279
|
+
readonly "@stylistic/newline-per-chained-call": "error";
|
|
280
|
+
readonly "@stylistic/no-extra-parens": "error";
|
|
565
281
|
readonly "@stylistic/no-extra-semi": "error";
|
|
566
282
|
readonly "@stylistic/no-floating-decimal": "error";
|
|
567
283
|
readonly "@stylistic/no-mixed-spaces-and-tabs": "error";
|
|
568
284
|
readonly "@stylistic/no-multi-spaces": readonly ["error", {
|
|
569
|
-
readonly ignoreEOLComments: false;
|
|
570
285
|
readonly exceptions: {
|
|
571
286
|
readonly Property: false;
|
|
572
287
|
readonly ImportAttributes: false;
|
|
573
288
|
};
|
|
574
|
-
readonly includeTabs: true;
|
|
575
289
|
}];
|
|
576
290
|
readonly "@stylistic/no-multiple-empty-lines": readonly ["error", {
|
|
577
291
|
readonly max: 1;
|
|
578
292
|
readonly maxBOF: 0;
|
|
579
293
|
readonly maxEOF: 0;
|
|
580
294
|
}];
|
|
581
|
-
readonly "@stylistic/no-tabs":
|
|
582
|
-
|
|
583
|
-
}];
|
|
584
|
-
readonly "@stylistic/no-trailing-spaces": readonly ["error", {
|
|
585
|
-
readonly skipBlankLines: false;
|
|
586
|
-
readonly ignoreComments: false;
|
|
587
|
-
}];
|
|
295
|
+
readonly "@stylistic/no-tabs": "error";
|
|
296
|
+
readonly "@stylistic/no-trailing-spaces": "error";
|
|
588
297
|
readonly "@stylistic/no-whitespace-before-property": "error";
|
|
589
|
-
readonly "@stylistic/nonblock-statement-body-position": readonly ["error", "below"
|
|
590
|
-
readonly overrides: {};
|
|
591
|
-
}];
|
|
298
|
+
readonly "@stylistic/nonblock-statement-body-position": readonly ["error", "below"];
|
|
592
299
|
readonly "@stylistic/object-curly-newline": readonly ["error", {
|
|
593
|
-
readonly
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
readonly minProperties: 3;
|
|
597
|
-
};
|
|
598
|
-
readonly ObjectPattern: {
|
|
599
|
-
readonly consistent: true;
|
|
600
|
-
readonly multiline: true;
|
|
601
|
-
readonly minProperties: 3;
|
|
602
|
-
};
|
|
603
|
-
readonly ImportDeclaration: {
|
|
604
|
-
readonly consistent: true;
|
|
605
|
-
readonly multiline: true;
|
|
606
|
-
readonly minProperties: 3;
|
|
607
|
-
};
|
|
608
|
-
readonly ExportDeclaration: {
|
|
609
|
-
readonly consistent: true;
|
|
610
|
-
readonly multiline: true;
|
|
611
|
-
readonly minProperties: 3;
|
|
612
|
-
};
|
|
613
|
-
readonly TSTypeLiteral: {
|
|
614
|
-
readonly consistent: true;
|
|
615
|
-
readonly multiline: true;
|
|
616
|
-
readonly minProperties: 3;
|
|
617
|
-
};
|
|
618
|
-
readonly TSInterfaceBody: {
|
|
619
|
-
readonly consistent: true;
|
|
620
|
-
readonly multiline: true;
|
|
621
|
-
readonly minProperties: 3;
|
|
622
|
-
};
|
|
623
|
-
readonly TSEnumBody: {
|
|
624
|
-
readonly consistent: true;
|
|
625
|
-
readonly multiline: true;
|
|
626
|
-
readonly minProperties: 3;
|
|
627
|
-
};
|
|
628
|
-
}];
|
|
629
|
-
readonly "@stylistic/object-curly-spacing": readonly ["error", "always", {
|
|
630
|
-
readonly arraysInObjects: true;
|
|
631
|
-
readonly objectsInObjects: true;
|
|
300
|
+
readonly consistent: true;
|
|
301
|
+
readonly multiline: true;
|
|
302
|
+
readonly minProperties: 3;
|
|
632
303
|
}];
|
|
304
|
+
readonly "@stylistic/object-curly-spacing": readonly ["error", "always"];
|
|
633
305
|
readonly "@stylistic/object-property-newline": "error";
|
|
634
306
|
readonly "@stylistic/one-var-declaration-per-line": readonly ["error", "always"];
|
|
635
|
-
readonly "@stylistic/operator-linebreak": readonly ["error", "before"
|
|
636
|
-
readonly overrides: {};
|
|
637
|
-
}];
|
|
307
|
+
readonly "@stylistic/operator-linebreak": readonly ["error", "before"];
|
|
638
308
|
readonly "@stylistic/padded-blocks": readonly ["error", "never", {
|
|
639
309
|
readonly allowSingleLineBlocks: true;
|
|
640
310
|
}];
|
|
@@ -693,45 +363,22 @@ export declare const rules: {
|
|
|
693
363
|
}];
|
|
694
364
|
readonly "@stylistic/quote-props": readonly ["error", "as-needed", {
|
|
695
365
|
readonly keywords: true;
|
|
696
|
-
readonly unnecessary: true;
|
|
697
|
-
readonly numbers: false;
|
|
698
366
|
}];
|
|
699
367
|
readonly "@stylistic/quotes": readonly ["error", "double", {
|
|
700
368
|
readonly avoidEscape: true;
|
|
701
369
|
readonly allowTemplateLiterals: "always";
|
|
702
|
-
readonly ignoreStringLiterals: false;
|
|
703
|
-
}];
|
|
704
|
-
readonly "@stylistic/rest-spread-spacing": readonly ["error", "never"];
|
|
705
|
-
readonly "@stylistic/semi": readonly ["error", "always", {
|
|
706
|
-
readonly omitLastInOneLineBlock: false;
|
|
707
|
-
readonly omitLastInOneLineClassBody: false;
|
|
708
|
-
}];
|
|
709
|
-
readonly "@stylistic/semi-spacing": readonly ["error", {
|
|
710
|
-
readonly before: false;
|
|
711
|
-
readonly after: true;
|
|
712
|
-
}];
|
|
713
|
-
readonly "@stylistic/semi-style": readonly ["error", "last"];
|
|
714
|
-
readonly "@stylistic/space-before-blocks": readonly ["error", {
|
|
715
|
-
readonly functions: "always";
|
|
716
|
-
readonly keywords: "always";
|
|
717
|
-
readonly classes: "always";
|
|
718
370
|
}];
|
|
371
|
+
readonly "@stylistic/rest-spread-spacing": "error";
|
|
372
|
+
readonly "@stylistic/semi": "error";
|
|
373
|
+
readonly "@stylistic/semi-spacing": "error";
|
|
374
|
+
readonly "@stylistic/semi-style": "error";
|
|
375
|
+
readonly "@stylistic/space-before-blocks": "error";
|
|
719
376
|
readonly "@stylistic/space-before-function-paren": readonly ["error", {
|
|
720
|
-
readonly anonymous: "always";
|
|
721
377
|
readonly named: "never";
|
|
722
|
-
readonly asyncArrow: "always";
|
|
723
|
-
readonly catch: "always";
|
|
724
|
-
}];
|
|
725
|
-
readonly "@stylistic/space-in-parens": readonly ["error", "never"];
|
|
726
|
-
readonly "@stylistic/space-infix-ops": readonly ["error", {
|
|
727
|
-
readonly int32Hint: true;
|
|
728
|
-
readonly ignoreTypes: false;
|
|
729
|
-
}];
|
|
730
|
-
readonly "@stylistic/space-unary-ops": readonly ["error", {
|
|
731
|
-
readonly words: true;
|
|
732
|
-
readonly nonwords: false;
|
|
733
|
-
readonly overrides: {};
|
|
734
378
|
}];
|
|
379
|
+
readonly "@stylistic/space-in-parens": "error";
|
|
380
|
+
readonly "@stylistic/space-infix-ops": "error";
|
|
381
|
+
readonly "@stylistic/space-unary-ops": "error";
|
|
735
382
|
readonly "@stylistic/spaced-comment": readonly ["error", "always", {
|
|
736
383
|
readonly line: {
|
|
737
384
|
readonly exceptions: readonly ["/", "-", "+", "="];
|
|
@@ -743,12 +390,9 @@ export declare const rules: {
|
|
|
743
390
|
readonly balanced: true;
|
|
744
391
|
};
|
|
745
392
|
}];
|
|
746
|
-
readonly "@stylistic/switch-colon-spacing":
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
}];
|
|
750
|
-
readonly "@stylistic/template-curly-spacing": readonly ["error", "never"];
|
|
751
|
-
readonly "@stylistic/template-tag-spacing": readonly ["error", "never"];
|
|
393
|
+
readonly "@stylistic/switch-colon-spacing": "error";
|
|
394
|
+
readonly "@stylistic/template-curly-spacing": "error";
|
|
395
|
+
readonly "@stylistic/template-tag-spacing": "error";
|
|
752
396
|
readonly "@stylistic/type-annotation-spacing": readonly ["error", {
|
|
753
397
|
readonly before: true;
|
|
754
398
|
readonly after: true;
|
|
@@ -765,10 +409,7 @@ export declare const rules: {
|
|
|
765
409
|
readonly functionPrototypeMethods: true;
|
|
766
410
|
}];
|
|
767
411
|
readonly "@stylistic/wrap-regex": "error";
|
|
768
|
-
readonly "@stylistic/yield-star-spacing":
|
|
769
|
-
readonly before: false;
|
|
770
|
-
readonly after: true;
|
|
771
|
-
}];
|
|
412
|
+
readonly "@stylistic/yield-star-spacing": "error";
|
|
772
413
|
};
|
|
773
414
|
})[];
|
|
774
415
|
ts: ({
|
|
@@ -810,56 +451,30 @@ export declare const rules: {
|
|
|
810
451
|
id: "enable";
|
|
811
452
|
rules: {
|
|
812
453
|
readonly "@typescript-eslint/await-thenable": "error";
|
|
813
|
-
readonly "@typescript-eslint/ban-ts-comment":
|
|
814
|
-
readonly "ts-check": false;
|
|
815
|
-
readonly "ts-expect-error": {
|
|
816
|
-
readonly descriptionFormat: "^:? (?:TEST|BUG): .+$";
|
|
817
|
-
};
|
|
818
|
-
readonly "ts-ignore": true;
|
|
819
|
-
readonly "ts-nocheck": true;
|
|
820
|
-
readonly minimumDescriptionLength: 10;
|
|
821
|
-
}];
|
|
454
|
+
readonly "@typescript-eslint/ban-ts-comment": "error";
|
|
822
455
|
readonly "@typescript-eslint/ban-tslint-comment": "error";
|
|
823
|
-
readonly "@typescript-eslint/class-literal-property-style":
|
|
824
|
-
readonly "@typescript-eslint/consistent-generic-constructors":
|
|
825
|
-
readonly "@typescript-eslint/consistent-indexed-object-style":
|
|
456
|
+
readonly "@typescript-eslint/class-literal-property-style": "error";
|
|
457
|
+
readonly "@typescript-eslint/consistent-generic-constructors": "error";
|
|
458
|
+
readonly "@typescript-eslint/consistent-indexed-object-style": "error";
|
|
826
459
|
readonly "@typescript-eslint/consistent-type-assertions": readonly ["error", {
|
|
827
|
-
readonly assertionStyle: "as";
|
|
828
460
|
readonly arrayLiteralTypeAssertions: "never";
|
|
829
461
|
readonly objectLiteralTypeAssertions: "never";
|
|
830
462
|
}];
|
|
831
|
-
readonly "@typescript-eslint/consistent-type-exports":
|
|
832
|
-
|
|
833
|
-
}];
|
|
834
|
-
readonly "@typescript-eslint/consistent-type-imports": readonly ["error", {
|
|
835
|
-
readonly disallowTypeAnnotations: true;
|
|
836
|
-
readonly fixStyle: "separate-type-imports";
|
|
837
|
-
readonly prefer: "type-imports";
|
|
838
|
-
}];
|
|
463
|
+
readonly "@typescript-eslint/consistent-type-exports": "error";
|
|
464
|
+
readonly "@typescript-eslint/consistent-type-imports": "error";
|
|
839
465
|
readonly "@typescript-eslint/explicit-member-accessibility": readonly ["error", {
|
|
840
|
-
readonly accessibility: "explicit";
|
|
841
|
-
readonly ignoredMethodNames: readonly [];
|
|
842
466
|
readonly overrides: {
|
|
843
|
-
readonly properties: "explicit";
|
|
844
467
|
readonly constructors: "no-public";
|
|
845
|
-
readonly accessors: "explicit";
|
|
846
|
-
readonly methods: "explicit";
|
|
847
|
-
readonly parameterProperties: "explicit";
|
|
848
468
|
};
|
|
849
469
|
}];
|
|
850
470
|
readonly "@typescript-eslint/member-ordering": readonly ["error", {
|
|
851
471
|
readonly default: {
|
|
852
|
-
readonly memberTypes: readonly ["signature", "call-signature", "public-static-field", "protected-static-field", "private-static-field", "#private-static-field", "public-decorated-field", "protected-decorated-field", "private-decorated-field", "public-instance-field", "protected-instance-field", "private-instance-field", "#private-instance-field", "public-abstract-field", "protected-abstract-field", "public-field", "protected-field", "private-field", "#private-field", "static-field", "instance-field", "abstract-field", "decorated-field", "field", "static-initialization", "public-constructor", "protected-constructor", "private-constructor", "constructor", "public-static-accessor", "protected-static-accessor", "private-static-accessor", "#private-static-accessor", "public-decorated-accessor", "protected-decorated-accessor", "private-decorated-accessor", "public-instance-accessor", "protected-instance-accessor", "private-instance-accessor", "#private-instance-accessor", "public-abstract-accessor", "protected-abstract-accessor", "public-accessor", "protected-accessor", "private-accessor", "#private-accessor", "static-accessor", "instance-accessor", "abstract-accessor", "decorated-accessor", "accessor", "public-static-get", "protected-static-get", "private-static-get", "#private-static-get", "public-decorated-get", "protected-decorated-get", "private-decorated-get", "public-instance-get", "protected-instance-get", "private-instance-get", "#private-instance-get", "public-abstract-get", "protected-abstract-get", "public-get", "protected-get", "private-get", "#private-get", "static-get", "instance-get", "abstract-get", "decorated-get", "get", "public-static-set", "protected-static-set", "private-static-set", "#private-static-set", "public-decorated-set", "protected-decorated-set", "private-decorated-set", "public-instance-set", "protected-instance-set", "private-instance-set", "#private-instance-set", "public-abstract-set", "protected-abstract-set", "public-set", "protected-set", "private-set", "#private-set", "static-set", "instance-set", "abstract-set", "decorated-set", "set", "public-static-method", "protected-static-method", "private-static-method", "#private-static-method", "public-decorated-method", "protected-decorated-method", "private-decorated-method", "public-instance-method", "protected-instance-method", "private-instance-method", "#private-instance-method", "public-abstract-method", "protected-abstract-method", "public-method", "protected-method", "private-method", "#private-method", "static-method", "instance-method", "abstract-method", "decorated-method", "method"];
|
|
853
472
|
readonly optionalityOrder: "required-first";
|
|
854
|
-
readonly order: "as-written";
|
|
855
473
|
};
|
|
856
474
|
}];
|
|
857
|
-
readonly "@typescript-eslint/method-signature-style":
|
|
475
|
+
readonly "@typescript-eslint/method-signature-style": "error";
|
|
858
476
|
readonly "@typescript-eslint/no-array-delete": "error";
|
|
859
|
-
readonly "@typescript-eslint/no-base-to-string":
|
|
860
|
-
readonly checkUnknown: false;
|
|
861
|
-
readonly ignoredTypeNames: readonly ["Error", "RegExp", "URL", "URLSearchParams"];
|
|
862
|
-
}];
|
|
477
|
+
readonly "@typescript-eslint/no-base-to-string": "error";
|
|
863
478
|
readonly "@typescript-eslint/no-confusing-non-null-assertion": "error";
|
|
864
479
|
readonly "@typescript-eslint/no-confusing-void-expression": readonly ["error", {
|
|
865
480
|
readonly ignoreArrowShorthand: true;
|
|
@@ -867,86 +482,42 @@ export declare const rules: {
|
|
|
867
482
|
readonly ignoreVoidReturningFunctions: true;
|
|
868
483
|
}];
|
|
869
484
|
readonly "@typescript-eslint/no-duplicate-enum-values": "error";
|
|
870
|
-
readonly "@typescript-eslint/no-duplicate-type-constituents":
|
|
871
|
-
readonly ignoreIntersections: false;
|
|
872
|
-
readonly ignoreUnions: false;
|
|
873
|
-
}];
|
|
485
|
+
readonly "@typescript-eslint/no-duplicate-type-constituents": "error";
|
|
874
486
|
readonly "@typescript-eslint/no-dynamic-delete": "error";
|
|
875
|
-
readonly "@typescript-eslint/no-empty-object-type":
|
|
876
|
-
readonly allowInterfaces: "never";
|
|
877
|
-
readonly allowObjectTypes: "never";
|
|
878
|
-
}];
|
|
487
|
+
readonly "@typescript-eslint/no-empty-object-type": "error";
|
|
879
488
|
readonly "@typescript-eslint/no-explicit-any": readonly ["error", {
|
|
880
489
|
readonly fixToUnknown: true;
|
|
881
|
-
readonly ignoreRestArgs: false;
|
|
882
490
|
}];
|
|
883
491
|
readonly "@typescript-eslint/no-extra-non-null-assertion": "error";
|
|
884
492
|
readonly "@typescript-eslint/no-extraneous-class": readonly ["error", {
|
|
885
|
-
readonly allowConstructorOnly: false;
|
|
886
493
|
readonly allowEmpty: true;
|
|
887
|
-
readonly allowStaticOnly: false;
|
|
888
|
-
readonly allowWithDecorator: false;
|
|
889
494
|
}];
|
|
890
495
|
readonly "@typescript-eslint/no-floating-promises": readonly ["error", {
|
|
891
496
|
readonly checkThenables: true;
|
|
892
|
-
readonly ignoreVoid: true;
|
|
893
|
-
readonly ignoreIIFE: false;
|
|
894
497
|
}];
|
|
895
498
|
readonly "@typescript-eslint/no-for-in-array": "error";
|
|
896
499
|
readonly "@typescript-eslint/no-import-type-side-effects": "error";
|
|
897
|
-
readonly "@typescript-eslint/no-inferrable-types":
|
|
898
|
-
|
|
899
|
-
readonly ignoreProperties: false;
|
|
900
|
-
}];
|
|
901
|
-
readonly "@typescript-eslint/no-invalid-void-type": readonly ["error", {
|
|
902
|
-
readonly allowInGenericTypeArguments: true;
|
|
903
|
-
readonly allowAsThisParameter: false;
|
|
904
|
-
}];
|
|
500
|
+
readonly "@typescript-eslint/no-inferrable-types": "error";
|
|
501
|
+
readonly "@typescript-eslint/no-invalid-void-type": "error";
|
|
905
502
|
readonly "@typescript-eslint/no-meaningless-void-operator": readonly ["error", {
|
|
906
503
|
readonly checkNever: true;
|
|
907
504
|
}];
|
|
908
505
|
readonly "@typescript-eslint/no-misused-new": "error";
|
|
909
|
-
readonly "@typescript-eslint/no-misused-promises":
|
|
910
|
-
|
|
911
|
-
readonly checksSpreads: true;
|
|
912
|
-
readonly checksVoidReturn: {
|
|
913
|
-
readonly arguments: true;
|
|
914
|
-
readonly attributes: true;
|
|
915
|
-
readonly properties: true;
|
|
916
|
-
readonly returns: true;
|
|
917
|
-
readonly variables: true;
|
|
918
|
-
};
|
|
919
|
-
}];
|
|
920
|
-
readonly "@typescript-eslint/no-misused-spread": readonly ["error", {
|
|
921
|
-
readonly allow: readonly [];
|
|
922
|
-
}];
|
|
506
|
+
readonly "@typescript-eslint/no-misused-promises": "error";
|
|
507
|
+
readonly "@typescript-eslint/no-misused-spread": "error";
|
|
923
508
|
readonly "@typescript-eslint/no-mixed-enums": "error";
|
|
924
509
|
readonly "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error";
|
|
925
510
|
readonly "@typescript-eslint/no-non-null-asserted-optional-chain": "error";
|
|
926
511
|
readonly "@typescript-eslint/no-redundant-type-constituents": "error";
|
|
927
|
-
readonly "@typescript-eslint/no-require-imports":
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
readonly "@typescript-eslint/no-
|
|
931
|
-
readonly allowDestructuring: true;
|
|
932
|
-
readonly allowedNames: readonly [];
|
|
933
|
-
}];
|
|
934
|
-
readonly "@typescript-eslint/no-unnecessary-boolean-literal-compare": readonly ["error", {
|
|
935
|
-
readonly allowComparingNullableBooleansToTrue: true;
|
|
936
|
-
readonly allowComparingNullableBooleansToFalse: true;
|
|
937
|
-
}];
|
|
938
|
-
readonly "@typescript-eslint/no-unnecessary-condition": readonly ["error", {
|
|
939
|
-
readonly allowConstantLoopConditions: "never";
|
|
940
|
-
readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
|
|
941
|
-
}];
|
|
512
|
+
readonly "@typescript-eslint/no-require-imports": "error";
|
|
513
|
+
readonly "@typescript-eslint/no-this-alias": "error";
|
|
514
|
+
readonly "@typescript-eslint/no-unnecessary-boolean-literal-compare": "error";
|
|
515
|
+
readonly "@typescript-eslint/no-unnecessary-condition": "error";
|
|
942
516
|
readonly "@typescript-eslint/no-unnecessary-parameter-property-assignment": "error";
|
|
943
517
|
readonly "@typescript-eslint/no-unnecessary-qualifier": "error";
|
|
944
518
|
readonly "@typescript-eslint/no-unnecessary-template-expression": "error";
|
|
945
519
|
readonly "@typescript-eslint/no-unnecessary-type-arguments": "error";
|
|
946
|
-
readonly "@typescript-eslint/no-unnecessary-type-assertion":
|
|
947
|
-
readonly checkLiteralConstAssertions: false;
|
|
948
|
-
readonly typesToIgnore: readonly [];
|
|
949
|
-
}];
|
|
520
|
+
readonly "@typescript-eslint/no-unnecessary-type-assertion": "error";
|
|
950
521
|
readonly "@typescript-eslint/no-unnecessary-type-constraint": "error";
|
|
951
522
|
readonly "@typescript-eslint/no-unnecessary-type-conversion": "error";
|
|
952
523
|
readonly "@typescript-eslint/no-unnecessary-type-parameters": "error";
|
|
@@ -970,141 +541,60 @@ export declare const rules: {
|
|
|
970
541
|
readonly "@typescript-eslint/prefer-for-of": "error";
|
|
971
542
|
readonly "@typescript-eslint/prefer-function-type": "error";
|
|
972
543
|
readonly "@typescript-eslint/prefer-includes": "error";
|
|
973
|
-
readonly "@typescript-eslint/prefer-literal-enum-member":
|
|
974
|
-
readonly allowBitwiseExpressions: false;
|
|
975
|
-
}];
|
|
544
|
+
readonly "@typescript-eslint/prefer-literal-enum-member": "error";
|
|
976
545
|
readonly "@typescript-eslint/prefer-namespace-keyword": "error";
|
|
977
|
-
readonly "@typescript-eslint/prefer-nullish-coalescing":
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
readonly ignoreConditionalTests: false;
|
|
981
|
-
readonly ignoreIfStatements: false;
|
|
982
|
-
readonly ignoreMixedLogicalExpressions: false;
|
|
983
|
-
readonly ignorePrimitives: {
|
|
984
|
-
readonly bigint: false;
|
|
985
|
-
readonly boolean: false;
|
|
986
|
-
readonly number: false;
|
|
987
|
-
readonly string: false;
|
|
988
|
-
};
|
|
989
|
-
readonly ignoreTernaryTests: false;
|
|
990
|
-
}];
|
|
991
|
-
readonly "@typescript-eslint/prefer-optional-chain": readonly ["error", {
|
|
992
|
-
readonly allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false;
|
|
993
|
-
readonly checkAny: true;
|
|
994
|
-
readonly checkBigInt: true;
|
|
995
|
-
readonly checkBoolean: true;
|
|
996
|
-
readonly checkNumber: true;
|
|
997
|
-
readonly checkString: true;
|
|
998
|
-
readonly checkUnknown: true;
|
|
999
|
-
readonly requireNullish: false;
|
|
1000
|
-
}];
|
|
1001
|
-
readonly "@typescript-eslint/prefer-readonly": readonly ["error", {
|
|
1002
|
-
readonly onlyInlineLambdas: false;
|
|
1003
|
-
}];
|
|
546
|
+
readonly "@typescript-eslint/prefer-nullish-coalescing": "error";
|
|
547
|
+
readonly "@typescript-eslint/prefer-optional-chain": "error";
|
|
548
|
+
readonly "@typescript-eslint/prefer-readonly": "error";
|
|
1004
549
|
readonly "@typescript-eslint/prefer-reduce-type-parameter": "error";
|
|
1005
550
|
readonly "@typescript-eslint/prefer-regexp-exec": "error";
|
|
1006
551
|
readonly "@typescript-eslint/prefer-return-this-type": "error";
|
|
1007
|
-
readonly "@typescript-eslint/prefer-string-starts-ends-with":
|
|
1008
|
-
|
|
1009
|
-
}];
|
|
1010
|
-
readonly "@typescript-eslint/promise-function-async": readonly ["error", {
|
|
1011
|
-
readonly allowAny: false;
|
|
1012
|
-
readonly allowedPromiseNames: readonly [];
|
|
1013
|
-
readonly checkArrowFunctions: true;
|
|
1014
|
-
readonly checkFunctionDeclarations: true;
|
|
1015
|
-
readonly checkFunctionExpressions: true;
|
|
1016
|
-
readonly checkMethodDeclarations: true;
|
|
1017
|
-
}];
|
|
552
|
+
readonly "@typescript-eslint/prefer-string-starts-ends-with": "error";
|
|
553
|
+
readonly "@typescript-eslint/promise-function-async": "error";
|
|
1018
554
|
readonly "@typescript-eslint/related-getter-setter-pairs": "error";
|
|
1019
|
-
readonly "@typescript-eslint/require-array-sort-compare":
|
|
1020
|
-
readonly ignoreStringArrays: true;
|
|
1021
|
-
}];
|
|
555
|
+
readonly "@typescript-eslint/require-array-sort-compare": "error";
|
|
1022
556
|
readonly "@typescript-eslint/restrict-plus-operands": readonly ["error", {
|
|
1023
557
|
readonly allowAny: false;
|
|
1024
558
|
readonly allowBoolean: false;
|
|
1025
559
|
readonly allowNullish: false;
|
|
1026
560
|
readonly allowNumberAndString: false;
|
|
1027
561
|
readonly allowRegExp: false;
|
|
1028
|
-
readonly skipCompoundAssignments: false;
|
|
1029
562
|
}];
|
|
1030
563
|
readonly "@typescript-eslint/restrict-template-expressions": readonly ["error", {
|
|
1031
|
-
readonly allowAny: true;
|
|
1032
|
-
readonly allowArray: true;
|
|
1033
|
-
readonly allowBoolean: true;
|
|
1034
564
|
readonly allowNullish: false;
|
|
1035
|
-
readonly allowNumber: true;
|
|
1036
565
|
readonly allowNever: false;
|
|
1037
566
|
readonly allowRegExp: false;
|
|
1038
567
|
}];
|
|
1039
|
-
readonly "@typescript-eslint/return-await":
|
|
568
|
+
readonly "@typescript-eslint/return-await": "error";
|
|
1040
569
|
readonly "@typescript-eslint/strict-boolean-expressions": readonly ["error", {
|
|
1041
|
-
readonly allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false;
|
|
1042
|
-
readonly allowAny: false;
|
|
1043
|
-
readonly allowNumber: true;
|
|
1044
|
-
readonly allowString: false;
|
|
1045
|
-
readonly allowNullableBoolean: false;
|
|
1046
|
-
readonly allowNullableEnum: false;
|
|
1047
|
-
readonly allowNullableNumber: false;
|
|
1048
570
|
readonly allowNullableObject: false;
|
|
1049
|
-
readonly
|
|
1050
|
-
}];
|
|
1051
|
-
readonly "@typescript-eslint/switch-exhaustiveness-check": readonly ["error", {
|
|
1052
|
-
readonly allowDefaultCaseForExhaustiveSwitch: false;
|
|
1053
|
-
readonly considerDefaultExhaustiveForUnions: true;
|
|
1054
|
-
readonly requireDefaultForNonUnion: true;
|
|
1055
|
-
}];
|
|
1056
|
-
readonly "@typescript-eslint/triple-slash-reference": readonly ["error", {
|
|
1057
|
-
readonly lib: "never";
|
|
1058
|
-
readonly path: "never";
|
|
1059
|
-
readonly types: "never";
|
|
1060
|
-
}];
|
|
1061
|
-
readonly "@typescript-eslint/unbound-method": readonly ["error", {
|
|
1062
|
-
readonly ignoreStatic: false;
|
|
1063
|
-
}];
|
|
1064
|
-
readonly "@typescript-eslint/unified-signatures": readonly ["error", {
|
|
1065
|
-
readonly ignoreDifferentlyNamedParameters: false;
|
|
571
|
+
readonly allowString: false;
|
|
1066
572
|
}];
|
|
573
|
+
readonly "@typescript-eslint/switch-exhaustiveness-check": "error";
|
|
574
|
+
readonly "@typescript-eslint/unbound-method": "error";
|
|
575
|
+
readonly "@typescript-eslint/unified-signatures": "error";
|
|
1067
576
|
readonly "@typescript-eslint/use-unknown-in-catch-callback-variable": "error";
|
|
1068
577
|
};
|
|
1069
578
|
} | {
|
|
1070
579
|
id: "enable/extension";
|
|
1071
580
|
rules: {
|
|
1072
581
|
readonly "@typescript-eslint/dot-notation": readonly ["error", {
|
|
1073
|
-
readonly allowKeywords: true;
|
|
1074
582
|
readonly allowPrivateClassPropertyAccess: true;
|
|
1075
583
|
readonly allowProtectedClassPropertyAccess: true;
|
|
1076
584
|
readonly allowIndexSignaturePropertyAccess: true;
|
|
1077
585
|
}];
|
|
1078
586
|
readonly "@typescript-eslint/no-implied-eval": "error";
|
|
1079
|
-
readonly "@typescript-eslint/no-unused-vars":
|
|
1080
|
-
readonly vars: "all";
|
|
1081
|
-
readonly args: "all";
|
|
1082
|
-
readonly caughtErrors: "all";
|
|
1083
|
-
readonly ignoreRestSiblings: false;
|
|
1084
|
-
readonly ignoreClassWithStaticInitBlock: false;
|
|
1085
|
-
readonly reportUsedIgnorePattern: true;
|
|
1086
|
-
}];
|
|
587
|
+
readonly "@typescript-eslint/no-unused-vars": "error";
|
|
1087
588
|
readonly "@typescript-eslint/only-throw-error": readonly ["error", {
|
|
1088
|
-
readonly allowRethrowing: true;
|
|
1089
589
|
readonly allowThrowingAny: false;
|
|
1090
|
-
readonly allowThrowingUnknown: false;
|
|
1091
590
|
}];
|
|
1092
591
|
readonly "@typescript-eslint/prefer-destructuring": readonly ["error", {
|
|
1093
|
-
readonly VariableDeclarator: {
|
|
1094
|
-
readonly array: true;
|
|
1095
|
-
readonly object: true;
|
|
1096
|
-
};
|
|
1097
592
|
readonly AssignmentExpression: {
|
|
1098
593
|
readonly array: false;
|
|
1099
594
|
readonly object: false;
|
|
1100
595
|
};
|
|
1101
|
-
}, {
|
|
1102
|
-
readonly enforceForRenamedProperties: false;
|
|
1103
|
-
readonly enforceForDeclarationWithTypeAnnotation: false;
|
|
1104
596
|
}];
|
|
1105
597
|
readonly "@typescript-eslint/prefer-promise-reject-errors": readonly ["error", {
|
|
1106
|
-
readonly allowEmptyReject: false;
|
|
1107
|
-
readonly allowThrowingAny: false;
|
|
1108
598
|
readonly allowThrowingUnknown: true;
|
|
1109
599
|
}];
|
|
1110
600
|
readonly "@typescript-eslint/require-await": "error";
|
|
@@ -1119,12 +609,8 @@ export declare const rules: {
|
|
|
1119
609
|
} | {
|
|
1120
610
|
id: "enable";
|
|
1121
611
|
rules: {
|
|
1122
|
-
readonly "mocha/handle-done-callback":
|
|
1123
|
-
|
|
1124
|
-
}];
|
|
1125
|
-
readonly "mocha/max-top-level-suites": readonly ["error", {
|
|
1126
|
-
readonly limit: 1;
|
|
1127
|
-
}];
|
|
612
|
+
readonly "mocha/handle-done-callback": "error";
|
|
613
|
+
readonly "mocha/max-top-level-suites": "error";
|
|
1128
614
|
readonly "mocha/no-async-suite": "error";
|
|
1129
615
|
readonly "mocha/no-empty-title": "error";
|
|
1130
616
|
readonly "mocha/no-exclusive-tests": "error";
|
|
@@ -1138,10 +624,7 @@ export declare const rules: {
|
|
|
1138
624
|
readonly "mocha/no-return-from-async": "error";
|
|
1139
625
|
readonly "mocha/no-sibling-hooks": "error";
|
|
1140
626
|
readonly "mocha/no-top-level-hooks": "error";
|
|
1141
|
-
readonly "mocha/prefer-arrow-callback":
|
|
1142
|
-
readonly allowNamedFunctions: false;
|
|
1143
|
-
readonly allowUnboundThis: true;
|
|
1144
|
-
}];
|
|
627
|
+
readonly "mocha/prefer-arrow-callback": "error";
|
|
1145
628
|
};
|
|
1146
629
|
} | {
|
|
1147
630
|
id: string;
|
|
@@ -1149,8 +632,6 @@ export declare const rules: {
|
|
|
1149
632
|
readonly "chai-friendly/no-unused-expressions": readonly ["error", {
|
|
1150
633
|
readonly allowShortCircuit: true;
|
|
1151
634
|
readonly allowTernary: true;
|
|
1152
|
-
readonly allowTaggedTemplates: true;
|
|
1153
|
-
readonly enforceForJSX: false;
|
|
1154
635
|
}];
|
|
1155
636
|
};
|
|
1156
637
|
} | {
|
|
@@ -1190,67 +671,40 @@ export declare const rules: {
|
|
|
1190
671
|
readonly "svelte/no-not-function-handler": "error";
|
|
1191
672
|
readonly "svelte/no-object-in-text-mustaches": "error";
|
|
1192
673
|
readonly "svelte/no-raw-special-elements": "error";
|
|
1193
|
-
readonly "svelte/no-reactive-reassign":
|
|
1194
|
-
readonly props: true;
|
|
1195
|
-
}];
|
|
674
|
+
readonly "svelte/no-reactive-reassign": "error";
|
|
1196
675
|
readonly "svelte/no-shorthand-style-property-overrides": "error";
|
|
1197
676
|
readonly "svelte/no-store-async": "error";
|
|
1198
677
|
readonly "svelte/no-top-level-browser-globals": "error";
|
|
1199
|
-
readonly "svelte/no-unknown-style-directive-property":
|
|
1200
|
-
readonly ignorePrefixed: true;
|
|
1201
|
-
}];
|
|
678
|
+
readonly "svelte/no-unknown-style-directive-property": "error";
|
|
1202
679
|
readonly "svelte/prefer-svelte-reactivity": "error";
|
|
1203
680
|
readonly "svelte/require-store-callbacks-use-set-param": "error";
|
|
1204
681
|
readonly "svelte/require-store-reactive-access": "error";
|
|
1205
|
-
readonly "svelte/valid-compile":
|
|
1206
|
-
readonly ignoreWarnings: false;
|
|
1207
|
-
}];
|
|
682
|
+
readonly "svelte/valid-compile": "error";
|
|
1208
683
|
readonly "svelte/valid-style-parse": "error";
|
|
1209
684
|
readonly "svelte/no-at-html-tags": "error";
|
|
1210
|
-
readonly "svelte/no-target-blank":
|
|
1211
|
-
readonly allowReferrer: false;
|
|
1212
|
-
readonly enforceDynamicLinks: "always";
|
|
1213
|
-
}];
|
|
685
|
+
readonly "svelte/no-target-blank": "error";
|
|
1214
686
|
readonly "svelte/block-lang": readonly ["error", {
|
|
1215
|
-
readonly enforceScriptPresent: true;
|
|
1216
|
-
readonly enforceStylePresent: false;
|
|
1217
687
|
readonly script: readonly ["ts"];
|
|
1218
|
-
readonly style: readonly ["css"
|
|
1219
|
-
}];
|
|
1220
|
-
readonly "svelte/button-has-type": readonly ["error", {
|
|
1221
|
-
readonly button: true;
|
|
1222
|
-
readonly submit: true;
|
|
1223
|
-
readonly reset: true;
|
|
688
|
+
readonly style: readonly ["css"];
|
|
1224
689
|
}];
|
|
690
|
+
readonly "svelte/button-has-type": "error";
|
|
1225
691
|
readonly "svelte/no-add-event-listener": "error";
|
|
1226
692
|
readonly "svelte/no-at-debug-tags": "error";
|
|
1227
693
|
readonly "svelte/no-ignored-unsubscribe": "error";
|
|
1228
694
|
readonly "svelte/no-immutable-reactive-statements": "error";
|
|
1229
|
-
readonly "svelte/no-inline-styles":
|
|
1230
|
-
readonly allowTransitions: false;
|
|
1231
|
-
}];
|
|
695
|
+
readonly "svelte/no-inline-styles": "error";
|
|
1232
696
|
readonly "svelte/no-reactive-functions": "error";
|
|
1233
697
|
readonly "svelte/no-reactive-literals": "error";
|
|
1234
698
|
readonly "svelte/no-svelte-internal": "error";
|
|
1235
|
-
readonly "svelte/no-unnecessary-state-wrap":
|
|
1236
|
-
readonly additionalReactiveClasses: readonly [];
|
|
1237
|
-
readonly allowReassign: false;
|
|
1238
|
-
}];
|
|
699
|
+
readonly "svelte/no-unnecessary-state-wrap": "error";
|
|
1239
700
|
readonly "svelte/no-unused-props": readonly ["error", {
|
|
1240
701
|
readonly checkImportedTypes: true;
|
|
1241
|
-
readonly ignorePropertyPatterns: readonly [];
|
|
1242
|
-
readonly ignoreTypePatterns: readonly [];
|
|
1243
|
-
readonly allowUnusedNestedProperties: false;
|
|
1244
702
|
}];
|
|
1245
703
|
readonly "svelte/no-unused-svelte-ignore": "error";
|
|
1246
704
|
readonly "svelte/no-useless-children-snippet": "error";
|
|
1247
|
-
readonly "svelte/no-useless-mustaches":
|
|
1248
|
-
readonly ignoreIncludesComment: false;
|
|
1249
|
-
readonly ignoreStringEscape: false;
|
|
1250
|
-
}];
|
|
705
|
+
readonly "svelte/no-useless-mustaches": "error";
|
|
1251
706
|
readonly "svelte/prefer-const": readonly ["error", {
|
|
1252
707
|
readonly destructuring: "all";
|
|
1253
|
-
readonly ignoreReadBeforeAssign: false;
|
|
1254
708
|
}];
|
|
1255
709
|
readonly "svelte/prefer-destructured-store-props": "error";
|
|
1256
710
|
readonly "svelte/prefer-writable-derived": "error";
|
|
@@ -1261,98 +715,48 @@ export declare const rules: {
|
|
|
1261
715
|
readonly "svelte/valid-each-key": "error";
|
|
1262
716
|
readonly "svelte/consistent-selector-style": readonly ["error", {
|
|
1263
717
|
readonly checkGlobal: true;
|
|
1264
|
-
readonly style: readonly ["type", "id", "class"];
|
|
1265
718
|
}];
|
|
1266
719
|
readonly "svelte/derived-has-same-inputs-outputs": "error";
|
|
1267
720
|
readonly "svelte/first-attribute-linebreak": readonly ["error", {
|
|
1268
|
-
readonly multiline: "below";
|
|
1269
721
|
readonly singleline: "below";
|
|
1270
722
|
}];
|
|
1271
|
-
readonly "svelte/html-closing-bracket-new-line":
|
|
1272
|
-
readonly singleline: "never";
|
|
1273
|
-
readonly multiline: "always";
|
|
1274
|
-
readonly selfClosingTag: {
|
|
1275
|
-
readonly singleline: "never";
|
|
1276
|
-
readonly multiline: "always";
|
|
1277
|
-
};
|
|
1278
|
-
}];
|
|
723
|
+
readonly "svelte/html-closing-bracket-new-line": "error";
|
|
1279
724
|
readonly "svelte/html-closing-bracket-spacing": readonly ["error", {
|
|
1280
|
-
readonly startTag: "never";
|
|
1281
|
-
readonly endTag: "never";
|
|
1282
725
|
readonly selfClosingTag: "never";
|
|
1283
726
|
}];
|
|
1284
727
|
readonly "svelte/html-quotes": readonly ["error", {
|
|
1285
728
|
readonly prefer: "double";
|
|
1286
729
|
readonly dynamic: {
|
|
1287
|
-
readonly quoted: false;
|
|
1288
730
|
readonly avoidInvalidUnquotedInHTML: true;
|
|
1289
731
|
};
|
|
1290
732
|
}];
|
|
1291
|
-
readonly "svelte/html-self-closing":
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
readonly normal: "ignore";
|
|
1296
|
-
}];
|
|
1297
|
-
readonly "svelte/indent": readonly ["error", {
|
|
1298
|
-
readonly indent: 2;
|
|
1299
|
-
readonly indentScript: true;
|
|
1300
|
-
readonly ignoredNodes: readonly [];
|
|
1301
|
-
readonly switchCase: 1;
|
|
1302
|
-
readonly alignAttributesVertically: false;
|
|
1303
|
-
}];
|
|
1304
|
-
readonly "svelte/max-attributes-per-line": readonly ["error", {
|
|
1305
|
-
readonly multiline: 1;
|
|
1306
|
-
readonly singleline: 1;
|
|
1307
|
-
}];
|
|
1308
|
-
readonly "svelte/mustache-spacing": readonly ["error", {
|
|
1309
|
-
readonly textExpressions: "never";
|
|
1310
|
-
readonly attributesAndProps: "never";
|
|
1311
|
-
readonly directiveExpressions: "never";
|
|
1312
|
-
readonly tags: {
|
|
1313
|
-
readonly openingBrace: "never";
|
|
1314
|
-
readonly closingBrace: "never";
|
|
1315
|
-
};
|
|
1316
|
-
}];
|
|
733
|
+
readonly "svelte/html-self-closing": "error";
|
|
734
|
+
readonly "svelte/indent": "error";
|
|
735
|
+
readonly "svelte/max-attributes-per-line": "error";
|
|
736
|
+
readonly "svelte/mustache-spacing": "error";
|
|
1317
737
|
readonly "svelte/no-extra-reactive-curlies": "error";
|
|
1318
738
|
readonly "svelte/no-spaces-around-equal-signs-in-attribute": "error";
|
|
1319
739
|
readonly "svelte/prefer-class-directive": readonly ["error", {
|
|
1320
740
|
readonly prefer: "empty";
|
|
1321
741
|
}];
|
|
1322
742
|
readonly "svelte/prefer-style-directive": "error";
|
|
1323
|
-
readonly "svelte/require-event-prefix":
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
readonly "svelte/
|
|
1327
|
-
readonly prefer: "always";
|
|
1328
|
-
}];
|
|
1329
|
-
readonly "svelte/shorthand-directive": readonly ["error", {
|
|
1330
|
-
readonly prefer: "always";
|
|
1331
|
-
}];
|
|
1332
|
-
readonly "svelte/spaced-html-comment": readonly ["error", "always"];
|
|
743
|
+
readonly "svelte/require-event-prefix": "error";
|
|
744
|
+
readonly "svelte/shorthand-attribute": "error";
|
|
745
|
+
readonly "svelte/shorthand-directive": "error";
|
|
746
|
+
readonly "svelte/spaced-html-comment": "error";
|
|
1333
747
|
readonly "svelte/no-export-load-in-svelte-module-in-kit-pages": "error";
|
|
1334
748
|
readonly "svelte/no-navigation-without-base": readonly ["error", {
|
|
1335
|
-
readonly ignoreGoto: false;
|
|
1336
749
|
readonly ignoreLinks: true;
|
|
1337
|
-
readonly ignorePushState: false;
|
|
1338
|
-
readonly ignoreReplaceState: false;
|
|
1339
750
|
}];
|
|
1340
751
|
readonly "svelte/valid-prop-names-in-kit-pages": "error";
|
|
1341
|
-
readonly "svelte/comment-directive":
|
|
1342
|
-
readonly reportUnusedDisableDirectives: true;
|
|
1343
|
-
}];
|
|
752
|
+
readonly "svelte/comment-directive": "error";
|
|
1344
753
|
readonly "svelte/system": "error";
|
|
1345
754
|
};
|
|
1346
755
|
} | {
|
|
1347
756
|
id: "enable/extension";
|
|
1348
757
|
rules: {
|
|
1349
|
-
readonly "svelte/no-inner-declarations": readonly ["error", "both"
|
|
1350
|
-
|
|
1351
|
-
}];
|
|
1352
|
-
readonly "svelte/no-trailing-spaces": readonly ["error", {
|
|
1353
|
-
readonly skipBlankLines: false;
|
|
1354
|
-
readonly ignoreComments: false;
|
|
1355
|
-
}];
|
|
758
|
+
readonly "svelte/no-inner-declarations": readonly ["error", "both"];
|
|
759
|
+
readonly "svelte/no-trailing-spaces": "error";
|
|
1356
760
|
};
|
|
1357
761
|
})[];
|
|
1358
762
|
html: {
|
|
@@ -1367,16 +771,11 @@ export declare const rules: {
|
|
|
1367
771
|
readonly "@html-eslint/no-obsolete-tags": "error";
|
|
1368
772
|
readonly "@html-eslint/no-target-blank": "error";
|
|
1369
773
|
readonly "@html-eslint/require-button-type": "error";
|
|
1370
|
-
readonly "@html-eslint/require-closing-tags":
|
|
1371
|
-
readonly selfClosing: "never";
|
|
1372
|
-
readonly selfClosingCustomPatterns: readonly [""];
|
|
1373
|
-
}];
|
|
774
|
+
readonly "@html-eslint/require-closing-tags": "error";
|
|
1374
775
|
readonly "@html-eslint/require-doctype": "error";
|
|
1375
776
|
readonly "@html-eslint/require-li-container": "error";
|
|
1376
777
|
readonly "@html-eslint/require-meta-charset": "error";
|
|
1377
|
-
readonly "@html-eslint/use-baseline":
|
|
1378
|
-
readonly available: "widely";
|
|
1379
|
-
}];
|
|
778
|
+
readonly "@html-eslint/use-baseline": "error";
|
|
1380
779
|
readonly "@html-eslint/no-multiple-h1": "error";
|
|
1381
780
|
readonly "@html-eslint/require-lang": "error";
|
|
1382
781
|
readonly "@html-eslint/no-abstract-roles": "error";
|
|
@@ -1391,14 +790,11 @@ export declare const rules: {
|
|
|
1391
790
|
readonly "@html-eslint/no-skip-heading-levels": "error";
|
|
1392
791
|
readonly "@html-eslint/require-form-method": "error";
|
|
1393
792
|
readonly "@html-eslint/require-frame-title": "error";
|
|
1394
|
-
readonly "@html-eslint/require-img-alt":
|
|
1395
|
-
readonly substitute: readonly [];
|
|
1396
|
-
}];
|
|
793
|
+
readonly "@html-eslint/require-img-alt": "error";
|
|
1397
794
|
readonly "@html-eslint/require-input-label": "error";
|
|
1398
795
|
readonly "@html-eslint/require-meta-viewport": "error";
|
|
1399
796
|
readonly "@html-eslint/attrs-newline": readonly ["error", {
|
|
1400
797
|
readonly ifAttrsMoreThan: 0;
|
|
1401
|
-
readonly closeStyle: "newline";
|
|
1402
798
|
}];
|
|
1403
799
|
readonly "@html-eslint/element-newline": readonly ["error", {
|
|
1404
800
|
readonly skip: readonly ["head"];
|
|
@@ -1407,21 +803,16 @@ export declare const rules: {
|
|
|
1407
803
|
readonly "@html-eslint/indent": readonly ["error", 2];
|
|
1408
804
|
readonly "@html-eslint/lowercase": "error";
|
|
1409
805
|
readonly "@html-eslint/no-extra-spacing-attrs": readonly ["error", {
|
|
1410
|
-
readonly enforceBeforeSelfClose: false;
|
|
1411
806
|
readonly disallowMissing: true;
|
|
1412
807
|
readonly disallowTabs: true;
|
|
1413
808
|
readonly disallowInAssignment: true;
|
|
1414
809
|
}];
|
|
1415
|
-
readonly "@html-eslint/no-extra-spacing-text":
|
|
1416
|
-
readonly skip: readonly [];
|
|
1417
|
-
}];
|
|
810
|
+
readonly "@html-eslint/no-extra-spacing-text": "error";
|
|
1418
811
|
readonly "@html-eslint/no-multiple-empty-lines": readonly ["error", {
|
|
1419
812
|
readonly max: 1;
|
|
1420
813
|
}];
|
|
1421
814
|
readonly "@html-eslint/no-trailing-spaces": "error";
|
|
1422
|
-
readonly "@html-eslint/quotes":
|
|
1423
|
-
readonly enforceTemplatedAttrValue: false;
|
|
1424
|
-
}];
|
|
815
|
+
readonly "@html-eslint/quotes": "error";
|
|
1425
816
|
};
|
|
1426
817
|
}[];
|
|
1427
818
|
css: {
|
|
@@ -1433,16 +824,11 @@ export declare const rules: {
|
|
|
1433
824
|
readonly "css/no-invalid-at-rule-placement": "error";
|
|
1434
825
|
readonly "css/no-invalid-at-rules": "error";
|
|
1435
826
|
readonly "css/no-invalid-named-grid-areas": "error";
|
|
1436
|
-
readonly "css/prefer-logical-properties":
|
|
1437
|
-
readonly allowProperties: readonly [];
|
|
1438
|
-
readonly allowUnits: readonly [];
|
|
1439
|
-
}];
|
|
827
|
+
readonly "css/prefer-logical-properties": "error";
|
|
1440
828
|
readonly "css/relative-font-units": readonly ["error", {
|
|
1441
829
|
readonly allowUnits: readonly ["rem", "%"];
|
|
1442
830
|
}];
|
|
1443
|
-
readonly "css/use-baseline":
|
|
1444
|
-
readonly available: "widely";
|
|
1445
|
-
}];
|
|
831
|
+
readonly "css/use-baseline": "error";
|
|
1446
832
|
};
|
|
1447
833
|
}[];
|
|
1448
834
|
json: ({
|
|
@@ -1479,20 +865,12 @@ export declare const rules: {
|
|
|
1479
865
|
} | {
|
|
1480
866
|
id: "enable/plugin/extension";
|
|
1481
867
|
rules: {
|
|
1482
|
-
readonly "jsonc/array-bracket-spacing":
|
|
1483
|
-
readonly singleValue: false;
|
|
1484
|
-
readonly objectsInArrays: false;
|
|
1485
|
-
readonly arraysInArrays: false;
|
|
1486
|
-
}];
|
|
868
|
+
readonly "jsonc/array-bracket-spacing": "error";
|
|
1487
869
|
readonly "jsonc/array-element-newline": readonly ["error", "consistent"];
|
|
1488
|
-
readonly "jsonc/comma-dangle":
|
|
1489
|
-
readonly "jsonc/comma-style":
|
|
870
|
+
readonly "jsonc/comma-dangle": "error";
|
|
871
|
+
readonly "jsonc/comma-style": "error";
|
|
1490
872
|
readonly "jsonc/indent": readonly ["error", 2];
|
|
1491
|
-
readonly "jsonc/key-spacing":
|
|
1492
|
-
readonly beforeColon: false;
|
|
1493
|
-
readonly afterColon: true;
|
|
1494
|
-
readonly mode: "strict";
|
|
1495
|
-
}];
|
|
873
|
+
readonly "jsonc/key-spacing": "error";
|
|
1496
874
|
readonly "jsonc/no-floating-decimal": "error";
|
|
1497
875
|
readonly "jsonc/no-irregular-whitespace": readonly ["error", {
|
|
1498
876
|
readonly skipStrings: true;
|
|
@@ -1511,15 +889,10 @@ export declare const rules: {
|
|
|
1511
889
|
readonly multiline: true;
|
|
1512
890
|
readonly minProperties: 2;
|
|
1513
891
|
}];
|
|
1514
|
-
readonly "jsonc/object-curly-spacing": readonly ["error", "always"
|
|
1515
|
-
readonly arraysInObjects: true;
|
|
1516
|
-
readonly objectsInObjects: true;
|
|
1517
|
-
}];
|
|
892
|
+
readonly "jsonc/object-curly-spacing": readonly ["error", "always"];
|
|
1518
893
|
readonly "jsonc/object-property-newline": "error";
|
|
1519
|
-
readonly "jsonc/quote-props":
|
|
1520
|
-
readonly "jsonc/quotes":
|
|
1521
|
-
readonly avoidEscape: false;
|
|
1522
|
-
}];
|
|
894
|
+
readonly "jsonc/quote-props": "error";
|
|
895
|
+
readonly "jsonc/quotes": "error";
|
|
1523
896
|
readonly "jsonc/space-unary-ops": "error";
|
|
1524
897
|
};
|
|
1525
898
|
})[];
|
|
@@ -1538,34 +911,20 @@ export declare const rules: {
|
|
|
1538
911
|
yml: ({
|
|
1539
912
|
id: "enable/plugin";
|
|
1540
913
|
rules: {
|
|
1541
|
-
readonly "yml/block-mapping-colon-indicator-newline":
|
|
1542
|
-
readonly "yml/block-mapping-question-indicator-newline":
|
|
1543
|
-
readonly "yml/block-mapping":
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
}];
|
|
1547
|
-
readonly "yml/block-sequence-hyphen-indicator-newline": readonly ["error", "never", {
|
|
1548
|
-
readonly nestedHyphen: "always";
|
|
1549
|
-
readonly blockMapping: "never";
|
|
1550
|
-
}];
|
|
1551
|
-
readonly "yml/block-sequence": readonly ["error", {
|
|
1552
|
-
readonly singleline: "ignore";
|
|
1553
|
-
readonly multiline: "always";
|
|
1554
|
-
}];
|
|
914
|
+
readonly "yml/block-mapping-colon-indicator-newline": "error";
|
|
915
|
+
readonly "yml/block-mapping-question-indicator-newline": "error";
|
|
916
|
+
readonly "yml/block-mapping": "error";
|
|
917
|
+
readonly "yml/block-sequence-hyphen-indicator-newline": "error";
|
|
918
|
+
readonly "yml/block-sequence": "error";
|
|
1555
919
|
readonly "yml/indent": readonly ["error", 2, {
|
|
1556
920
|
readonly alignMultilineFlowScalars: true;
|
|
1557
|
-
readonly indentBlockSequences: true;
|
|
1558
|
-
readonly indicatorValueIndent: 2;
|
|
1559
921
|
}];
|
|
1560
922
|
readonly "yml/no-empty-key": "error";
|
|
1561
923
|
readonly "yml/no-empty-sequence-entry": "error";
|
|
1562
924
|
readonly "yml/no-tab-indent": "error";
|
|
1563
925
|
readonly "yml/no-trailing-zeros": "error";
|
|
1564
|
-
readonly "yml/plain-scalar":
|
|
1565
|
-
readonly "yml/quotes":
|
|
1566
|
-
readonly prefer: "double";
|
|
1567
|
-
readonly avoidEscape: true;
|
|
1568
|
-
}];
|
|
926
|
+
readonly "yml/plain-scalar": "error";
|
|
927
|
+
readonly "yml/quotes": "error";
|
|
1569
928
|
readonly "yml/require-string-key": "error";
|
|
1570
929
|
readonly "yml/vue-custom-block/no-parsing-error": "error";
|
|
1571
930
|
};
|
|
@@ -1577,28 +936,11 @@ export declare const rules: {
|
|
|
1577
936
|
readonly multiline: true;
|
|
1578
937
|
readonly minProperties: 2;
|
|
1579
938
|
}];
|
|
1580
|
-
readonly "yml/flow-mapping-curly-spacing": readonly ["error", "always"
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
readonly "yml/
|
|
1585
|
-
readonly multiline: true;
|
|
1586
|
-
readonly minItems: null;
|
|
1587
|
-
}];
|
|
1588
|
-
readonly "yml/flow-sequence-bracket-spacing": readonly ["error", "never", {
|
|
1589
|
-
readonly singleValue: false;
|
|
1590
|
-
readonly objectsInArrays: false;
|
|
1591
|
-
readonly arraysInArrays: false;
|
|
1592
|
-
}];
|
|
1593
|
-
readonly "yml/key-spacing": readonly ["error", {
|
|
1594
|
-
readonly beforeColon: false;
|
|
1595
|
-
readonly afterColon: true;
|
|
1596
|
-
readonly mode: "strict";
|
|
1597
|
-
}];
|
|
1598
|
-
readonly "yml/no-irregular-whitespace": readonly ["error", {
|
|
1599
|
-
readonly skipQuotedScalars: true;
|
|
1600
|
-
readonly skipComments: false;
|
|
1601
|
-
}];
|
|
939
|
+
readonly "yml/flow-mapping-curly-spacing": readonly ["error", "always"];
|
|
940
|
+
readonly "yml/flow-sequence-bracket-newline": "error";
|
|
941
|
+
readonly "yml/flow-sequence-bracket-spacing": "error";
|
|
942
|
+
readonly "yml/key-spacing": "error";
|
|
943
|
+
readonly "yml/no-irregular-whitespace": "error";
|
|
1602
944
|
readonly "yml/no-multiple-empty-lines": readonly ["error", {
|
|
1603
945
|
readonly max: 1;
|
|
1604
946
|
readonly maxBOF: 0;
|