linted 16.0.6 → 16.1.0-rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. package/dist/statics/rules/index.d.ts +12 -12
  2. package/dist/statics/rules/presets/Js.d.ts +4 -4
  3. package/dist/statics/rules/presets/Svelte.d.ts +4 -4
  4. package/dist/statics/rules/presets/Ts.d.ts +4 -4
  5. package/dist/statics/rules/presets/js/EnableStylistic.d.ts +4 -4
  6. package/dist/statics/rules/presets/js/EnableStylistic.js +4 -4
  7. package/package.json +3 -3
  8. package/src/statics/rules/presets/js/EnableStylistic.ts +4 -4
  9. package/dist/statics/rules/presets/entries/html/Enable.d.ts +0 -5
  10. package/dist/statics/rules/presets/entries/html/Enable.d.ts.map +0 -1
  11. package/dist/statics/rules/presets/entries/html/Enable.js +0 -7
  12. package/dist/statics/rules/presets/entries/html/Enable.js.map +0 -1
  13. package/dist/statics/rules/presets/entries/html/Recommended.d.ts +0 -3
  14. package/dist/statics/rules/presets/entries/html/Recommended.d.ts.map +0 -1
  15. package/dist/statics/rules/presets/entries/html/Recommended.js +0 -8
  16. package/dist/statics/rules/presets/entries/html/Recommended.js.map +0 -1
  17. package/dist/statics/rules/presets/entries/index.d.ts +0 -8
  18. package/dist/statics/rules/presets/entries/index.d.ts.map +0 -1
  19. package/dist/statics/rules/presets/entries/index.js +0 -2
  20. package/dist/statics/rules/presets/entries/index.js.map +0 -1
  21. package/dist/statics/rules/presets/entries/js/Enable.d.ts +0 -348
  22. package/dist/statics/rules/presets/entries/js/Enable.d.ts.map +0 -1
  23. package/dist/statics/rules/presets/entries/js/Enable.js +0 -463
  24. package/dist/statics/rules/presets/entries/js/Enable.js.map +0 -1
  25. package/dist/statics/rules/presets/entries/js/EnableStylistic.d.ts +0 -414
  26. package/dist/statics/rules/presets/entries/js/EnableStylistic.d.ts.map +0 -1
  27. package/dist/statics/rules/presets/entries/js/EnableStylistic.js +0 -664
  28. package/dist/statics/rules/presets/entries/js/EnableStylistic.js.map +0 -1
  29. package/dist/statics/rules/presets/entries/json/Enable.d.ts +0 -27
  30. package/dist/statics/rules/presets/entries/json/Enable.d.ts.map +0 -1
  31. package/dist/statics/rules/presets/entries/json/Enable.js +0 -31
  32. package/dist/statics/rules/presets/entries/json/Enable.js.map +0 -1
  33. package/dist/statics/rules/presets/entries/json/EnableX.d.ts +0 -50
  34. package/dist/statics/rules/presets/entries/json/EnableX.d.ts.map +0 -1
  35. package/dist/statics/rules/presets/entries/json/EnableX.js +0 -92
  36. package/dist/statics/rules/presets/entries/json/EnableX.js.map +0 -1
  37. package/dist/statics/rules/presets/entries/jsonc/OverrideJson.d.ts +0 -6
  38. package/dist/statics/rules/presets/entries/jsonc/OverrideJson.d.ts.map +0 -1
  39. package/dist/statics/rules/presets/entries/jsonc/OverrideJson.js +0 -13
  40. package/dist/statics/rules/presets/entries/jsonc/OverrideJson.js.map +0 -1
  41. package/dist/statics/rules/presets/entries/md/Enable.d.ts +0 -38
  42. package/dist/statics/rules/presets/entries/md/Enable.d.ts.map +0 -1
  43. package/dist/statics/rules/presets/entries/md/Enable.js +0 -58
  44. package/dist/statics/rules/presets/entries/md/Enable.js.map +0 -1
  45. package/dist/statics/rules/presets/entries/mocha/Enable.d.ts +0 -3
  46. package/dist/statics/rules/presets/entries/mocha/Enable.d.ts.map +0 -1
  47. package/dist/statics/rules/presets/entries/mocha/Enable.js +0 -7
  48. package/dist/statics/rules/presets/entries/mocha/Enable.js.map +0 -1
  49. package/dist/statics/rules/presets/entries/mocha/Recommended.d.ts +0 -3
  50. package/dist/statics/rules/presets/entries/mocha/Recommended.d.ts.map +0 -1
  51. package/dist/statics/rules/presets/entries/mocha/Recommended.js +0 -8
  52. package/dist/statics/rules/presets/entries/mocha/Recommended.js.map +0 -1
  53. package/dist/statics/rules/presets/entries/svelte/DisableJS.d.ts +0 -6
  54. package/dist/statics/rules/presets/entries/svelte/DisableJS.d.ts.map +0 -1
  55. package/dist/statics/rules/presets/entries/svelte/DisableJS.js +0 -10
  56. package/dist/statics/rules/presets/entries/svelte/DisableJS.js.map +0 -1
  57. package/dist/statics/rules/presets/entries/svelte/DisableTS.d.ts +0 -6
  58. package/dist/statics/rules/presets/entries/svelte/DisableTS.d.ts.map +0 -1
  59. package/dist/statics/rules/presets/entries/svelte/DisableTS.js +0 -10
  60. package/dist/statics/rules/presets/entries/svelte/DisableTS.js.map +0 -1
  61. package/dist/statics/rules/presets/entries/svelte/DisableX.d.ts +0 -5
  62. package/dist/statics/rules/presets/entries/svelte/DisableX.d.ts.map +0 -1
  63. package/dist/statics/rules/presets/entries/svelte/DisableX.js +0 -9
  64. package/dist/statics/rules/presets/entries/svelte/DisableX.js.map +0 -1
  65. package/dist/statics/rules/presets/entries/svelte/Enable.d.ts +0 -126
  66. package/dist/statics/rules/presets/entries/svelte/Enable.d.ts.map +0 -1
  67. package/dist/statics/rules/presets/entries/svelte/Enable.js +0 -179
  68. package/dist/statics/rules/presets/entries/svelte/Enable.js.map +0 -1
  69. package/dist/statics/rules/presets/entries/svelte/EnableX.d.ts +0 -8
  70. package/dist/statics/rules/presets/entries/svelte/EnableX.d.ts.map +0 -1
  71. package/dist/statics/rules/presets/entries/svelte/EnableX.js +0 -14
  72. package/dist/statics/rules/presets/entries/svelte/EnableX.js.map +0 -1
  73. package/dist/statics/rules/presets/entries/ts/DisableCompiler.d.ts +0 -18
  74. package/dist/statics/rules/presets/entries/ts/DisableCompiler.d.ts.map +0 -1
  75. package/dist/statics/rules/presets/entries/ts/DisableCompiler.js +0 -22
  76. package/dist/statics/rules/presets/entries/ts/DisableCompiler.js.map +0 -1
  77. package/dist/statics/rules/presets/entries/ts/DisableX.d.ts +0 -28
  78. package/dist/statics/rules/presets/entries/ts/DisableX.d.ts.map +0 -1
  79. package/dist/statics/rules/presets/entries/ts/DisableX.js +0 -32
  80. package/dist/statics/rules/presets/entries/ts/DisableX.js.map +0 -1
  81. package/dist/statics/rules/presets/entries/ts/Enable.d.ts +0 -262
  82. package/dist/statics/rules/presets/entries/ts/Enable.d.ts.map +0 -1
  83. package/dist/statics/rules/presets/entries/ts/Enable.js +0 -496
  84. package/dist/statics/rules/presets/entries/ts/Enable.js.map +0 -1
  85. package/dist/statics/rules/presets/entries/ts/EnableX.d.ts +0 -72
  86. package/dist/statics/rules/presets/entries/ts/EnableX.d.ts.map +0 -1
  87. package/dist/statics/rules/presets/entries/ts/EnableX.js +0 -107
  88. package/dist/statics/rules/presets/entries/ts/EnableX.js.map +0 -1
  89. package/dist/statics/rules/presets/entries/yml/Enable.d.ts +0 -39
  90. package/dist/statics/rules/presets/entries/yml/Enable.d.ts.map +0 -1
  91. package/dist/statics/rules/presets/entries/yml/Enable.js +0 -69
  92. package/dist/statics/rules/presets/entries/yml/Enable.js.map +0 -1
  93. package/dist/statics/rules/presets/entries/yml/EnableX.d.ts +0 -37
  94. package/dist/statics/rules/presets/entries/yml/EnableX.d.ts.map +0 -1
  95. package/dist/statics/rules/presets/entries/yml/EnableX.js +0 -67
  96. package/dist/statics/rules/presets/entries/yml/EnableX.js.map +0 -1
