@eslinted/defaults 12.8.1 → 12.10.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 +60 -572
- package/dist/index.d.ts.map +1 -1
- package/dist/rules/index.d.ts +60 -385
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/scopes/css/enable.d.ts +2 -9
- package/dist/rules/scopes/css/enable.d.ts.map +1 -1
- package/dist/rules/scopes/css/enable.js +3 -17
- package/dist/rules/scopes/css/enable.js.map +1 -1
- package/dist/rules/scopes/css/index.d.ts +2 -9
- package/dist/rules/scopes/css/index.d.ts.map +1 -1
- package/dist/rules/scopes/enable.d.ts +35 -184
- package/dist/rules/scopes/enable.d.ts.map +1 -1
- package/dist/rules/scopes/enable.js +68 -326
- package/dist/rules/scopes/enable.js.map +1 -1
- package/dist/rules/scopes/enable.style.d.ts +18 -121
- package/dist/rules/scopes/enable.style.d.ts.map +1 -1
- package/dist/rules/scopes/enable.style.js +31 -204
- package/dist/rules/scopes/enable.style.js.map +1 -1
- package/dist/rules/scopes/html/index.d.ts +5 -31
- package/dist/rules/scopes/html/index.d.ts.map +1 -1
- package/dist/rules/scopes/html/plugin/index.d.ts +5 -31
- package/dist/rules/scopes/html/plugin/index.d.ts.map +1 -1
- package/dist/rules/scopes/html/plugin/index.js +7 -61
- package/dist/rules/scopes/html/plugin/index.js.map +1 -1
- package/dist/rules/scopes/index.d.ts +53 -305
- package/dist/rules/scopes/index.d.ts.map +1 -1
- package/dist/rules/scopes/json/enable.d.ts +0 -2
- package/dist/rules/scopes/json/enable.d.ts.map +1 -1
- package/dist/rules/scopes/json/enable.js +2 -5
- package/dist/rules/scopes/json/enable.js.map +1 -1
- package/dist/rules/scopes/json/index.d.ts +0 -7
- package/dist/rules/scopes/json/index.d.ts.map +1 -1
- package/dist/rules/scopes/json/plugin/extension.d.ts +0 -1
- package/dist/rules/scopes/json/plugin/extension.d.ts.map +1 -1
- package/dist/rules/scopes/json/plugin/extension.js +7 -10
- package/dist/rules/scopes/json/plugin/extension.js.map +1 -1
- package/dist/rules/scopes/json/plugin/index.d.ts +0 -4
- package/dist/rules/scopes/json/plugin/index.d.ts.map +1 -1
- package/dist/rules/scopes/json/plugin/index.js +2 -7
- 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.d.ts +0 -1
- package/dist/rules/scopes/mocha/chai/expect.d.ts.map +1 -1
- package/dist/rules/scopes/mocha/chai/expect.js +1 -3
- package/dist/rules/scopes/mocha/chai/expect.js.map +1 -1
- package/dist/rules/scopes/mocha/chai/index.js +1 -2
- 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 +0 -8
- package/dist/rules/scopes/mocha/enable.d.ts.map +1 -1
- package/dist/rules/scopes/mocha/enable.js +2 -11
- package/dist/rules/scopes/mocha/enable.js.map +1 -1
- package/dist/rules/scopes/mocha/index.d.ts +0 -9
- 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 +0 -3
- package/dist/rules/scopes/svelte/enable.d.ts.map +1 -1
- package/dist/rules/scopes/svelte/enable.js +14 -35
- 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.js +2 -3
- package/dist/rules/scopes/svelte/extension/index.js.map +1 -1
- package/dist/rules/scopes/svelte/index.d.ts +0 -3
- 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 +3 -17
- package/dist/rules/scopes/ts/enable.d.ts.map +1 -1
- package/dist/rules/scopes/ts/enable.js +11 -35
- 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 +0 -1
- package/dist/rules/scopes/ts/extension/index.d.ts.map +1 -1
- package/dist/rules/scopes/ts/extension/index.js +1 -20
- package/dist/rules/scopes/ts/extension/index.js.map +1 -1
- package/dist/rules/scopes/ts/index.d.ts +0 -15
- package/dist/rules/scopes/ts/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/index.d.ts +0 -6
- package/dist/rules/scopes/yml/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/plugin/extension.js +8 -9
- package/dist/rules/scopes/yml/plugin/extension.js.map +1 -1
- package/dist/rules/scopes/yml/plugin/index.d.ts +0 -6
- package/dist/rules/scopes/yml/plugin/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/plugin/index.js +9 -26
- 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 +5 -16
- package/src/rules/scopes/enable.style.ts +56 -182
- package/src/rules/scopes/enable.ts +141 -316
- package/src/rules/scopes/html/plugin/index.ts +32 -54
- package/src/rules/scopes/json/enable.ts +3 -3
- package/src/rules/scopes/json/plugin/extension.ts +2 -2
- package/src/rules/scopes/json/plugin/index.ts +5 -5
- package/src/rules/scopes/mocha/chai/expect.ts +2 -2
- package/src/rules/scopes/mocha/enable.ts +9 -9
- package/src/rules/scopes/svelte/enable.ts +4 -4
- package/src/rules/scopes/ts/enable.ts +15 -15
- package/src/rules/scopes/ts/extension/index.ts +2 -2
- package/src/rules/scopes/yml/plugin/index.ts +7 -7
- 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,94 +141,52 @@ 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;
|
|
@@ -331,129 +195,51 @@ export declare const rules: {
|
|
|
331
195
|
readonly enforceForRenamedProperties: true;
|
|
332
196
|
}];
|
|
333
197
|
readonly "prefer-exponentiation-operator": "error";
|
|
334
|
-
readonly "prefer-named-capture-group": "off";
|
|
335
198
|
readonly "prefer-numeric-literals": "error";
|
|
336
199
|
readonly "prefer-object-has-own": "error";
|
|
337
200
|
readonly "prefer-object-spread": "error";
|
|
338
|
-
readonly "prefer-promise-reject-errors":
|
|
339
|
-
readonly allowEmptyReject: false;
|
|
340
|
-
}];
|
|
201
|
+
readonly "prefer-promise-reject-errors": "error";
|
|
341
202
|
readonly "prefer-regex-literals": readonly ["error", {
|
|
342
203
|
readonly disallowRedundantWrapping: true;
|
|
343
204
|
}];
|
|
344
205
|
readonly "prefer-rest-params": "error";
|
|
345
206
|
readonly "prefer-spread": "error";
|
|
346
|
-
readonly "prefer-template": "off";
|
|
347
207
|
readonly radix: readonly ["error", "as-needed"];
|
|
348
208
|
readonly "require-await": "error";
|
|
349
209
|
readonly "require-unicode-regexp": "error";
|
|
350
210
|
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
211
|
readonly "vars-on-top": "error";
|
|
357
|
-
readonly yoda:
|
|
358
|
-
readonly exceptRange: false;
|
|
359
|
-
readonly onlyEquality: false;
|
|
360
|
-
}];
|
|
361
|
-
readonly "unicode-bom": "off";
|
|
212
|
+
readonly yoda: "error";
|
|
362
213
|
};
|
|
363
214
|
} | {
|
|
364
215
|
id: "enable/style";
|
|
365
216
|
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
|
-
}];
|
|
217
|
+
readonly "@stylistic/array-bracket-newline": "error";
|
|
218
|
+
readonly "@stylistic/array-bracket-spacing": "error";
|
|
375
219
|
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;
|
|
220
|
+
readonly consistent: true;
|
|
221
|
+
readonly multiline: true;
|
|
222
|
+
readonly minItems: 3;
|
|
393
223
|
}];
|
|
394
|
-
readonly "@stylistic/
|
|
224
|
+
readonly "@stylistic/arrow-parens": readonly ["error", "as-needed"];
|
|
225
|
+
readonly "@stylistic/arrow-spacing": "error";
|
|
226
|
+
readonly "@stylistic/block-spacing": "error";
|
|
395
227
|
readonly "@stylistic/brace-style": readonly ["error", "stroustrup", {
|
|
396
228
|
readonly allowSingleLine: true;
|
|
397
229
|
}];
|
|
398
230
|
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
|
-
}];
|
|
231
|
+
readonly "@stylistic/comma-spacing": "error";
|
|
232
|
+
readonly "@stylistic/comma-style": "error";
|
|
233
|
+
readonly "@stylistic/computed-property-spacing": "error";
|
|
234
|
+
readonly "@stylistic/curly-newline": "error";
|
|
445
235
|
readonly "@stylistic/dot-location": readonly ["error", "property"];
|
|
446
|
-
readonly "@stylistic/eol-last":
|
|
236
|
+
readonly "@stylistic/eol-last": "error";
|
|
447
237
|
readonly "@stylistic/function-call-argument-newline": readonly ["error", "consistent"];
|
|
448
|
-
readonly "@stylistic/function-call-spacing":
|
|
238
|
+
readonly "@stylistic/function-call-spacing": "error";
|
|
449
239
|
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"];
|
|
240
|
+
readonly "@stylistic/generator-star-spacing": "error";
|
|
241
|
+
readonly "@stylistic/implicit-arrow-linebreak": "error";
|
|
455
242
|
readonly "@stylistic/indent": readonly ["error", 2, {
|
|
456
|
-
readonly ignoredNodes: readonly [];
|
|
457
243
|
readonly SwitchCase: 1;
|
|
458
244
|
readonly VariableDeclarator: {
|
|
459
245
|
readonly var: 0;
|
|
@@ -461,46 +247,12 @@ export declare const rules: {
|
|
|
461
247
|
readonly const: 0;
|
|
462
248
|
};
|
|
463
249
|
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
250
|
readonly offsetTernaryExpressions: true;
|
|
486
|
-
readonly offsetTernaryExpressionsOffsetCallExpressions: true;
|
|
487
|
-
readonly ignoreComments: false;
|
|
488
251
|
readonly tabLength: 2;
|
|
489
252
|
}];
|
|
490
253
|
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
|
-
}];
|
|
502
|
-
readonly "@stylistic/line-comment-position": "off";
|
|
503
|
-
readonly "@stylistic/lines-around-comment": "off";
|
|
254
|
+
readonly "@stylistic/key-spacing": "error";
|
|
255
|
+
readonly "@stylistic/keyword-spacing": "error";
|
|
504
256
|
readonly "@stylistic/lines-between-class-members": readonly ["error", {
|
|
505
257
|
readonly enforce: readonly [{
|
|
506
258
|
readonly prev: "field";
|
|
@@ -543,13 +295,10 @@ export declare const rules: {
|
|
|
543
295
|
};
|
|
544
296
|
readonly multilineDetection: "brackets";
|
|
545
297
|
}];
|
|
546
|
-
readonly "@stylistic/multiline-comment-style": "off";
|
|
547
298
|
readonly "@stylistic/multiline-ternary": readonly ["error", "always-multiline"];
|
|
548
|
-
readonly "@stylistic/new-parens": readonly ["off", "never"];
|
|
549
299
|
readonly "@stylistic/newline-per-chained-call": readonly ["error", {
|
|
550
300
|
readonly ignoreChainWithDepth: 2;
|
|
551
301
|
}];
|
|
552
|
-
readonly "@stylistic/no-confusing-arrow": "off";
|
|
553
302
|
readonly "@stylistic/no-extra-parens": readonly ["error", "all", {
|
|
554
303
|
readonly conditionalAssign: true;
|
|
555
304
|
readonly returnAssign: true;
|
|
@@ -568,7 +317,6 @@ export declare const rules: {
|
|
|
568
317
|
}];
|
|
569
318
|
readonly "@stylistic/no-extra-semi": "error";
|
|
570
319
|
readonly "@stylistic/no-floating-decimal": "error";
|
|
571
|
-
readonly "@stylistic/no-mixed-operators": "off";
|
|
572
320
|
readonly "@stylistic/no-mixed-spaces-and-tabs": "error";
|
|
573
321
|
readonly "@stylistic/no-multi-spaces": readonly ["error", {
|
|
574
322
|
readonly ignoreEOLComments: false;
|
|
@@ -814,8 +562,6 @@ export declare const rules: {
|
|
|
814
562
|
} | {
|
|
815
563
|
id: "enable";
|
|
816
564
|
rules: {
|
|
817
|
-
readonly "@typescript-eslint/adjacent-overload-signatures": "off";
|
|
818
|
-
readonly "@typescript-eslint/array-type": "off";
|
|
819
565
|
readonly "@typescript-eslint/await-thenable": "error";
|
|
820
566
|
readonly "@typescript-eslint/ban-ts-comment": readonly ["error", {
|
|
821
567
|
readonly "ts-check": false;
|
|
@@ -835,7 +581,6 @@ export declare const rules: {
|
|
|
835
581
|
readonly arrayLiteralTypeAssertions: "never";
|
|
836
582
|
readonly objectLiteralTypeAssertions: "never";
|
|
837
583
|
}];
|
|
838
|
-
readonly "@typescript-eslint/consistent-type-definitions": "off";
|
|
839
584
|
readonly "@typescript-eslint/consistent-type-exports": readonly ["error", {
|
|
840
585
|
readonly fixMixedExportsWithInlineTypeSpecifier: false;
|
|
841
586
|
}];
|
|
@@ -844,7 +589,6 @@ export declare const rules: {
|
|
|
844
589
|
readonly fixStyle: "separate-type-imports";
|
|
845
590
|
readonly prefer: "type-imports";
|
|
846
591
|
}];
|
|
847
|
-
readonly "@typescript-eslint/explicit-function-return-type": "off";
|
|
848
592
|
readonly "@typescript-eslint/explicit-member-accessibility": readonly ["error", {
|
|
849
593
|
readonly accessibility: "explicit";
|
|
850
594
|
readonly ignoredMethodNames: readonly [];
|
|
@@ -856,7 +600,6 @@ export declare const rules: {
|
|
|
856
600
|
readonly parameterProperties: "explicit";
|
|
857
601
|
};
|
|
858
602
|
}];
|
|
859
|
-
readonly "@typescript-eslint/explicit-module-boundary-types": "off";
|
|
860
603
|
readonly "@typescript-eslint/member-ordering": readonly ["error", {
|
|
861
604
|
readonly default: {
|
|
862
605
|
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"];
|
|
@@ -865,7 +608,6 @@ export declare const rules: {
|
|
|
865
608
|
};
|
|
866
609
|
}];
|
|
867
610
|
readonly "@typescript-eslint/method-signature-style": readonly ["error", "property"];
|
|
868
|
-
readonly "@typescript-eslint/naming-convention": "off";
|
|
869
611
|
readonly "@typescript-eslint/no-array-delete": "error";
|
|
870
612
|
readonly "@typescript-eslint/no-base-to-string": readonly ["error", {
|
|
871
613
|
readonly checkUnknown: false;
|
|
@@ -877,7 +619,6 @@ export declare const rules: {
|
|
|
877
619
|
readonly ignoreVoidOperator: true;
|
|
878
620
|
readonly ignoreVoidReturningFunctions: true;
|
|
879
621
|
}];
|
|
880
|
-
readonly "@typescript-eslint/no-deprecated": "off";
|
|
881
622
|
readonly "@typescript-eslint/no-duplicate-enum-values": "error";
|
|
882
623
|
readonly "@typescript-eslint/no-duplicate-type-constituents": readonly ["error", {
|
|
883
624
|
readonly ignoreIntersections: false;
|
|
@@ -933,12 +674,9 @@ export declare const rules: {
|
|
|
933
674
|
readonly allow: readonly [];
|
|
934
675
|
}];
|
|
935
676
|
readonly "@typescript-eslint/no-mixed-enums": "error";
|
|
936
|
-
readonly "@typescript-eslint/no-namespace": "off";
|
|
937
677
|
readonly "@typescript-eslint/no-non-null-asserted-nullish-coalescing": "error";
|
|
938
678
|
readonly "@typescript-eslint/no-non-null-asserted-optional-chain": "error";
|
|
939
|
-
readonly "@typescript-eslint/no-non-null-assertion": "off";
|
|
940
679
|
readonly "@typescript-eslint/no-redundant-type-constituents": "error";
|
|
941
|
-
readonly "@typescript-eslint/no-restricted-types": "off";
|
|
942
680
|
readonly "@typescript-eslint/no-require-imports": readonly ["error", {
|
|
943
681
|
readonly allow: readonly [];
|
|
944
682
|
}];
|
|
@@ -973,11 +711,9 @@ export declare const rules: {
|
|
|
973
711
|
readonly "@typescript-eslint/no-unsafe-function-type": "error";
|
|
974
712
|
readonly "@typescript-eslint/no-unsafe-member-access": "error";
|
|
975
713
|
readonly "@typescript-eslint/no-unsafe-return": "error";
|
|
976
|
-
readonly "@typescript-eslint/no-unsafe-type-assertion": "off";
|
|
977
714
|
readonly "@typescript-eslint/no-unsafe-unary-minus": "error";
|
|
978
715
|
readonly "@typescript-eslint/no-useless-empty-export": "error";
|
|
979
716
|
readonly "@typescript-eslint/no-wrapper-object-types": "error";
|
|
980
|
-
readonly "@typescript-eslint/non-nullable-type-assertion-style": "off";
|
|
981
717
|
readonly "@typescript-eslint/parameter-properties": readonly ["error", {
|
|
982
718
|
readonly prefer: "parameter-property";
|
|
983
719
|
}];
|
|
@@ -1018,7 +754,6 @@ export declare const rules: {
|
|
|
1018
754
|
readonly "@typescript-eslint/prefer-readonly": readonly ["error", {
|
|
1019
755
|
readonly onlyInlineLambdas: false;
|
|
1020
756
|
}];
|
|
1021
|
-
readonly "@typescript-eslint/prefer-readonly-parameter-types": "off";
|
|
1022
757
|
readonly "@typescript-eslint/prefer-reduce-type-parameter": "error";
|
|
1023
758
|
readonly "@typescript-eslint/prefer-regexp-exec": "error";
|
|
1024
759
|
readonly "@typescript-eslint/prefer-return-this-type": "error";
|
|
@@ -1076,7 +811,6 @@ export declare const rules: {
|
|
|
1076
811
|
readonly path: "never";
|
|
1077
812
|
readonly types: "never";
|
|
1078
813
|
}];
|
|
1079
|
-
readonly "@typescript-eslint/typedef": "off";
|
|
1080
814
|
readonly "@typescript-eslint/unbound-method": readonly ["error", {
|
|
1081
815
|
readonly ignoreStatic: false;
|
|
1082
816
|
}];
|
|
@@ -1095,7 +829,6 @@ export declare const rules: {
|
|
|
1095
829
|
readonly allowIndexSignaturePropertyAccess: true;
|
|
1096
830
|
}];
|
|
1097
831
|
readonly "@typescript-eslint/no-implied-eval": "error";
|
|
1098
|
-
readonly "@typescript-eslint/no-restricted-imports": "off";
|
|
1099
832
|
readonly "@typescript-eslint/no-unused-vars": readonly ["error", {
|
|
1100
833
|
readonly vars: "all";
|
|
1101
834
|
readonly args: "all";
|
|
@@ -1139,8 +872,6 @@ export declare const rules: {
|
|
|
1139
872
|
} | {
|
|
1140
873
|
id: "enable";
|
|
1141
874
|
rules: {
|
|
1142
|
-
readonly "mocha/consistent-interface": "off";
|
|
1143
|
-
readonly "mocha/consistent-spacing-between-blocks": "off";
|
|
1144
875
|
readonly "mocha/handle-done-callback": readonly ["error", {
|
|
1145
876
|
readonly ignorePending: false;
|
|
1146
877
|
}];
|
|
@@ -1152,24 +883,18 @@ export declare const rules: {
|
|
|
1152
883
|
readonly "mocha/no-exclusive-tests": "error";
|
|
1153
884
|
readonly "mocha/no-exports": "error";
|
|
1154
885
|
readonly "mocha/no-global-tests": "error";
|
|
1155
|
-
readonly "mocha/no-hooks-for-single-case": "off";
|
|
1156
|
-
readonly "mocha/no-hooks": "off";
|
|
1157
886
|
readonly "mocha/no-identical-title": "error";
|
|
1158
887
|
readonly "mocha/no-mocha-arrows": "error";
|
|
1159
888
|
readonly "mocha/no-nested-tests": "error";
|
|
1160
889
|
readonly "mocha/no-pending-tests": "error";
|
|
1161
890
|
readonly "mocha/no-return-and-callback": "error";
|
|
1162
891
|
readonly "mocha/no-return-from-async": "error";
|
|
1163
|
-
readonly "mocha/no-setup-in-describe": "off";
|
|
1164
892
|
readonly "mocha/no-sibling-hooks": "error";
|
|
1165
|
-
readonly "mocha/no-synchronous-tests": "off";
|
|
1166
893
|
readonly "mocha/no-top-level-hooks": "error";
|
|
1167
894
|
readonly "mocha/prefer-arrow-callback": readonly ["error", {
|
|
1168
895
|
readonly allowNamedFunctions: false;
|
|
1169
896
|
readonly allowUnboundThis: true;
|
|
1170
897
|
}];
|
|
1171
|
-
readonly "mocha/valid-suite-title": "off";
|
|
1172
|
-
readonly "mocha/valid-test-title": "off";
|
|
1173
898
|
};
|
|
1174
899
|
} | {
|
|
1175
900
|
id: string;
|
|
@@ -1187,7 +912,6 @@ export declare const rules: {
|
|
|
1187
912
|
readonly "chai-expect/no-inner-compare": "error";
|
|
1188
913
|
readonly "chai-expect/no-inner-literal": "error";
|
|
1189
914
|
readonly "chai-expect/missing-assertion": "error";
|
|
1190
|
-
readonly "chai-expect/terminating-properties": "off";
|
|
1191
915
|
};
|
|
1192
916
|
})[];
|
|
1193
917
|
svelte: ({
|
|
@@ -1265,7 +989,6 @@ export declare const rules: {
|
|
|
1265
989
|
readonly additionalReactiveClasses: readonly [];
|
|
1266
990
|
readonly allowReassign: false;
|
|
1267
991
|
}];
|
|
1268
|
-
readonly "svelte/no-unused-class-name": "off";
|
|
1269
992
|
readonly "svelte/no-unused-props": readonly ["error", {
|
|
1270
993
|
readonly checkImportedTypes: true;
|
|
1271
994
|
readonly ignorePropertyPatterns: readonly [];
|
|
@@ -1345,7 +1068,6 @@ export declare const rules: {
|
|
|
1345
1068
|
};
|
|
1346
1069
|
}];
|
|
1347
1070
|
readonly "svelte/no-extra-reactive-curlies": "error";
|
|
1348
|
-
readonly "svelte/no-restricted-html-elements": "off";
|
|
1349
1071
|
readonly "svelte/no-spaces-around-equal-signs-in-attribute": "error";
|
|
1350
1072
|
readonly "svelte/prefer-class-directive": readonly ["error", {
|
|
1351
1073
|
readonly prefer: "empty";
|
|
@@ -1360,7 +1082,6 @@ export declare const rules: {
|
|
|
1360
1082
|
readonly "svelte/shorthand-directive": readonly ["error", {
|
|
1361
1083
|
readonly prefer: "always";
|
|
1362
1084
|
}];
|
|
1363
|
-
readonly "svelte/sort-attributes": "off";
|
|
1364
1085
|
readonly "svelte/spaced-html-comment": readonly ["error", "always"];
|
|
1365
1086
|
readonly "svelte/no-export-load-in-svelte-module-in-kit-pages": "error";
|
|
1366
1087
|
readonly "svelte/no-navigation-without-base": readonly ["error", {
|
|
@@ -1390,38 +1111,22 @@ export declare const rules: {
|
|
|
1390
1111
|
html: {
|
|
1391
1112
|
id: "enable/plugin";
|
|
1392
1113
|
rules: {
|
|
1393
|
-
readonly "@html-eslint/max-element-depth": "off";
|
|
1394
1114
|
readonly "@html-eslint/no-duplicate-attrs": "error";
|
|
1395
1115
|
readonly "@html-eslint/no-duplicate-class": "error";
|
|
1396
1116
|
readonly "@html-eslint/no-duplicate-id": "error";
|
|
1397
1117
|
readonly "@html-eslint/no-duplicate-in-head": "error";
|
|
1398
|
-
readonly "@html-eslint/no-inline-styles": "off";
|
|
1399
1118
|
readonly "@html-eslint/no-invalid-entity": "error";
|
|
1400
1119
|
readonly "@html-eslint/no-nested-interactive": "error";
|
|
1401
1120
|
readonly "@html-eslint/no-obsolete-tags": "error";
|
|
1402
|
-
readonly "@html-eslint/no-restricted-attr-values": "off";
|
|
1403
|
-
readonly "@html-eslint/no-restricted-attrs": "off";
|
|
1404
|
-
readonly "@html-eslint/no-script-style-type": "off";
|
|
1405
1121
|
readonly "@html-eslint/no-target-blank": "error";
|
|
1406
|
-
readonly "@html-eslint/prefer-https": "off";
|
|
1407
|
-
readonly "@html-eslint/require-attrs": "off";
|
|
1408
1122
|
readonly "@html-eslint/require-button-type": "error";
|
|
1409
|
-
readonly "@html-eslint/require-closing-tags":
|
|
1410
|
-
readonly selfClosing: "never";
|
|
1411
|
-
readonly selfClosingCustomPatterns: readonly [""];
|
|
1412
|
-
}];
|
|
1123
|
+
readonly "@html-eslint/require-closing-tags": "error";
|
|
1413
1124
|
readonly "@html-eslint/require-doctype": "error";
|
|
1414
|
-
readonly "@html-eslint/require-explicit-size": "off";
|
|
1415
1125
|
readonly "@html-eslint/require-li-container": "error";
|
|
1416
1126
|
readonly "@html-eslint/require-meta-charset": "error";
|
|
1417
|
-
readonly "@html-eslint/use-baseline":
|
|
1418
|
-
readonly available: "widely";
|
|
1419
|
-
}];
|
|
1127
|
+
readonly "@html-eslint/use-baseline": "error";
|
|
1420
1128
|
readonly "@html-eslint/no-multiple-h1": "error";
|
|
1421
1129
|
readonly "@html-eslint/require-lang": "error";
|
|
1422
|
-
readonly "@html-eslint/require-meta-description": "off";
|
|
1423
|
-
readonly "@html-eslint/require-open-graph-protocol": "off";
|
|
1424
|
-
readonly "@html-eslint/require-title": "off";
|
|
1425
1130
|
readonly "@html-eslint/no-abstract-roles": "error";
|
|
1426
1131
|
readonly "@html-eslint/no-accesskey-attrs": "error";
|
|
1427
1132
|
readonly "@html-eslint/no-aria-hidden-body": "error";
|
|
@@ -1434,39 +1139,29 @@ export declare const rules: {
|
|
|
1434
1139
|
readonly "@html-eslint/no-skip-heading-levels": "error";
|
|
1435
1140
|
readonly "@html-eslint/require-form-method": "error";
|
|
1436
1141
|
readonly "@html-eslint/require-frame-title": "error";
|
|
1437
|
-
readonly "@html-eslint/require-img-alt":
|
|
1438
|
-
readonly substitute: readonly [];
|
|
1439
|
-
}];
|
|
1142
|
+
readonly "@html-eslint/require-img-alt": "error";
|
|
1440
1143
|
readonly "@html-eslint/require-input-label": "error";
|
|
1441
1144
|
readonly "@html-eslint/require-meta-viewport": "error";
|
|
1442
1145
|
readonly "@html-eslint/attrs-newline": readonly ["error", {
|
|
1443
1146
|
readonly ifAttrsMoreThan: 0;
|
|
1444
|
-
readonly closeStyle: "newline";
|
|
1445
1147
|
}];
|
|
1446
1148
|
readonly "@html-eslint/element-newline": readonly ["error", {
|
|
1447
1149
|
readonly skip: readonly ["head"];
|
|
1448
1150
|
readonly inline: readonly ["$inline"];
|
|
1449
1151
|
}];
|
|
1450
|
-
readonly "@html-eslint/id-naming-convention": "off";
|
|
1451
1152
|
readonly "@html-eslint/indent": readonly ["error", 2];
|
|
1452
1153
|
readonly "@html-eslint/lowercase": "error";
|
|
1453
1154
|
readonly "@html-eslint/no-extra-spacing-attrs": readonly ["error", {
|
|
1454
|
-
readonly enforceBeforeSelfClose: false;
|
|
1455
1155
|
readonly disallowMissing: true;
|
|
1456
1156
|
readonly disallowTabs: true;
|
|
1457
1157
|
readonly disallowInAssignment: true;
|
|
1458
1158
|
}];
|
|
1459
|
-
readonly "@html-eslint/no-extra-spacing-text":
|
|
1460
|
-
readonly skip: readonly [];
|
|
1461
|
-
}];
|
|
1159
|
+
readonly "@html-eslint/no-extra-spacing-text": "error";
|
|
1462
1160
|
readonly "@html-eslint/no-multiple-empty-lines": readonly ["error", {
|
|
1463
1161
|
readonly max: 1;
|
|
1464
1162
|
}];
|
|
1465
1163
|
readonly "@html-eslint/no-trailing-spaces": "error";
|
|
1466
|
-
readonly "@html-eslint/quotes":
|
|
1467
|
-
readonly enforceTemplatedAttrValue: false;
|
|
1468
|
-
}];
|
|
1469
|
-
readonly "@html-eslint/sort-attrs": "off";
|
|
1164
|
+
readonly "@html-eslint/quotes": "error";
|
|
1470
1165
|
};
|
|
1471
1166
|
}[];
|
|
1472
1167
|
css: {
|
|
@@ -1478,35 +1173,24 @@ export declare const rules: {
|
|
|
1478
1173
|
readonly "css/no-invalid-at-rule-placement": "error";
|
|
1479
1174
|
readonly "css/no-invalid-at-rules": "error";
|
|
1480
1175
|
readonly "css/no-invalid-named-grid-areas": "error";
|
|
1481
|
-
readonly "css/
|
|
1482
|
-
readonly "css/prefer-logical-properties": readonly ["error", {
|
|
1483
|
-
readonly allowProperties: readonly [];
|
|
1484
|
-
readonly allowUnits: readonly [];
|
|
1485
|
-
}];
|
|
1176
|
+
readonly "css/prefer-logical-properties": "error";
|
|
1486
1177
|
readonly "css/relative-font-units": readonly ["error", {
|
|
1487
1178
|
readonly allowUnits: readonly ["rem", "%"];
|
|
1488
1179
|
}];
|
|
1489
|
-
readonly "css/use-baseline":
|
|
1490
|
-
readonly available: "widely";
|
|
1491
|
-
}];
|
|
1492
|
-
readonly "css/use-layers": "off";
|
|
1180
|
+
readonly "css/use-baseline": "error";
|
|
1493
1181
|
};
|
|
1494
1182
|
}[];
|
|
1495
1183
|
json: ({
|
|
1496
1184
|
id: "enable";
|
|
1497
1185
|
rules: {
|
|
1498
1186
|
readonly "json/no-duplicate-keys": "error";
|
|
1499
|
-
readonly "json/no-empty-keys": "off";
|
|
1500
1187
|
readonly "json/no-unsafe-values": "error";
|
|
1501
1188
|
readonly "json/no-unnormalized-keys": "error";
|
|
1502
|
-
readonly "json/sort-keys": "off";
|
|
1503
1189
|
readonly "json/top-level-interop": "error";
|
|
1504
1190
|
};
|
|
1505
1191
|
} | {
|
|
1506
1192
|
id: "enable/plugin";
|
|
1507
1193
|
rules: {
|
|
1508
|
-
readonly "jsonc/auto": "off";
|
|
1509
|
-
readonly "jsonc/key-name-casing": "off";
|
|
1510
1194
|
readonly "jsonc/no-bigint-literals": "error";
|
|
1511
1195
|
readonly "jsonc/no-binary-expression": "error";
|
|
1512
1196
|
readonly "jsonc/no-binary-numeric-literals": "error";
|
|
@@ -1524,15 +1208,12 @@ export declare const rules: {
|
|
|
1524
1208
|
readonly "jsonc/no-template-literals": "error";
|
|
1525
1209
|
readonly "jsonc/no-undefined-value": "error";
|
|
1526
1210
|
readonly "jsonc/no-unicode-codepoint-escapes": "error";
|
|
1527
|
-
readonly "jsonc/sort-array-values": "off";
|
|
1528
|
-
readonly "jsonc/sort-keys": "off";
|
|
1529
1211
|
readonly "jsonc/valid-json-number": "error";
|
|
1530
1212
|
readonly "jsonc/vue-custom-block/no-parsing-error": "error";
|
|
1531
1213
|
};
|
|
1532
1214
|
} | {
|
|
1533
1215
|
id: "enable/plugin/extension";
|
|
1534
1216
|
rules: {
|
|
1535
|
-
readonly "jsonc/array-bracket-newline": "off";
|
|
1536
1217
|
readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
|
|
1537
1218
|
readonly singleValue: false;
|
|
1538
1219
|
readonly objectsInArrays: false;
|
|
@@ -1606,16 +1287,12 @@ export declare const rules: {
|
|
|
1606
1287
|
readonly singleline: "ignore";
|
|
1607
1288
|
readonly multiline: "always";
|
|
1608
1289
|
}];
|
|
1609
|
-
readonly "yml/file-extension": "off";
|
|
1610
1290
|
readonly "yml/indent": readonly ["error", 2, {
|
|
1611
1291
|
readonly alignMultilineFlowScalars: true;
|
|
1612
1292
|
readonly indentBlockSequences: true;
|
|
1613
1293
|
readonly indicatorValueIndent: 2;
|
|
1614
1294
|
}];
|
|
1615
|
-
readonly "yml/key-name-casing": "off";
|
|
1616
|
-
readonly "yml/no-empty-document": "off";
|
|
1617
1295
|
readonly "yml/no-empty-key": "error";
|
|
1618
|
-
readonly "yml/no-empty-mapping-value": "off";
|
|
1619
1296
|
readonly "yml/no-empty-sequence-entry": "error";
|
|
1620
1297
|
readonly "yml/no-tab-indent": "error";
|
|
1621
1298
|
readonly "yml/no-trailing-zeros": "error";
|
|
@@ -1625,8 +1302,6 @@ export declare const rules: {
|
|
|
1625
1302
|
readonly avoidEscape: true;
|
|
1626
1303
|
}];
|
|
1627
1304
|
readonly "yml/require-string-key": "error";
|
|
1628
|
-
readonly "yml/sort-keys": "off";
|
|
1629
|
-
readonly "yml/sort-sequence-values": "off";
|
|
1630
1305
|
readonly "yml/vue-custom-block/no-parsing-error": "error";
|
|
1631
1306
|
};
|
|
1632
1307
|
} | {
|