@pawover/eslint-rules 0.0.0-alpha.2 → 0.0.0-alpha.4
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/core.antfu.js +13 -0
- package/dist/core.javascript.js +200 -0
- package/dist/core.react.js +91 -0
- package/dist/core.stylistic.js +117 -0
- package/dist/core.typescript.js +146 -0
- package/dist/core.vue.js +14 -0
- package/{src → dist}/index.js +6 -8
- package/dist/preset.js +86 -0
- package/dist/types/core.antfu.d.ts +14 -0
- package/dist/types/core.javascript.d.ts +232 -0
- package/dist/types/core.react.d.ts +92 -0
- package/dist/types/core.stylistic.d.ts +143 -0
- package/dist/types/core.typescript.d.ts +194 -0
- package/dist/types/core.vue.d.ts +48 -0
- package/dist/types/index.d.ts +720 -0
- package/dist/types/preset.d.ts +5 -0
- package/package.json +22 -9
- package/src/core.antfu.js +0 -13
- package/src/core.javascript.js +0 -201
- package/src/core.react.js +0 -91
- package/src/core.stylistic.js +0 -118
- package/src/core.typescript.js +0 -148
- package/src/core.vue.js +0 -15
- package/src/preset.js +0 -86
|
@@ -0,0 +1,720 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
javascript: {
|
|
3
|
+
readonly "array-callback-return": 2;
|
|
4
|
+
readonly "constructor-super": 2;
|
|
5
|
+
readonly "for-direction": 2;
|
|
6
|
+
readonly "getter-return": 2;
|
|
7
|
+
readonly "no-async-promise-executor": 2;
|
|
8
|
+
readonly "no-await-in-loop": 0;
|
|
9
|
+
readonly "no-class-assign": 2;
|
|
10
|
+
readonly "no-compare-neg-zero": 2;
|
|
11
|
+
readonly "no-cond-assign": 2;
|
|
12
|
+
readonly "no-const-assign": 2;
|
|
13
|
+
readonly "no-constant-binary-expression": 2;
|
|
14
|
+
readonly "no-constant-condition": 2;
|
|
15
|
+
readonly "no-constructor-return": 2;
|
|
16
|
+
readonly "no-control-regex": 2;
|
|
17
|
+
readonly "no-debugger": 2;
|
|
18
|
+
readonly "no-dupe-args": 2;
|
|
19
|
+
readonly "no-dupe-class-members": 2;
|
|
20
|
+
readonly "no-dupe-else-if": 2;
|
|
21
|
+
readonly "no-dupe-keys": 2;
|
|
22
|
+
readonly "no-duplicate-case": 2;
|
|
23
|
+
readonly "no-duplicate-imports": 2;
|
|
24
|
+
readonly "no-empty-character-class": 2;
|
|
25
|
+
readonly "no-empty-pattern": 2;
|
|
26
|
+
readonly "no-ex-assign": 2;
|
|
27
|
+
readonly "no-fallthrough": 2;
|
|
28
|
+
readonly "no-func-assign": 2;
|
|
29
|
+
readonly "no-import-assign": 2;
|
|
30
|
+
readonly "no-inner-declarations": 2;
|
|
31
|
+
readonly "no-invalid-regexp": 2;
|
|
32
|
+
readonly "no-irregular-whitespace": readonly [2, {
|
|
33
|
+
readonly skipStrings: true;
|
|
34
|
+
readonly skipComments: false;
|
|
35
|
+
readonly skipRegExps: true;
|
|
36
|
+
readonly skipTemplates: true;
|
|
37
|
+
readonly skipJSXText: true;
|
|
38
|
+
}];
|
|
39
|
+
readonly "no-loss-of-precision": 2;
|
|
40
|
+
readonly "no-misleading-character-class": 2;
|
|
41
|
+
readonly "no-new-native-nonconstructor": 2;
|
|
42
|
+
readonly "no-obj-calls": 2;
|
|
43
|
+
readonly "no-promise-executor-return": 2;
|
|
44
|
+
readonly "no-prototype-builtins": 2;
|
|
45
|
+
readonly "no-self-assign": 2;
|
|
46
|
+
readonly "no-self-compare": 2;
|
|
47
|
+
readonly "no-setter-return": 2;
|
|
48
|
+
readonly "no-sparse-arrays": 2;
|
|
49
|
+
readonly "no-template-curly-in-string": 2;
|
|
50
|
+
readonly "no-this-before-super": 2;
|
|
51
|
+
readonly "no-undef": 0;
|
|
52
|
+
readonly "no-unexpected-multiline": 2;
|
|
53
|
+
readonly "no-unmodified-loop-condition": 2;
|
|
54
|
+
readonly "no-unreachable": 2;
|
|
55
|
+
readonly "no-unreachable-loop": 2;
|
|
56
|
+
readonly "no-unsafe-finally": 2;
|
|
57
|
+
readonly "no-unsafe-negation": 2;
|
|
58
|
+
readonly "no-unsafe-optional-chaining": 2;
|
|
59
|
+
readonly "no-unused-private-class-members": 2;
|
|
60
|
+
readonly "no-unused-vars": readonly [2, {
|
|
61
|
+
readonly vars: "local";
|
|
62
|
+
readonly args: "none";
|
|
63
|
+
readonly caughtErrors: "none";
|
|
64
|
+
readonly varsIgnorePattern: "^_";
|
|
65
|
+
readonly destructuredArrayIgnorePattern: "^_";
|
|
66
|
+
}];
|
|
67
|
+
readonly "no-use-before-define": readonly [2, {
|
|
68
|
+
readonly functions: false;
|
|
69
|
+
readonly classes: false;
|
|
70
|
+
readonly variables: false;
|
|
71
|
+
readonly allowNamedExports: false;
|
|
72
|
+
}];
|
|
73
|
+
readonly "no-useless-assignment": 0;
|
|
74
|
+
readonly "no-useless-backreference": 2;
|
|
75
|
+
readonly "require-atomic-updates": readonly [2, {
|
|
76
|
+
readonly allowProperties: true;
|
|
77
|
+
}];
|
|
78
|
+
readonly "use-isnan": 2;
|
|
79
|
+
readonly "valid-typeof": 2;
|
|
80
|
+
readonly "accessor-pairs": readonly [2, {
|
|
81
|
+
readonly setWithoutGet: true;
|
|
82
|
+
readonly getWithoutSet: false;
|
|
83
|
+
}];
|
|
84
|
+
readonly "arrow-body-style": 0;
|
|
85
|
+
readonly "block-scoped-var": 0;
|
|
86
|
+
readonly camelcase: 0;
|
|
87
|
+
readonly "capitalized-comments": 0;
|
|
88
|
+
readonly "class-methods-use-this": 0;
|
|
89
|
+
readonly complexity: 0;
|
|
90
|
+
readonly "consistent-return": 0;
|
|
91
|
+
readonly "consistent-this": 0;
|
|
92
|
+
readonly curly: 2;
|
|
93
|
+
readonly "default-case": 2;
|
|
94
|
+
readonly "default-case-last": 0;
|
|
95
|
+
readonly "default-param-last": 2;
|
|
96
|
+
readonly "dot-notation": 0;
|
|
97
|
+
readonly eqeqeq: 2;
|
|
98
|
+
readonly "func-name-matching": 2;
|
|
99
|
+
readonly "func-names": 2;
|
|
100
|
+
readonly "func-style": 0;
|
|
101
|
+
readonly "grouped-accessor-pairs": readonly [2, "getBeforeSet"];
|
|
102
|
+
readonly "guard-for-in": 2;
|
|
103
|
+
readonly "id-denylist": 0;
|
|
104
|
+
readonly "id-length": 0;
|
|
105
|
+
readonly "id-match": 0;
|
|
106
|
+
readonly "init-declarations": 0;
|
|
107
|
+
readonly "logical-assignment-operators": 0;
|
|
108
|
+
readonly "max-classes-per-file": 0;
|
|
109
|
+
readonly "max-depth": readonly [2, 5];
|
|
110
|
+
readonly "max-lines": 0;
|
|
111
|
+
readonly "max-lines-per-function": 0;
|
|
112
|
+
readonly "max-nested-callbacks": 0;
|
|
113
|
+
readonly "max-params": 0;
|
|
114
|
+
readonly "max-statements": 0;
|
|
115
|
+
readonly "new-cap": readonly [2, {
|
|
116
|
+
readonly capIsNew: false;
|
|
117
|
+
}];
|
|
118
|
+
readonly "no-alert": 0;
|
|
119
|
+
readonly "no-array-constructor": 2;
|
|
120
|
+
readonly "no-bitwise": 0;
|
|
121
|
+
readonly "no-caller": 2;
|
|
122
|
+
readonly "no-case-declarations": 2;
|
|
123
|
+
readonly "no-console": 0;
|
|
124
|
+
readonly "no-continue": 0;
|
|
125
|
+
readonly "no-delete-var": 2;
|
|
126
|
+
readonly "no-div-regex": 2;
|
|
127
|
+
readonly "no-else-return": 0;
|
|
128
|
+
readonly "no-empty": readonly [2, {
|
|
129
|
+
readonly allowEmptyCatch: true;
|
|
130
|
+
}];
|
|
131
|
+
readonly "no-empty-function": 0;
|
|
132
|
+
readonly "no-empty-static-block": 2;
|
|
133
|
+
readonly "no-eq-null": 2;
|
|
134
|
+
readonly "no-eval": 2;
|
|
135
|
+
readonly "no-extend-native": 2;
|
|
136
|
+
readonly "no-extra-bind": 2;
|
|
137
|
+
readonly "no-extra-boolean-cast": 2;
|
|
138
|
+
readonly "no-extra-label": 0;
|
|
139
|
+
readonly "no-global-assign": 2;
|
|
140
|
+
readonly "no-implicit-coercion": readonly [2, {
|
|
141
|
+
readonly allow: readonly ["!!"];
|
|
142
|
+
}];
|
|
143
|
+
readonly "no-implicit-globals": 0;
|
|
144
|
+
readonly "no-implied-eval": 2;
|
|
145
|
+
readonly "no-inline-comments": 0;
|
|
146
|
+
readonly "no-invalid-this": 0;
|
|
147
|
+
readonly "no-iterator": 2;
|
|
148
|
+
readonly "no-label-var": 2;
|
|
149
|
+
readonly "no-labels": 2;
|
|
150
|
+
readonly "no-lone-blocks": 2;
|
|
151
|
+
readonly "no-lonely-if": 0;
|
|
152
|
+
readonly "no-loop-func": 0;
|
|
153
|
+
readonly "no-magic-numbers": 0;
|
|
154
|
+
readonly "no-multi-assign": 0;
|
|
155
|
+
readonly "no-multi-str": 2;
|
|
156
|
+
readonly "no-negated-condition": 0;
|
|
157
|
+
readonly "no-nested-ternary": 0;
|
|
158
|
+
readonly "no-new": 2;
|
|
159
|
+
readonly "no-new-func": 2;
|
|
160
|
+
readonly "no-new-wrappers": 2;
|
|
161
|
+
readonly "no-nonoctal-decimal-escape": 2;
|
|
162
|
+
readonly "no-object-constructor": 2;
|
|
163
|
+
readonly "no-octal": 2;
|
|
164
|
+
readonly "no-octal-escape": 0;
|
|
165
|
+
readonly "no-param-reassign": 2;
|
|
166
|
+
readonly "no-plusplus": 0;
|
|
167
|
+
readonly "no-proto": 2;
|
|
168
|
+
readonly "no-redeclare": 2;
|
|
169
|
+
readonly "no-regex-spaces": 2;
|
|
170
|
+
readonly "no-restricted-exports": 0;
|
|
171
|
+
readonly "no-restricted-globals": 0;
|
|
172
|
+
readonly "no-restricted-imports": 0;
|
|
173
|
+
readonly "no-restricted-properties": 0;
|
|
174
|
+
readonly "no-restricted-syntax": 0;
|
|
175
|
+
readonly "no-return-assign": readonly [2, "always"];
|
|
176
|
+
readonly "no-script-url": 0;
|
|
177
|
+
readonly "no-sequences": 2;
|
|
178
|
+
readonly "no-shadow": 0;
|
|
179
|
+
readonly "no-shadow-restricted-names": 2;
|
|
180
|
+
readonly "no-ternary": 0;
|
|
181
|
+
readonly "no-throw-literal": 0;
|
|
182
|
+
readonly "no-undef-init": 2;
|
|
183
|
+
readonly "no-undefined": 0;
|
|
184
|
+
readonly "no-underscore-dangle": 0;
|
|
185
|
+
readonly "no-unneeded-ternary": 2;
|
|
186
|
+
readonly "no-unused-expressions": readonly [2, {
|
|
187
|
+
readonly ignoreDirectives: true;
|
|
188
|
+
readonly allowShortCircuit: true;
|
|
189
|
+
}];
|
|
190
|
+
readonly "no-unused-labels": 2;
|
|
191
|
+
readonly "no-useless-call": 2;
|
|
192
|
+
readonly "no-useless-catch": 2;
|
|
193
|
+
readonly "no-useless-computed-key": 2;
|
|
194
|
+
readonly "no-useless-concat": 0;
|
|
195
|
+
readonly "no-useless-constructor": 0;
|
|
196
|
+
readonly "no-useless-escape": 2;
|
|
197
|
+
readonly "no-useless-rename": 2;
|
|
198
|
+
readonly "no-useless-return": 2;
|
|
199
|
+
readonly "no-var": 2;
|
|
200
|
+
readonly "no-void": 0;
|
|
201
|
+
readonly "no-warning-comments": 0;
|
|
202
|
+
readonly "no-with": 2;
|
|
203
|
+
readonly "object-shorthand": 0;
|
|
204
|
+
readonly "one-var": readonly [2, "never"];
|
|
205
|
+
readonly "operator-assignment": 0;
|
|
206
|
+
readonly "prefer-arrow-callback": 2;
|
|
207
|
+
readonly "prefer-const": 2;
|
|
208
|
+
readonly "prefer-destructuring": 0;
|
|
209
|
+
readonly "prefer-exponentiation-operator": 0;
|
|
210
|
+
readonly "prefer-named-capture-group": 0;
|
|
211
|
+
readonly "prefer-numeric-literals": 2;
|
|
212
|
+
readonly "prefer-object-has-own": 0;
|
|
213
|
+
readonly "prefer-object-spread": 2;
|
|
214
|
+
readonly "prefer-promise-reject-errors": 0;
|
|
215
|
+
readonly "prefer-regex-literals": 0;
|
|
216
|
+
readonly "prefer-rest-params": 0;
|
|
217
|
+
readonly "prefer-spread": 0;
|
|
218
|
+
readonly "prefer-template": 0;
|
|
219
|
+
readonly radix: 2;
|
|
220
|
+
readonly "require-await": 0;
|
|
221
|
+
readonly "require-unicode-regexp": 0;
|
|
222
|
+
readonly "require-yield": 2;
|
|
223
|
+
readonly "sort-imports": 0;
|
|
224
|
+
readonly "sort-keys": 0;
|
|
225
|
+
readonly "sort-vars": 0;
|
|
226
|
+
readonly strict: 2;
|
|
227
|
+
readonly "symbol-description": 2;
|
|
228
|
+
readonly "vars-on-top": 0;
|
|
229
|
+
readonly yoda: readonly [2, "never", {
|
|
230
|
+
readonly onlyEquality: true;
|
|
231
|
+
}];
|
|
232
|
+
};
|
|
233
|
+
typescript: {
|
|
234
|
+
readonly "class-methods-use-this": 0;
|
|
235
|
+
readonly "default-param-last": 0;
|
|
236
|
+
readonly "dot-notation": 0;
|
|
237
|
+
readonly "init-declarations": 0;
|
|
238
|
+
readonly "max-params": 0;
|
|
239
|
+
readonly "no-array-constructor": 0;
|
|
240
|
+
readonly "no-dupe-class-members": 0;
|
|
241
|
+
readonly "no-empty-function": 0;
|
|
242
|
+
readonly "no-implied-eval": 0;
|
|
243
|
+
readonly "no-loop-func": 0;
|
|
244
|
+
readonly "no-magic-numbers": 0;
|
|
245
|
+
readonly "no-redeclare": 0;
|
|
246
|
+
readonly "no-restricted-imports": 0;
|
|
247
|
+
readonly "no-shadow": 0;
|
|
248
|
+
readonly "no-unused-expressions": 0;
|
|
249
|
+
readonly "no-unused-vars": 0;
|
|
250
|
+
readonly "no-use-before-define": 0;
|
|
251
|
+
readonly "no-useless-constructor": 0;
|
|
252
|
+
readonly "prefer-destructuring": 0;
|
|
253
|
+
readonly "prefer-promise-reject-errors": 0;
|
|
254
|
+
readonly "require-await": 0;
|
|
255
|
+
readonly "ts/adjacent-overload-signatures": 2;
|
|
256
|
+
readonly "ts/array-type": 2;
|
|
257
|
+
readonly "ts/await-thenable": 0;
|
|
258
|
+
readonly "ts/ban-ts-comment": 0;
|
|
259
|
+
readonly "ts/ban-tslint-comment": 0;
|
|
260
|
+
readonly "ts/class-literal-property-style": readonly [2, "fields"];
|
|
261
|
+
readonly "ts/class-methods-use-this": 0;
|
|
262
|
+
readonly "ts/consistent-generic-constructors": 0;
|
|
263
|
+
readonly "ts/consistent-indexed-object-style": 0;
|
|
264
|
+
readonly "ts/consistent-type-assertions": readonly [2, {
|
|
265
|
+
readonly assertionStyle: "as";
|
|
266
|
+
readonly objectLiteralTypeAssertions: "allow-as-parameter";
|
|
267
|
+
}];
|
|
268
|
+
readonly "ts/consistent-type-definitions": readonly [2, "interface"];
|
|
269
|
+
readonly "ts/consistent-type-exports": 2;
|
|
270
|
+
readonly "ts/consistent-type-imports": readonly [2, {
|
|
271
|
+
readonly fixStyle: "inline-type-imports";
|
|
272
|
+
}];
|
|
273
|
+
readonly "ts/default-param-last": 2;
|
|
274
|
+
readonly "ts/dot-notation": 0;
|
|
275
|
+
readonly "ts/explicit-function-return-type": 0;
|
|
276
|
+
readonly "ts/explicit-member-accessibility": 2;
|
|
277
|
+
readonly "ts/explicit-module-boundary-types": 0;
|
|
278
|
+
readonly "ts/init-declarations": 0;
|
|
279
|
+
readonly "ts/max-params": 0;
|
|
280
|
+
readonly "ts/member-ordering": readonly [2, {
|
|
281
|
+
readonly default: string[];
|
|
282
|
+
}];
|
|
283
|
+
readonly "ts/method-signature-style": 2;
|
|
284
|
+
readonly "ts/naming-convention": 0;
|
|
285
|
+
readonly "ts/no-array-constructor": 2;
|
|
286
|
+
readonly "ts/no-array-delete": 2;
|
|
287
|
+
readonly "ts/no-base-to-string": 0;
|
|
288
|
+
readonly "ts/no-confusing-non-null-assertion": 0;
|
|
289
|
+
readonly "ts/no-confusing-void-expression": readonly [2, {
|
|
290
|
+
readonly ignoreArrowShorthand: true;
|
|
291
|
+
readonly ignoreVoidOperator: false;
|
|
292
|
+
}];
|
|
293
|
+
readonly "ts/no-deprecated": 0;
|
|
294
|
+
readonly "ts/no-dupe-class-members": 2;
|
|
295
|
+
readonly "ts/no-duplicate-enum-values": 2;
|
|
296
|
+
readonly "ts/no-duplicate-type-constituents": 0;
|
|
297
|
+
readonly "ts/no-dynamic-delete": 0;
|
|
298
|
+
readonly "ts/no-empty-function": 0;
|
|
299
|
+
readonly "ts/no-empty-object-type": readonly [2, {
|
|
300
|
+
readonly allowInterfaces: "with-single-extends";
|
|
301
|
+
}];
|
|
302
|
+
readonly "ts/no-explicit-any": readonly [2, {
|
|
303
|
+
readonly fixToUnknown: true;
|
|
304
|
+
readonly ignoreRestArgs: true;
|
|
305
|
+
}];
|
|
306
|
+
readonly "ts/no-extra-non-null-assertion": 0;
|
|
307
|
+
readonly "ts/no-extraneous-class": 0;
|
|
308
|
+
readonly "ts/no-floating-promises": 0;
|
|
309
|
+
readonly "ts/no-for-in-array": 0;
|
|
310
|
+
readonly "ts/no-implied-eval": 2;
|
|
311
|
+
readonly "ts/no-import-type-side-effects": 2;
|
|
312
|
+
readonly "ts/no-inferrable-types": 2;
|
|
313
|
+
readonly "ts/no-invalid-void-type": 2;
|
|
314
|
+
readonly "ts/no-loop-func": 0;
|
|
315
|
+
readonly "ts/no-magic-numbers": 0;
|
|
316
|
+
readonly "ts/no-meaningless-void-operator": 0;
|
|
317
|
+
readonly "ts/no-misused-new": 0;
|
|
318
|
+
readonly "ts/no-misused-promises": readonly [2, {
|
|
319
|
+
readonly checksVoidReturn: false;
|
|
320
|
+
}];
|
|
321
|
+
readonly "ts/no-misused-spread": 2;
|
|
322
|
+
readonly "ts/no-mixed-enums": 0;
|
|
323
|
+
readonly "ts/no-namespace": readonly [2, {
|
|
324
|
+
readonly allowDeclarations: true;
|
|
325
|
+
readonly allowDefinitionFiles: true;
|
|
326
|
+
}];
|
|
327
|
+
readonly "ts/no-non-null-asserted-nullish-coalescing": 2;
|
|
328
|
+
readonly "ts/no-non-null-asserted-optional-chain": 2;
|
|
329
|
+
readonly "ts/no-non-null-assertion": 0;
|
|
330
|
+
readonly "ts/no-redeclare": 2;
|
|
331
|
+
readonly "ts/no-redundant-type-constituents": 0;
|
|
332
|
+
readonly "ts/no-require-imports": 2;
|
|
333
|
+
readonly "ts/no-restricted-imports": 0;
|
|
334
|
+
readonly "ts/no-restricted-types": 0;
|
|
335
|
+
readonly "ts/no-shadow": 0;
|
|
336
|
+
readonly "ts/no-this-alias": readonly [2, {
|
|
337
|
+
readonly allowDestructuring: true;
|
|
338
|
+
}];
|
|
339
|
+
readonly "ts/no-unnecessary-boolean-literal-compare": 0;
|
|
340
|
+
readonly "ts/no-unnecessary-condition": 0;
|
|
341
|
+
readonly "ts/no-unnecessary-parameter-property-assignment": 0;
|
|
342
|
+
readonly "ts/no-unnecessary-qualifier": 2;
|
|
343
|
+
readonly "ts/no-unnecessary-template-expression": 2;
|
|
344
|
+
readonly "ts/no-unnecessary-type-arguments": 0;
|
|
345
|
+
readonly "ts/no-unnecessary-type-assertion": 0;
|
|
346
|
+
readonly "ts/no-unnecessary-type-constraint": 2;
|
|
347
|
+
readonly "ts/no-unnecessary-type-parameters": 0;
|
|
348
|
+
readonly "ts/no-unsafe-argument": 0;
|
|
349
|
+
readonly "ts/no-unsafe-assignment": 0;
|
|
350
|
+
readonly "ts/no-unsafe-call": 0;
|
|
351
|
+
readonly "ts/no-unsafe-declaration-merging": 0;
|
|
352
|
+
readonly "ts/no-unsafe-enum-comparison": 0;
|
|
353
|
+
readonly "ts/no-unsafe-function-type": 2;
|
|
354
|
+
readonly "ts/no-unsafe-member-access": 0;
|
|
355
|
+
readonly "ts/no-unsafe-return": 0;
|
|
356
|
+
readonly "ts/no-unsafe-type-assertion": 0;
|
|
357
|
+
readonly "ts/no-unsafe-unary-minus": 2;
|
|
358
|
+
readonly "ts/no-unused-expressions": readonly [2, {
|
|
359
|
+
readonly ignoreDirectives: true;
|
|
360
|
+
readonly allowShortCircuit: true;
|
|
361
|
+
}];
|
|
362
|
+
readonly "ts/no-unused-vars": readonly [2, {
|
|
363
|
+
readonly vars: "local";
|
|
364
|
+
readonly args: "none";
|
|
365
|
+
readonly caughtErrors: "none";
|
|
366
|
+
readonly varsIgnorePattern: "^_";
|
|
367
|
+
readonly destructuredArrayIgnorePattern: "^_";
|
|
368
|
+
}];
|
|
369
|
+
readonly "ts/no-use-before-define": readonly [2, {
|
|
370
|
+
readonly functions: false;
|
|
371
|
+
readonly classes: false;
|
|
372
|
+
readonly variables: false;
|
|
373
|
+
readonly allowNamedExports: false;
|
|
374
|
+
}];
|
|
375
|
+
readonly "ts/no-useless-constructor": 0;
|
|
376
|
+
readonly "ts/no-useless-empty-export": 0;
|
|
377
|
+
readonly "ts/no-wrapper-object-types": 2;
|
|
378
|
+
readonly "ts/non-nullable-type-assertion-style": 0;
|
|
379
|
+
readonly "ts/only-throw-error": 0;
|
|
380
|
+
readonly "ts/parameter-properties": 0;
|
|
381
|
+
readonly "ts/prefer-as-const": 0;
|
|
382
|
+
readonly "ts/prefer-destructuring": 0;
|
|
383
|
+
readonly "ts/prefer-enum-initializers": 0;
|
|
384
|
+
readonly "ts/prefer-find": 2;
|
|
385
|
+
readonly "ts/prefer-for-of": 2;
|
|
386
|
+
readonly "ts/prefer-function-type": 2;
|
|
387
|
+
readonly "ts/prefer-includes": 0;
|
|
388
|
+
readonly "ts/prefer-literal-enum-member": 0;
|
|
389
|
+
readonly "ts/prefer-namespace-keyword": 2;
|
|
390
|
+
readonly "ts/prefer-nullish-coalescing": 0;
|
|
391
|
+
readonly "ts/prefer-optional-chain": 0;
|
|
392
|
+
readonly "ts/prefer-promise-reject-errors": 0;
|
|
393
|
+
readonly "ts/prefer-readonly": 0;
|
|
394
|
+
readonly "ts/prefer-readonly-parameter-types": 0;
|
|
395
|
+
readonly "ts/prefer-reduce-type-parameter": 0;
|
|
396
|
+
readonly "ts/prefer-regexp-exec": 0;
|
|
397
|
+
readonly "ts/prefer-return-this-type": 0;
|
|
398
|
+
readonly "ts/prefer-string-starts-ends-with": 0;
|
|
399
|
+
readonly "ts/promise-function-async": 0;
|
|
400
|
+
readonly "ts/related-getter-setter-pairs": 2;
|
|
401
|
+
readonly "ts/require-array-sort-compare": 0;
|
|
402
|
+
readonly "ts/require-await": 0;
|
|
403
|
+
readonly "ts/restrict-plus-operands": 0;
|
|
404
|
+
readonly "ts/restrict-template-expressions": 0;
|
|
405
|
+
readonly "ts/return-await": 0;
|
|
406
|
+
readonly "ts/strict-boolean-expressions": 0;
|
|
407
|
+
readonly "ts/switch-exhaustiveness-check": 0;
|
|
408
|
+
readonly "ts/triple-slash-reference": readonly [2, {
|
|
409
|
+
readonly path: "never";
|
|
410
|
+
readonly types: "always";
|
|
411
|
+
readonly lib: "always";
|
|
412
|
+
}];
|
|
413
|
+
readonly "ts/typedef": readonly [2, {
|
|
414
|
+
readonly arrayDestructuring: false;
|
|
415
|
+
readonly arrowParameter: false;
|
|
416
|
+
readonly memberVariableDeclaration: false;
|
|
417
|
+
readonly objectDestructuring: false;
|
|
418
|
+
readonly parameter: false;
|
|
419
|
+
readonly propertyDeclaration: true;
|
|
420
|
+
readonly variableDeclaration: false;
|
|
421
|
+
}];
|
|
422
|
+
readonly "ts/unbound-method": 0;
|
|
423
|
+
readonly "ts/unified-signatures": 0;
|
|
424
|
+
readonly "ts/use-unknown-in-catch-callback-variable": 0;
|
|
425
|
+
};
|
|
426
|
+
react: {
|
|
427
|
+
readonly "react/jsx-key-before-spread": 1;
|
|
428
|
+
readonly "react/jsx-no-comment-textnodes": 1;
|
|
429
|
+
readonly "react/jsx-no-duplicate-props": 1;
|
|
430
|
+
readonly "react/jsx-no-iife": 1;
|
|
431
|
+
readonly "react/jsx-no-undef": 0;
|
|
432
|
+
readonly "react/jsx-shorthand-boolean": 1;
|
|
433
|
+
readonly "react/jsx-shorthand-fragment": 1;
|
|
434
|
+
readonly "react/jsx-uses-react": 1;
|
|
435
|
+
readonly "react/jsx-uses-vars": 1;
|
|
436
|
+
readonly "react/no-access-state-in-setstate": 2;
|
|
437
|
+
readonly "react/no-array-index-key": 1;
|
|
438
|
+
readonly "react/no-children-count": 2;
|
|
439
|
+
readonly "react/no-children-for-each": 2;
|
|
440
|
+
readonly "react/no-children-map": 2;
|
|
441
|
+
readonly "react/no-children-only": 2;
|
|
442
|
+
readonly "react/no-children-prop": 2;
|
|
443
|
+
readonly "react/no-children-to-array": 2;
|
|
444
|
+
readonly "react/no-class-component": 2;
|
|
445
|
+
readonly "react/no-clone-element": 2;
|
|
446
|
+
readonly "react/no-component-will-mount": 2;
|
|
447
|
+
readonly "react/no-component-will-receive-props": 2;
|
|
448
|
+
readonly "react/no-component-will-update": 2;
|
|
449
|
+
readonly "react/no-context-provider": 2;
|
|
450
|
+
readonly "react/no-create-ref": 2;
|
|
451
|
+
readonly "react/no-default-props": 2;
|
|
452
|
+
readonly "react/no-direct-mutation-state": 2;
|
|
453
|
+
readonly "react/no-duplicate-key": 2;
|
|
454
|
+
readonly "react/no-forward-ref": 2;
|
|
455
|
+
readonly "react/no-implicit-key": 2;
|
|
456
|
+
readonly "react/no-leaked-conditional-rendering": 2;
|
|
457
|
+
readonly "react/no-missing-component-display-name": 2;
|
|
458
|
+
readonly "react/no-missing-context-display-name": 2;
|
|
459
|
+
readonly "react/no-missing-key": 2;
|
|
460
|
+
readonly "react/no-misused-capture-owner-stack": 2;
|
|
461
|
+
readonly "react/no-nested-component-definitions": 2;
|
|
462
|
+
readonly "react/no-nested-lazy-component-declarations": 2;
|
|
463
|
+
readonly "react/no-prop-types": 2;
|
|
464
|
+
readonly "react/no-redundant-should-component-update": 2;
|
|
465
|
+
readonly "react/no-set-state-in-component-did-mount": 2;
|
|
466
|
+
readonly "react/no-set-state-in-component-did-update": 2;
|
|
467
|
+
readonly "react/no-set-state-in-component-will-update": 2;
|
|
468
|
+
readonly "react/no-string-refs": 2;
|
|
469
|
+
readonly "react/no-unnecessary-key": 1;
|
|
470
|
+
readonly "react/no-unnecessary-use-callback": 1;
|
|
471
|
+
readonly "react/no-unnecessary-use-memo": 1;
|
|
472
|
+
readonly "react/no-unnecessary-use-prefix": 1;
|
|
473
|
+
readonly "react/no-unsafe-component-will-mount": 2;
|
|
474
|
+
readonly "react/no-unsafe-component-will-receive-props": 2;
|
|
475
|
+
readonly "react/no-unsafe-component-will-update": 2;
|
|
476
|
+
readonly "react/no-unstable-context-value": 2;
|
|
477
|
+
readonly "react/no-unstable-default-props": 2;
|
|
478
|
+
readonly "react/no-unused-class-component-members": 2;
|
|
479
|
+
readonly "react/no-unused-props": 2;
|
|
480
|
+
readonly "react/no-unused-state": 2;
|
|
481
|
+
readonly "react/no-use-context": 2;
|
|
482
|
+
readonly "react/no-useless-forward-ref": 2;
|
|
483
|
+
readonly "react/no-useless-fragment": 2;
|
|
484
|
+
readonly "react/prefer-destructuring-assignment": 2;
|
|
485
|
+
readonly "react/prefer-namespace-import": 1;
|
|
486
|
+
readonly "react/prefer-read-only-props": 2;
|
|
487
|
+
readonly "react/prefer-use-state-lazy-initialization": 2;
|
|
488
|
+
readonly "react-dom/no-dangerously-set-innerhtml": 1;
|
|
489
|
+
readonly "react-dom/no-dangerously-set-innerhtml-with-children": 2;
|
|
490
|
+
readonly "react-dom/no-find-dom-node": 2;
|
|
491
|
+
readonly "react-dom/no-flush-sync": 2;
|
|
492
|
+
readonly "react-dom/no-hydrate": 2;
|
|
493
|
+
readonly "react-dom/no-missing-button-type": 2;
|
|
494
|
+
readonly "react-dom/no-missing-iframe-sandbox": 2;
|
|
495
|
+
readonly "react-dom/no-namespace": 2;
|
|
496
|
+
readonly "react-dom/no-render": 2;
|
|
497
|
+
readonly "react-dom/no-render-return-value": 2;
|
|
498
|
+
readonly "react-dom/no-script-url": 2;
|
|
499
|
+
readonly "react-dom/no-string-style-prop": 2;
|
|
500
|
+
readonly "react-dom/no-unknown-property": 2;
|
|
501
|
+
readonly "react-dom/no-unsafe-iframe-sandbox": 2;
|
|
502
|
+
readonly "react-dom/no-unsafe-target-blank": 2;
|
|
503
|
+
readonly "react-dom/no-use-form-state": 2;
|
|
504
|
+
readonly "react-dom/no-void-elements-with-children": 2;
|
|
505
|
+
readonly "react-dom/prefer-namespace-import": 1;
|
|
506
|
+
readonly "react-web-api/no-leaked-event-listener": 2;
|
|
507
|
+
readonly "react-web-api/no-leaked-interval": 2;
|
|
508
|
+
readonly "react-web-api/no-leaked-resize-observer": 2;
|
|
509
|
+
readonly "react-web-api/no-leaked-timeout": 2;
|
|
510
|
+
readonly "react-hooks-extra/no-direct-set-state-in-use-effect": 1;
|
|
511
|
+
readonly "react-naming-convention/component-name": 2;
|
|
512
|
+
readonly "react-naming-convention/context-name": 2;
|
|
513
|
+
readonly "react-naming-convention/filename": readonly [1, "camelCase"];
|
|
514
|
+
readonly "react-naming-convention/filename-extension": 0;
|
|
515
|
+
readonly "react-naming-convention/use-state": 2;
|
|
516
|
+
};
|
|
517
|
+
vue: {
|
|
518
|
+
readonly "vue/attribute-hyphenation": readonly [2, "never", {
|
|
519
|
+
readonly ignore: readonly [];
|
|
520
|
+
}];
|
|
521
|
+
readonly "vue/first-attribute-linebreak": readonly [2, {
|
|
522
|
+
readonly singleline: "beside";
|
|
523
|
+
readonly multiline: "below";
|
|
524
|
+
}];
|
|
525
|
+
readonly "vue/multi-word-component-names": 0;
|
|
526
|
+
readonly "vue/html-self-closing": readonly [2, {
|
|
527
|
+
readonly html: {
|
|
528
|
+
readonly void: "always";
|
|
529
|
+
readonly normal: "always";
|
|
530
|
+
readonly component: "always";
|
|
531
|
+
};
|
|
532
|
+
readonly svg: "always";
|
|
533
|
+
readonly math: "always";
|
|
534
|
+
}];
|
|
535
|
+
readonly "vue/script-indent": readonly [2, 2, {
|
|
536
|
+
readonly baseIndent: 0;
|
|
537
|
+
readonly switchCase: 1;
|
|
538
|
+
readonly ignores: readonly [];
|
|
539
|
+
}];
|
|
540
|
+
readonly "vue/block-order": readonly [2, {
|
|
541
|
+
readonly order: readonly ["script:not([setup])", "script[setup]", "template", "style:not([scoped])", "style[scoped]"];
|
|
542
|
+
}];
|
|
543
|
+
readonly "vue/component-name-in-template-casing": readonly [2, "PascalCase", {
|
|
544
|
+
readonly registeredComponentsOnly: false;
|
|
545
|
+
}];
|
|
546
|
+
readonly "vue/component-options-name-casing": readonly [2, "PascalCase"];
|
|
547
|
+
readonly "vue/custom-event-name-casing": readonly [2, "camelCase", {
|
|
548
|
+
readonly ignores: readonly [];
|
|
549
|
+
}];
|
|
550
|
+
readonly "vue/define-macros-order": readonly [2, {
|
|
551
|
+
readonly order: readonly ["defineOptions", "defineProps", "defineEmits"];
|
|
552
|
+
readonly defineExposeLast: false;
|
|
553
|
+
}];
|
|
554
|
+
readonly "vue/v-on-event-hyphenation": readonly [2, "never", {
|
|
555
|
+
readonly autofix: true;
|
|
556
|
+
}];
|
|
557
|
+
readonly "vue/operator-linebreak": readonly [2, "after", {
|
|
558
|
+
readonly overrides: {
|
|
559
|
+
readonly "?": "ignore";
|
|
560
|
+
readonly ":": "ignore";
|
|
561
|
+
};
|
|
562
|
+
}];
|
|
563
|
+
};
|
|
564
|
+
stylistic: {
|
|
565
|
+
readonly "stylistic/array-bracket-newline": readonly [2, "consistent"];
|
|
566
|
+
readonly "stylistic/array-bracket-spacing": 2;
|
|
567
|
+
readonly "stylistic/array-element-newline": readonly [2, "consistent"];
|
|
568
|
+
readonly "stylistic/arrow-parens": 2;
|
|
569
|
+
readonly "stylistic/arrow-spacing": 2;
|
|
570
|
+
readonly "stylistic/block-spacing": 2;
|
|
571
|
+
readonly "stylistic/brace-style": 2;
|
|
572
|
+
readonly "stylistic/comma-dangle": readonly [2, "always-multiline"];
|
|
573
|
+
readonly "stylistic/comma-spacing": 2;
|
|
574
|
+
readonly "stylistic/comma-style": 2;
|
|
575
|
+
readonly "stylistic/computed-property-spacing": 2;
|
|
576
|
+
readonly "stylistic/curly-newline": 2;
|
|
577
|
+
readonly "stylistic/dot-location": 0;
|
|
578
|
+
readonly "stylistic/eol-last": 2;
|
|
579
|
+
readonly "stylistic/function-call-argument-newline": readonly [2, "consistent"];
|
|
580
|
+
readonly "stylistic/function-call-spacing": 2;
|
|
581
|
+
readonly "stylistic/function-paren-newline": readonly [2, "multiline-arguments"];
|
|
582
|
+
readonly "stylistic/generator-star-spacing": 2;
|
|
583
|
+
readonly "stylistic/implicit-arrow-linebreak": 2;
|
|
584
|
+
readonly "stylistic/indent": readonly [2, number];
|
|
585
|
+
readonly "stylistic/indent-binary-ops": readonly [2, number];
|
|
586
|
+
readonly "stylistic/jsx-child-element-spacing": 0;
|
|
587
|
+
readonly "stylistic/jsx-closing-bracket-location": 2;
|
|
588
|
+
readonly "stylistic/jsx-closing-tag-location": 2;
|
|
589
|
+
readonly "stylistic/jsx-curly-brace-presence": 2;
|
|
590
|
+
readonly "stylistic/jsx-curly-newline": 2;
|
|
591
|
+
readonly "stylistic/jsx-curly-spacing": 2;
|
|
592
|
+
readonly "stylistic/jsx-equals-spacing": 2;
|
|
593
|
+
readonly "stylistic/jsx-first-prop-new-line": 2;
|
|
594
|
+
readonly "stylistic/jsx-function-call-newline": 2;
|
|
595
|
+
readonly "stylistic/jsx-indent-props": readonly [2, number];
|
|
596
|
+
readonly "stylistic/jsx-max-props-per-line": 2;
|
|
597
|
+
readonly "stylistic/jsx-newline": 0;
|
|
598
|
+
readonly "stylistic/jsx-one-expression-per-line": readonly [2, {
|
|
599
|
+
readonly allow: "single-child";
|
|
600
|
+
}];
|
|
601
|
+
readonly "stylistic/jsx-pascal-case": readonly [2, {
|
|
602
|
+
readonly allowNamespace: true;
|
|
603
|
+
}];
|
|
604
|
+
readonly "stylistic/jsx-quotes": 2;
|
|
605
|
+
readonly "stylistic/jsx-self-closing-comp": 2;
|
|
606
|
+
readonly "stylistic/jsx-sort-props": 0;
|
|
607
|
+
readonly "stylistic/jsx-tag-spacing": readonly [2, {
|
|
608
|
+
readonly beforeClosing: "never";
|
|
609
|
+
}];
|
|
610
|
+
readonly "stylistic/jsx-wrap-multilines": readonly [2, {
|
|
611
|
+
readonly declaration: "parens-new-line";
|
|
612
|
+
readonly assignment: "parens-new-line";
|
|
613
|
+
readonly return: "parens-new-line";
|
|
614
|
+
readonly arrow: "parens-new-line";
|
|
615
|
+
readonly condition: "parens-new-line";
|
|
616
|
+
readonly logical: "parens-new-line";
|
|
617
|
+
readonly prop: "ignore";
|
|
618
|
+
readonly propertyValue: "parens-new-line";
|
|
619
|
+
}];
|
|
620
|
+
readonly "stylistic/key-spacing": 2;
|
|
621
|
+
readonly "stylistic/keyword-spacing": 2;
|
|
622
|
+
readonly "stylistic/line-comment-position": 0;
|
|
623
|
+
readonly "stylistic/linebreak-style": 0;
|
|
624
|
+
readonly "stylistic/lines-around-comment": 0;
|
|
625
|
+
readonly "stylistic/lines-between-class-members": 2;
|
|
626
|
+
readonly "stylistic/max-len": 0;
|
|
627
|
+
readonly "stylistic/max-statements-per-line": 0;
|
|
628
|
+
readonly "stylistic/member-delimiter-style": 2;
|
|
629
|
+
readonly "stylistic/multiline-comment-style": 0;
|
|
630
|
+
readonly "stylistic/multiline-ternary": readonly [2, "always-multiline"];
|
|
631
|
+
readonly "stylistic/new-parens": 2;
|
|
632
|
+
readonly "stylistic/newline-per-chained-call": 0;
|
|
633
|
+
readonly "stylistic/no-confusing-arrow": 0;
|
|
634
|
+
readonly "stylistic/no-extra-parens": 0;
|
|
635
|
+
readonly "stylistic/no-extra-semi": 2;
|
|
636
|
+
readonly "stylistic/no-floating-decimal": 2;
|
|
637
|
+
readonly "stylistic/no-mixed-operators": 0;
|
|
638
|
+
readonly "stylistic/no-mixed-spaces-and-tabs": 0;
|
|
639
|
+
readonly "stylistic/no-multi-spaces": 2;
|
|
640
|
+
readonly "stylistic/no-multiple-empty-lines": readonly [2, {
|
|
641
|
+
readonly max: 2;
|
|
642
|
+
readonly maxEOF: 1;
|
|
643
|
+
readonly maxBOF: 0;
|
|
644
|
+
}];
|
|
645
|
+
readonly "stylistic/no-tabs": 0;
|
|
646
|
+
readonly "stylistic/no-trailing-spaces": 2;
|
|
647
|
+
readonly "stylistic/no-whitespace-before-property": 2;
|
|
648
|
+
readonly "stylistic/nonblock-statement-body-position": 2;
|
|
649
|
+
readonly "stylistic/object-curly-newline": 2;
|
|
650
|
+
readonly "stylistic/object-curly-spacing": readonly [2, "always"];
|
|
651
|
+
readonly "stylistic/object-property-newline": readonly [2, {
|
|
652
|
+
readonly allowAllPropertiesOnSameLine: true;
|
|
653
|
+
}];
|
|
654
|
+
readonly "stylistic/one-var-declaration-per-line": 2;
|
|
655
|
+
readonly "stylistic/operator-linebreak": readonly [2, "after", {
|
|
656
|
+
readonly overrides: {
|
|
657
|
+
readonly "?": "ignore";
|
|
658
|
+
readonly ":": "ignore";
|
|
659
|
+
};
|
|
660
|
+
}];
|
|
661
|
+
readonly "stylistic/padded-blocks": 0;
|
|
662
|
+
readonly "stylistic/padding-line-between-statements": readonly [2, {
|
|
663
|
+
readonly blankLine: "always";
|
|
664
|
+
readonly prev: "*";
|
|
665
|
+
readonly next: "return";
|
|
666
|
+
}, {
|
|
667
|
+
readonly blankLine: "always";
|
|
668
|
+
readonly prev: "*";
|
|
669
|
+
readonly next: "default";
|
|
670
|
+
}, {
|
|
671
|
+
readonly blankLine: "always";
|
|
672
|
+
readonly prev: "directive";
|
|
673
|
+
readonly next: "*";
|
|
674
|
+
}, {
|
|
675
|
+
readonly blankLine: "any";
|
|
676
|
+
readonly prev: "directive";
|
|
677
|
+
readonly next: "directive";
|
|
678
|
+
}];
|
|
679
|
+
readonly "stylistic/quote-props": readonly [2, "consistent-as-needed"];
|
|
680
|
+
readonly "stylistic/quotes": 2;
|
|
681
|
+
readonly "stylistic/rest-spread-spacing": 2;
|
|
682
|
+
readonly "stylistic/semi": 2;
|
|
683
|
+
readonly "stylistic/semi-spacing": 2;
|
|
684
|
+
readonly "stylistic/semi-style": 2;
|
|
685
|
+
readonly "stylistic/space-before-blocks": 2;
|
|
686
|
+
readonly "stylistic/space-before-function-paren": readonly [2, {
|
|
687
|
+
readonly anonymous: "never";
|
|
688
|
+
readonly named: "never";
|
|
689
|
+
readonly asyncArrow: "always";
|
|
690
|
+
readonly catch: "always";
|
|
691
|
+
}];
|
|
692
|
+
readonly "stylistic/space-in-parens": 2;
|
|
693
|
+
readonly "stylistic/space-infix-ops": 2;
|
|
694
|
+
readonly "stylistic/space-unary-ops": 2;
|
|
695
|
+
readonly "stylistic/spaced-comment": 2;
|
|
696
|
+
readonly "stylistic/switch-colon-spacing": 2;
|
|
697
|
+
readonly "stylistic/template-curly-spacing": 2;
|
|
698
|
+
readonly "stylistic/template-tag-spacing": 2;
|
|
699
|
+
readonly "stylistic/type-annotation-spacing": 2;
|
|
700
|
+
readonly "stylistic/type-generic-spacing": 2;
|
|
701
|
+
readonly "stylistic/type-named-tuple-spacing": 2;
|
|
702
|
+
readonly "stylistic/wrap-iife": 2;
|
|
703
|
+
readonly "stylistic/wrap-regex": 2;
|
|
704
|
+
readonly "stylistic/yield-star-spacing": 2;
|
|
705
|
+
};
|
|
706
|
+
antfu: {
|
|
707
|
+
readonly "antfu/consistent-chaining": 2;
|
|
708
|
+
readonly "antfu/consistent-list-newline": 2;
|
|
709
|
+
readonly "antfu/curly": 2;
|
|
710
|
+
readonly "antfu/if-newline": 2;
|
|
711
|
+
readonly "antfu/import-dedupe": 2;
|
|
712
|
+
readonly "antfu/indent-unindent": 2;
|
|
713
|
+
readonly "antfu/no-import-dist": 2;
|
|
714
|
+
readonly "antfu/no-import-node-modules-by-path": 2;
|
|
715
|
+
readonly "antfu/no-top-level-await": 2;
|
|
716
|
+
readonly "antfu/no-ts-export-equal": 2;
|
|
717
|
+
readonly "antfu/top-level-function": 2;
|
|
718
|
+
};
|
|
719
|
+
};
|
|
720
|
+
export default _default;
|