@@ -1,496 +0,0 @@
1
- import { Strings } from "../index.js";
2
- const { Id: { Enable }, Level: { ERROR, OFF }, State: { NEVER, }, } = Strings;
3
- export default [
4
- Enable,
5
- {
6
- "@typescript-eslint/adjacent-overload-signatures": OFF,
7
- "@typescript-eslint/array-type": [
8
- ERROR,
9
- {
10
- "default": "array",
11
- readonly: "array",
12
- },
13
- ],
14
- "@typescript-eslint/await-thenable": ERROR,
15
- "@typescript-eslint/ban-ts-comment": [
16
- ERROR,
17
- {
18
- "ts-check": false,
19
- "ts-expect-error": true,
20
- "ts-ignore": true,
21
- "ts-nocheck": true,
22
- minimumDescriptionLength: 10,
23
- },
24
- ],
25
- "@typescript-eslint/ban-tslint-comment": ERROR,
26
- "@typescript-eslint/class-literal-property-style": [
27
- ERROR,
28
- "fields",
29
- ],
30
- "@typescript-eslint/consistent-generic-constructors": [
31
- ERROR,
32
- "constructor",
33
- ],
34
- "@typescript-eslint/consistent-indexed-object-style": [
35
- ERROR,
36
- "record",
37
- ],
38
- "@typescript-eslint/consistent-type-assertions": [
39
- ERROR,
40
- {
41
- assertionStyle: "as",
42
- objectLiteralTypeAssertions: NEVER,
43
- },
44
- ],
45
- "@typescript-eslint/consistent-type-definitions": OFF,
46
- "@typescript-eslint/consistent-type-exports": [
47
- ERROR,
48
- { fixMixedExportsWithInlineTypeSpecifier: false },
49
- ],
50
- "@typescript-eslint/consistent-type-imports": [
51
- ERROR,
52
- {
53
- disallowTypeAnnotations: true,
54
- fixStyle: "separate-type-imports",
55
- prefer: "type-imports",
56
- },
57
- ],
58
- "@typescript-eslint/explicit-function-return-type": OFF,
59
- "@typescript-eslint/explicit-member-accessibility": [
60
- ERROR,
61
- {
62
- accessibility: "explicit",
63
- ignoredMethodNames: [],
64
- overrides: {
65
- properties: "explicit",
66
- constructors: "no-public",
67
- accessors: "explicit",
68
- methods: "explicit",
69
- parameterProperties: "explicit",
70
- },
71
- },
72
- ],
73
- "@typescript-eslint/explicit-module-boundary-types": OFF,
74
- "@typescript-eslint/member-ordering": [
75
- ERROR,
76
- {
77
- "default": {
78
- memberTypes: [
79
- "signature",
80
- "call-signature",
81
- "public-static-field",
82
- "protected-static-field",
83
- "private-static-field",
84
- "#private-static-field",
85
- "public-decorated-field",
86
- "protected-decorated-field",
87
- "private-decorated-field",
88
- "public-instance-field",
89
- "protected-instance-field",
90
- "private-instance-field",
91
- "#private-instance-field",
92
- "public-abstract-field",
93
- "protected-abstract-field",
94
- "public-field",
95
- "protected-field",
96
- "private-field",
97
- "#private-field",
98
- "static-field",
99
- "instance-field",
100
- "abstract-field",
101
- "decorated-field",
102
- "field",
103
- "static-initialization",
104
- "public-constructor",
105
- "protected-constructor",
106
- "private-constructor",
107
- "constructor",
108
- "public-static-accessor",
109
- "protected-static-accessor",
110
- "private-static-accessor",
111
- "#private-static-accessor",
112
- "public-decorated-accessor",
113
- "protected-decorated-accessor",
114
- "private-decorated-accessor",
115
- "public-instance-accessor",
116
- "protected-instance-accessor",
117
- "private-instance-accessor",
118
- "#private-instance-accessor",
119
- "public-abstract-accessor",
120
- "protected-abstract-accessor",
121
- "public-accessor",
122
- "protected-accessor",
123
- "private-accessor",
124
- "#private-accessor",
125
- "static-accessor",
126
- "instance-accessor",
127
- "abstract-accessor",
128
- "decorated-accessor",
129
- "accessor",
130
- "public-static-get",
131
- "protected-static-get",
132
- "private-static-get",
133
- "#private-static-get",
134
- "public-decorated-get",
135
- "protected-decorated-get",
136
- "private-decorated-get",
137
- "public-instance-get",
138
- "protected-instance-get",
139
- "private-instance-get",
140
- "#private-instance-get",
141
- "public-abstract-get",
142
- "protected-abstract-get",
143
- "public-get",
144
- "protected-get",
145
- "private-get",
146
- "#private-get",
147
- "static-get",
148
- "instance-get",
149
- "abstract-get",
150
- "decorated-get",
151
- "get",
152
- "public-static-set",
153
- "protected-static-set",
154
- "private-static-set",
155
- "#private-static-set",
156
- "public-decorated-set",
157
- "protected-decorated-set",
158
- "private-decorated-set",
159
- "public-instance-set",
160
- "protected-instance-set",
161
- "private-instance-set",
162
- "#private-instance-set",
163
- "public-abstract-set",
164
- "protected-abstract-set",
165
- "public-set",
166
- "protected-set",
167
- "private-set",
168
- "#private-set",
169
- "static-set",
170
- "instance-set",
171
- "abstract-set",
172
- "decorated-set",
173
- "set",
174
- "public-static-method",
175
- "protected-static-method",
176
- "private-static-method",
177
- "#private-static-method",
178
- "public-decorated-method",
179
- "protected-decorated-method",
180
- "private-decorated-method",
181
- "public-instance-method",
182
- "protected-instance-method",
183
- "private-instance-method",
184
- "#private-instance-method",
185
- "public-abstract-method",
186
- "protected-abstract-method",
187
- "public-method",
188
- "protected-method",
189
- "private-method",
190
- "#private-method",
191
- "static-method",
192
- "instance-method",
193
- "abstract-method",
194
- "decorated-method",
195
- "method",
196
- ],
197
- optionalityOrder: "required-first",
198
- order: "as-written",
199
- },
200
- },
201
- ],
202
- "@typescript-eslint/method-signature-style": [
203
- ERROR,
204
- "property",
205
- ],
206
- "@typescript-eslint/naming-convention": OFF,
207
- "@typescript-eslint/no-array-delete": ERROR,
208
- "@typescript-eslint/no-base-to-string": [
209
- ERROR,
210
- {
211
- ignoredTypeNames: [
212
- "Error",
213
- "RegExp",
214
- "URL",
215
- "URLSearchParams",
216
- ],
217
- },
218
- ],
219
- "@typescript-eslint/no-confusing-non-null-assertion": ERROR,
220
- "@typescript-eslint/no-confusing-void-expression": [
221
- ERROR,
222
- {
223
- ignoreArrowShorthand: true,
224
- ignoreVoidOperator: true,
225
- },
226
- ],
227
- "@typescript-eslint/no-duplicate-enum-values": ERROR,
228
- "@typescript-eslint/no-duplicate-type-constituents": [
229
- ERROR,
230
- {
231
- ignoreIntersections: false,
232
- ignoreUnions: false,
233
- },
234
- ],
235
- "@typescript-eslint/no-dynamic-delete": ERROR,
236
- "@typescript-eslint/no-empty-object-type": [
237
- ERROR,
238
- {
239
- allowInterfaces: NEVER,
240
- allowObjectTypes: NEVER,
241
- },
242
- ],
243
- "@typescript-eslint/no-explicit-any": [
244
- ERROR,
245
- {
246
- fixToUnknown: true,
247
- ignoreRestArgs: false,
248
- },
249
- ],
250
- "@typescript-eslint/no-extra-non-null-assertion": ERROR,
251
- "@typescript-eslint/no-extraneous-class": [
252
- ERROR,
253
- {
254
- allowConstructorOnly: false,
255
- allowEmpty: true,
256
- allowStaticOnly: false,
257
- allowWithDecorator: false,
258
- },
259
- ],
260
- "@typescript-eslint/no-floating-promises": [
261
- ERROR,
262
- {
263
- checkThenables: true,
264
- ignoreVoid: true,
265
- ignoreIIFE: false,
266
- },
267
- ],
268
- "@typescript-eslint/no-for-in-array": ERROR,
269
- "@typescript-eslint/no-import-type-side-effects": ERROR,
270
- "@typescript-eslint/no-inferrable-types": [
271
- ERROR,
272
- {
273
- ignoreParameters: false,
274
- ignoreProperties: false,
275
- },
276
- ],
277
- "@typescript-eslint/no-invalid-void-type": [
278
- ERROR,
279
- {
280
- allowInGenericTypeArguments: true,
281
- allowAsThisParameter: false,
282
- },
283
- ],
284
- "@typescript-eslint/no-meaningless-void-operator": [
285
- ERROR,
286
- { checkNever: true },
287
- ],
288
- "@typescript-eslint/no-misused-new": ERROR,
289
- "@typescript-eslint/no-misused-promises": [
290
- ERROR,
291
- {
292
- checksConditionals: true,
293
- checksSpreads: true,
294
- checksVoidReturn: {
295
- arguments: true,
296
- attributes: true,
297
- properties: true,
298
- returns: true,
299
- variables: true,
300
- },
301
- },
302
- ],
303
- "@typescript-eslint/no-mixed-enums": ERROR,
304
- "@typescript-eslint/no-namespace": OFF,
305
- "@typescript-eslint/no-non-null-asserted-nullish-coalescing": ERROR,
306
- "@typescript-eslint/no-non-null-asserted-optional-chain": ERROR,
307
- "@typescript-eslint/no-non-null-assertion": ERROR,
308
- "@typescript-eslint/no-redundant-type-constituents": ERROR,
309
- "@typescript-eslint/no-restricted-types": OFF,
310
- "@typescript-eslint/no-require-imports": [
311
- ERROR,
312
- { allow: [] },
313
- ],
314
- "@typescript-eslint/no-this-alias": [
315
- ERROR,
316
- {
317
- allowDestructuring: true,
318
- allowedNames: [],
319
- },
320
- ],
321
- "@typescript-eslint/no-unnecessary-boolean-literal-compare": [
322
- ERROR,
323
- {
324
- allowComparingNullableBooleansToTrue: true,
325
- allowComparingNullableBooleansToFalse: true,
326
- },
327
- ],
328
- "@typescript-eslint/no-unnecessary-condition": [
329
- ERROR,
330
- {
331
- allowConstantLoopConditions: false,
332
- allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
333
- },
334
- ],
335
- "@typescript-eslint/no-unnecessary-qualifier": ERROR,
336
- "@typescript-eslint/no-unnecessary-template-expression": ERROR,
337
- "@typescript-eslint/no-unnecessary-type-arguments": ERROR,
338
- "@typescript-eslint/no-unnecessary-type-assertion": [
339
- ERROR,
340
- { typesToIgnore: [] },
341
- ],
342
- "@typescript-eslint/no-unnecessary-type-constraint": ERROR,
343
- "@typescript-eslint/no-unnecessary-type-parameters": ERROR,
344
- "@typescript-eslint/no-unsafe-argument": ERROR,
345
- "@typescript-eslint/no-unsafe-assignment": ERROR,
346
- "@typescript-eslint/no-unsafe-call": ERROR,
347
- "@typescript-eslint/no-unsafe-declaration-merging": ERROR,
348
- "@typescript-eslint/no-unsafe-enum-comparison": ERROR,
349
- "@typescript-eslint/no-unsafe-function-type": ERROR,
350
- "@typescript-eslint/no-unsafe-member-access": ERROR,
351
- "@typescript-eslint/no-unsafe-return": ERROR,
352
- "@typescript-eslint/no-unsafe-unary-minus": ERROR,
353
- "@typescript-eslint/no-useless-empty-export": ERROR,
354
- "@typescript-eslint/no-wrapper-object-types": ERROR,
355
- "@typescript-eslint/no-var-requires": OFF,
356
- "@typescript-eslint/non-nullable-type-assertion-style": OFF,
357
- "@typescript-eslint/parameter-properties": [
358
- ERROR,
359
- { prefer: "parameter-property" },
360
- ],
361
- "@typescript-eslint/prefer-as-const": ERROR,
362
- "@typescript-eslint/prefer-enum-initializers": ERROR,
363
- "@typescript-eslint/prefer-find": ERROR,
364
- "@typescript-eslint/prefer-for-of": ERROR,
365
- "@typescript-eslint/prefer-function-type": ERROR,
366
- "@typescript-eslint/prefer-includes": ERROR,
367
- "@typescript-eslint/prefer-literal-enum-member": [
368
- ERROR,
369
- { allowBitwiseExpressions: false },
370
- ],
371
- "@typescript-eslint/prefer-namespace-keyword": ERROR,
372
- "@typescript-eslint/prefer-nullish-coalescing": [
373
- ERROR,
374
- {
375
- allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
376
- ignoreConditionalTests: false,
377
- ignoreTernaryTests: false,
378
- ignoreMixedLogicalExpressions: false,
379
- ignorePrimitives: {
380
- bigint: false,
381
- "boolean": false,
382
- number: false,
383
- string: false,
384
- },
385
- },
386
- ],
387
- "@typescript-eslint/prefer-optional-chain": [
388
- ERROR,
389
- {
390
- allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false,
391
- checkAny: true,
392
- checkBigInt: true,
393
- checkBoolean: true,
394
- checkNumber: true,
395
- checkString: true,
396
- checkUnknown: true,
397
- requireNullish: false,
398
- },
399
- ],
400
- "@typescript-eslint/prefer-readonly": [
401
- ERROR,
402
- { onlyInlineLambdas: false },
403
- ],
404
- "@typescript-eslint/prefer-readonly-parameter-types": OFF,
405
- "@typescript-eslint/prefer-reduce-type-parameter": ERROR,
406
- "@typescript-eslint/prefer-regexp-exec": ERROR,
407
- "@typescript-eslint/prefer-return-this-type": ERROR,
408
- "@typescript-eslint/prefer-string-starts-ends-with": [
409
- ERROR,
410
- { allowSingleElementEquality: NEVER },
411
- ],
412
- "@typescript-eslint/prefer-ts-expect-error": ERROR,
413
- "@typescript-eslint/promise-function-async": [
414
- ERROR,
415
- {
416
- allowAny: false,
417
- allowedPromiseNames: [],
418
- checkArrowFunctions: true,
419
- checkFunctionDeclarations: true,
420
- checkFunctionExpressions: true,
421
- checkMethodDeclarations: true,
422
- },
423
- ],
424
- "@typescript-eslint/require-array-sort-compare": [
425
- ERROR,
426
- { ignoreStringArrays: true },
427
- ],
428
- "@typescript-eslint/restrict-plus-operands": [
429
- ERROR,
430
- {
431
- allowAny: false,
432
- allowBoolean: false,
433
- allowNullish: false,
434
- allowNumberAndString: false,
435
- allowRegExp: false,
436
- skipCompoundAssignments: false,
437
- },
438
- ],
439
- "@typescript-eslint/restrict-template-expressions": [
440
- ERROR,
441
- {
442
- allowAny: true,
443
- allowArray: true,
444
- allowBoolean: true,
445
- allowNullish: false,
446
- allowNumber: true,
447
- allowNever: false,
448
- allowRegExp: false,
449
- },
450
- ],
451
- "@typescript-eslint/return-await": [
452
- ERROR,
453
- "in-try-catch",
454
- ],
455
- "@typescript-eslint/strict-boolean-expressions": [
456
- ERROR,
457
- {
458
- allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
459
- allowAny: false,
460
- allowNumber: true,
461
- allowString: false,
462
- allowNullableBoolean: false,
463
- allowNullableEnum: false,
464
- allowNullableNumber: false,
465
- allowNullableObject: false,
466
- allowNullableString: false,
467
- },
468
- ],
469
- "@typescript-eslint/switch-exhaustiveness-check": [
470
- ERROR,
471
- {
472
- allowDefaultCaseForExhaustiveSwitch: false,
473
- requireDefaultForNonUnion: true,
474
- },
475
- ],
476
- "@typescript-eslint/triple-slash-reference": [
477
- ERROR,
478
- {
479
- lib: NEVER,
480
- path: NEVER,
481
- types: NEVER,
482
- },
483
- ],
484
- "@typescript-eslint/typedef": OFF,
485
- "@typescript-eslint/unbound-method": [
486
- ERROR,
487
- { ignoreStatic: false },
488
- ],
489
- "@typescript-eslint/unified-signatures": [
490
- ERROR,
491
- { ignoreDifferentlyNamedParameters: false },
492
- ],
493
- "@typescript-eslint/use-unknown-in-catch-callback-variable": ERROR,
494
- },
495
- ];
496
- //# sourceMappingURL=Enable.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Enable.js","sourceRoot":"","sources":["../../../../../../src/statics/rules/presets/entries/ts/Enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EACJ,EAAE,EAAE,EAAE,MAAM,EAAE,EACd,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,KAAK,EAAE,EACL,KAAK,GACN,GACF,GAAG,OAAO,CAAC;AAEZ,eAAe;IACb,MAAM;IACN;QAGE,iDAAiD,EAAE,GAAG;QACtD,+BAA+B,EAAE;YAC/B,KAAK;YACL;gBACE,SAAS,EAAE,OAAO;gBAClB,QAAQ,EAAE,OAAO;aAClB;SACF;QACD,mCAAmC,EAAE,KAAK;QAC1C,mCAAmC,EAAE;YACnC,KAAK;YACL;gBACE,UAAU,EAAE,KAAK;gBACjB,iBAAiB,EAAE,IAAI;gBACvB,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,IAAI;gBAClB,wBAAwB,EAAE,EAAE;aAC7B;SACF;QACD,uCAAuC,EAAE,KAAK;QAC9C,iDAAiD,EAAE;YACjD,KAAK;YACL,QAAQ;SACT;QACD,oDAAoD,EAAE;YACpD,KAAK;YACL,aAAa;SACd;QACD,oDAAoD,EAAE;YACpD,KAAK;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AW,EAAE,KAAK;gBAClB,oBAAoB,EAAE,KAAK;gBAC3B,iBAAiB,EAAE,KAAK;gBACxB,mBAAmB,EAAE,KAAK;gBAC1B,mBAAmB,EAAE,KAAK;gBAC1B,mBAAmB,EAAE,KAAK;aAC3B;SACF;QACD,gDAAgD,EAAE;YAChD,KAAK;YACL;gBACE,mCAAmC,EAAE,KAAK;gBAC1C,yBAAyB,EAAE,IAAI;aAChC;SACF;QACD,2CAA2C,EAAE;YAC3C,KAAK;YACL;gBACE,GAAG,EAAE,KAAK;gBACV,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;aACb;SACF;QACD,4BAA4B,EAAE,GAAG;QACjC,mCAAmC,EAAE;YACnC,KAAK;YACL,EAAE,YAAY,EAAE,KAAK,EAAE;SACxB;QACD,uCAAuC,EAAE;YACvC,KAAK;YACL,EAAE,gCAAgC,EAAE,KAAK,EAAE;SAC5C;QACD,2DAA2D,EAAE,KAAK;KACnE;CAC2B,CAAC"}
@@ -1,72 +0,0 @@
1
- declare const _default: readonly ["enable-extend", {
2
- readonly "@typescript-eslint/class-methods-use-this": "off";
3
- readonly "@typescript-eslint/consistent-return": "off";
4
- readonly "@typescript-eslint/default-param-last": "error";
5
- readonly "@typescript-eslint/dot-notation": readonly ["error", {
6
- readonly allowKeywords: true;
7
- readonly allowPrivateClassPropertyAccess: true;
8
- readonly allowProtectedClassPropertyAccess: true;
9
- readonly allowIndexSignaturePropertyAccess: true;
10
- }];
11
- readonly "@typescript-eslint/init-declarations": readonly ["error", "always"];
12
- readonly "@typescript-eslint/max-params": "off";
13
- readonly "@typescript-eslint/no-array-constructor": "error";
14
- readonly "@typescript-eslint/no-dupe-class-members": "off";
15
- readonly "@typescript-eslint/no-empty-function": readonly ["error", {
16
- readonly allow: readonly ["constructors", "private-constructors", "protected-constructors", "decoratedFunctions"];
17
- }];
18
- readonly "@typescript-eslint/no-implied-eval": "error";
19
- readonly "@typescript-eslint/no-invalid-this": "off";
20
- readonly "@typescript-eslint/no-loop-func": "error";
21
- readonly "@typescript-eslint/no-magic-numbers": "off";
22
- readonly "@typescript-eslint/no-redeclare": "off";
23
- readonly "@typescript-eslint/no-restricted-imports": "off";
24
- readonly "@typescript-eslint/no-shadow": "off";
25
- readonly "@typescript-eslint/no-unused-expressions": readonly ["error", {
26
- readonly allowShortCircuit: true;
27
- readonly allowTernary: true;
28
- readonly allowTaggedTemplates: true;
29
- readonly enforceForJSX: false;
30
- }];
31
- readonly "@typescript-eslint/no-unused-vars": readonly ["error", {
32
- readonly vars: "all";
33
- readonly args: "all";
34
- readonly caughtErrors: "all";
35
- readonly ignoreRestSiblings: false;
36
- readonly ignoreClassWithStaticInitBlock: false;
37
- readonly reportUsedIgnorePattern: true;
38
- }];
39
- readonly "@typescript-eslint/no-use-before-define": readonly ["error", {
40
- readonly functions: true;
41
- readonly classes: true;
42
- readonly variables: true;
43
- readonly allowNamedExports: false;
44
- readonly enums: true;
45
- readonly typedefs: false;
46
- readonly ignoreTypeReferences: true;
47
- }];
48
- readonly "@typescript-eslint/no-useless-constructor": "error";
49
- readonly "@typescript-eslint/only-throw-error": readonly ["error", {
50
- readonly allowThrowingAny: false;
51
- readonly allowThrowingUnknown: false;
52
- }];
53
- readonly "@typescript-eslint/prefer-destructuring": readonly ["error", {
54
- readonly VariableDeclarator: {
55
- readonly array: true;
56
- readonly object: true;
57
- };
58
- readonly AssignmentExpression: {
59
- readonly array: false;
60
- readonly object: false;
61
- };
62
- }, {
63
- readonly enforceForRenamedProperties: false;
64
- readonly enforceForDeclarationWithTypeAnnotation: false;
65
- }];
66
- readonly "@typescript-eslint/prefer-promise-reject-errors": readonly ["error", {
67
- readonly allowEmptyReject: false;
68
- }];
69
- readonly "@typescript-eslint/require-await": "error";
70
- }];
71
- export default _default;
72
- //# sourceMappingURL=EnableX.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EnableX.d.ts","sourceRoot":"","sources":["../../../../../../src/statics/rules/presets/entries/ts/EnableX.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBA2G+B"}