@eslinted/defaults 10.1.1 → 10.3.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/.gitattributes +10 -0
- package/dist/rules/index.d.ts +1 -0
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/scopes/css/enable.js +7 -7
- package/dist/rules/scopes/css/enable.js.map +1 -1
- package/dist/rules/scopes/html/enable.js +35 -35
- package/dist/rules/scopes/html/enable.js.map +1 -1
- package/dist/rules/scopes/js/enable-stylistic.d.ts +1 -0
- package/dist/rules/scopes/js/enable-stylistic.d.ts.map +1 -1
- package/dist/rules/scopes/js/enable-stylistic.js +71 -67
- package/dist/rules/scopes/js/enable-stylistic.js.map +1 -1
- package/dist/rules/scopes/js/enable.js +148 -148
- package/dist/rules/scopes/js/enable.js.map +1 -1
- package/dist/rules/scopes/js/index.d.ts +1 -0
- package/dist/rules/scopes/js/index.d.ts.map +1 -1
- package/dist/rules/scopes/json/enable-ext.js +21 -21
- package/dist/rules/scopes/json/enable-ext.js.map +1 -1
- package/dist/rules/scopes/json/enable.js +20 -20
- package/dist/rules/scopes/json/enable.js.map +1 -1
- package/dist/rules/scopes/jsonc/override.js +2 -2
- package/dist/rules/scopes/jsonc/override.js.map +1 -1
- package/dist/rules/scopes/mocha/enable-chai-expect.js +4 -4
- package/dist/rules/scopes/mocha/enable-chai-expect.js.map +1 -1
- package/dist/rules/scopes/mocha/enable-chai.js +2 -2
- package/dist/rules/scopes/mocha/enable-chai.js.map +1 -1
- package/dist/rules/scopes/mocha/enable.js +18 -18
- package/dist/rules/scopes/mocha/enable.js.map +1 -1
- package/dist/rules/scopes/svelte/enable-ext.js +3 -3
- package/dist/rules/scopes/svelte/enable-ext.js.map +1 -1
- package/dist/rules/scopes/svelte/enable.js +63 -63
- package/dist/rules/scopes/svelte/enable.js.map +1 -1
- package/dist/rules/scopes/ts/enable-ext.js +16 -16
- package/dist/rules/scopes/ts/enable-ext.js.map +1 -1
- package/dist/rules/scopes/ts/enable.js +89 -89
- package/dist/rules/scopes/ts/enable.js.map +1 -1
- package/dist/rules/scopes/yml/enable-ext.js +9 -9
- package/dist/rules/scopes/yml/enable-ext.js.map +1 -1
- package/dist/rules/scopes/yml/enable.js +17 -17
- package/dist/rules/scopes/yml/enable.js.map +1 -1
- package/dist/rules/strings/state.d.ts +1 -1
- package/dist/rules/strings/state.d.ts.map +1 -1
- package/dist/rules/strings/state.js +1 -1
- package/dist/rules/strings/state.js.map +1 -1
- package/package.json +1 -1
- package/src/rules/scopes/css/enable.ts +7 -7
- package/src/rules/scopes/html/enable.ts +35 -35
- package/src/rules/scopes/js/enable-stylistic.ts +71 -67
- package/src/rules/scopes/js/enable.ts +148 -148
- package/src/rules/scopes/json/enable-ext.ts +21 -21
- package/src/rules/scopes/json/enable.ts +20 -20
- package/src/rules/scopes/jsonc/override.ts +2 -2
- package/src/rules/scopes/mocha/enable-chai-expect.ts +4 -4
- package/src/rules/scopes/mocha/enable-chai.ts +2 -2
- package/src/rules/scopes/mocha/enable.ts +18 -18
- package/src/rules/scopes/svelte/enable-ext.ts +3 -3
- package/src/rules/scopes/svelte/enable.ts +63 -63
- package/src/rules/scopes/ts/enable-ext.ts +16 -16
- package/src/rules/scopes/ts/enable.ts +89 -89
- package/src/rules/scopes/yml/enable-ext.ts +9 -9
- package/src/rules/scopes/yml/enable.ts +17 -17
- package/src/rules/strings/state.ts +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { ID,
|
|
1
|
+
import { ID, ON, OFF, never, explicit, } from "../../strings/index.js";
|
|
2
2
|
export const TsEnable = {
|
|
3
3
|
id: ID.Enable,
|
|
4
4
|
rules: {
|
|
5
5
|
"@typescript-eslint/adjacent-overload-signatures": OFF,
|
|
6
6
|
"@typescript-eslint/array-type": [
|
|
7
|
-
|
|
7
|
+
ON,
|
|
8
8
|
{
|
|
9
9
|
"default": "array",
|
|
10
10
|
readonly: "array",
|
|
11
11
|
},
|
|
12
12
|
],
|
|
13
|
-
"@typescript-eslint/await-thenable":
|
|
13
|
+
"@typescript-eslint/await-thenable": ON,
|
|
14
14
|
"@typescript-eslint/ban-ts-comment": [
|
|
15
|
-
|
|
15
|
+
ON,
|
|
16
16
|
{
|
|
17
17
|
"ts-check": false,
|
|
18
18
|
"ts-expect-error": {
|
|
@@ -23,21 +23,21 @@ export const TsEnable = {
|
|
|
23
23
|
minimumDescriptionLength: 10,
|
|
24
24
|
},
|
|
25
25
|
],
|
|
26
|
-
"@typescript-eslint/ban-tslint-comment":
|
|
26
|
+
"@typescript-eslint/ban-tslint-comment": ON,
|
|
27
27
|
"@typescript-eslint/class-literal-property-style": [
|
|
28
|
-
|
|
28
|
+
ON,
|
|
29
29
|
"fields",
|
|
30
30
|
],
|
|
31
31
|
"@typescript-eslint/consistent-generic-constructors": [
|
|
32
|
-
|
|
32
|
+
ON,
|
|
33
33
|
"constructor",
|
|
34
34
|
],
|
|
35
35
|
"@typescript-eslint/consistent-indexed-object-style": [
|
|
36
|
-
|
|
36
|
+
ON,
|
|
37
37
|
"record",
|
|
38
38
|
],
|
|
39
39
|
"@typescript-eslint/consistent-type-assertions": [
|
|
40
|
-
|
|
40
|
+
ON,
|
|
41
41
|
{
|
|
42
42
|
assertionStyle: "as",
|
|
43
43
|
arrayLiteralTypeAssertions: never,
|
|
@@ -46,13 +46,13 @@ export const TsEnable = {
|
|
|
46
46
|
],
|
|
47
47
|
"@typescript-eslint/consistent-type-definitions": OFF,
|
|
48
48
|
"@typescript-eslint/consistent-type-exports": [
|
|
49
|
-
|
|
49
|
+
ON,
|
|
50
50
|
{
|
|
51
51
|
fixMixedExportsWithInlineTypeSpecifier: false,
|
|
52
52
|
},
|
|
53
53
|
],
|
|
54
54
|
"@typescript-eslint/consistent-type-imports": [
|
|
55
|
-
|
|
55
|
+
ON,
|
|
56
56
|
{
|
|
57
57
|
disallowTypeAnnotations: true,
|
|
58
58
|
fixStyle: "separate-type-imports",
|
|
@@ -61,7 +61,7 @@ export const TsEnable = {
|
|
|
61
61
|
],
|
|
62
62
|
"@typescript-eslint/explicit-function-return-type": OFF,
|
|
63
63
|
"@typescript-eslint/explicit-member-accessibility": [
|
|
64
|
-
|
|
64
|
+
ON,
|
|
65
65
|
{
|
|
66
66
|
accessibility: explicit,
|
|
67
67
|
ignoredMethodNames: [],
|
|
@@ -76,7 +76,7 @@ export const TsEnable = {
|
|
|
76
76
|
],
|
|
77
77
|
"@typescript-eslint/explicit-module-boundary-types": OFF,
|
|
78
78
|
"@typescript-eslint/member-ordering": [
|
|
79
|
-
|
|
79
|
+
ON,
|
|
80
80
|
{
|
|
81
81
|
"default": {
|
|
82
82
|
memberTypes: [
|
|
@@ -204,13 +204,13 @@ export const TsEnable = {
|
|
|
204
204
|
},
|
|
205
205
|
],
|
|
206
206
|
"@typescript-eslint/method-signature-style": [
|
|
207
|
-
|
|
207
|
+
ON,
|
|
208
208
|
"property",
|
|
209
209
|
],
|
|
210
210
|
"@typescript-eslint/naming-convention": OFF,
|
|
211
|
-
"@typescript-eslint/no-array-delete":
|
|
211
|
+
"@typescript-eslint/no-array-delete": ON,
|
|
212
212
|
"@typescript-eslint/no-base-to-string": [
|
|
213
|
-
|
|
213
|
+
ON,
|
|
214
214
|
{
|
|
215
215
|
ignoredTypeNames: [
|
|
216
216
|
"Error",
|
|
@@ -220,9 +220,9 @@ export const TsEnable = {
|
|
|
220
220
|
],
|
|
221
221
|
},
|
|
222
222
|
],
|
|
223
|
-
"@typescript-eslint/no-confusing-non-null-assertion":
|
|
223
|
+
"@typescript-eslint/no-confusing-non-null-assertion": ON,
|
|
224
224
|
"@typescript-eslint/no-confusing-void-expression": [
|
|
225
|
-
|
|
225
|
+
ON,
|
|
226
226
|
{
|
|
227
227
|
ignoreArrowShorthand: true,
|
|
228
228
|
ignoreVoidOperator: true,
|
|
@@ -230,32 +230,32 @@ export const TsEnable = {
|
|
|
230
230
|
},
|
|
231
231
|
],
|
|
232
232
|
"@typescript-eslint/no-deprecated": OFF,
|
|
233
|
-
"@typescript-eslint/no-duplicate-enum-values":
|
|
233
|
+
"@typescript-eslint/no-duplicate-enum-values": ON,
|
|
234
234
|
"@typescript-eslint/no-duplicate-type-constituents": [
|
|
235
|
-
|
|
235
|
+
ON,
|
|
236
236
|
{
|
|
237
237
|
ignoreIntersections: false,
|
|
238
238
|
ignoreUnions: false,
|
|
239
239
|
},
|
|
240
240
|
],
|
|
241
|
-
"@typescript-eslint/no-dynamic-delete":
|
|
241
|
+
"@typescript-eslint/no-dynamic-delete": ON,
|
|
242
242
|
"@typescript-eslint/no-empty-object-type": [
|
|
243
|
-
|
|
243
|
+
ON,
|
|
244
244
|
{
|
|
245
245
|
allowInterfaces: never,
|
|
246
246
|
allowObjectTypes: never,
|
|
247
247
|
},
|
|
248
248
|
],
|
|
249
249
|
"@typescript-eslint/no-explicit-any": [
|
|
250
|
-
|
|
250
|
+
ON,
|
|
251
251
|
{
|
|
252
252
|
fixToUnknown: true,
|
|
253
253
|
ignoreRestArgs: false,
|
|
254
254
|
},
|
|
255
255
|
],
|
|
256
|
-
"@typescript-eslint/no-extra-non-null-assertion":
|
|
256
|
+
"@typescript-eslint/no-extra-non-null-assertion": ON,
|
|
257
257
|
"@typescript-eslint/no-extraneous-class": [
|
|
258
|
-
|
|
258
|
+
ON,
|
|
259
259
|
{
|
|
260
260
|
allowConstructorOnly: false,
|
|
261
261
|
allowEmpty: true,
|
|
@@ -264,38 +264,38 @@ export const TsEnable = {
|
|
|
264
264
|
},
|
|
265
265
|
],
|
|
266
266
|
"@typescript-eslint/no-floating-promises": [
|
|
267
|
-
|
|
267
|
+
ON,
|
|
268
268
|
{
|
|
269
269
|
checkThenables: true,
|
|
270
270
|
ignoreVoid: true,
|
|
271
271
|
ignoreIIFE: false,
|
|
272
272
|
},
|
|
273
273
|
],
|
|
274
|
-
"@typescript-eslint/no-for-in-array":
|
|
275
|
-
"@typescript-eslint/no-import-type-side-effects":
|
|
274
|
+
"@typescript-eslint/no-for-in-array": ON,
|
|
275
|
+
"@typescript-eslint/no-import-type-side-effects": ON,
|
|
276
276
|
"@typescript-eslint/no-inferrable-types": [
|
|
277
|
-
|
|
277
|
+
ON,
|
|
278
278
|
{
|
|
279
279
|
ignoreParameters: false,
|
|
280
280
|
ignoreProperties: false,
|
|
281
281
|
},
|
|
282
282
|
],
|
|
283
283
|
"@typescript-eslint/no-invalid-void-type": [
|
|
284
|
-
|
|
284
|
+
ON,
|
|
285
285
|
{
|
|
286
286
|
allowInGenericTypeArguments: true,
|
|
287
287
|
allowAsThisParameter: false,
|
|
288
288
|
},
|
|
289
289
|
],
|
|
290
290
|
"@typescript-eslint/no-meaningless-void-operator": [
|
|
291
|
-
|
|
291
|
+
ON,
|
|
292
292
|
{
|
|
293
293
|
checkNever: true,
|
|
294
294
|
},
|
|
295
295
|
],
|
|
296
|
-
"@typescript-eslint/no-misused-new":
|
|
296
|
+
"@typescript-eslint/no-misused-new": ON,
|
|
297
297
|
"@typescript-eslint/no-misused-promises": [
|
|
298
|
-
|
|
298
|
+
ON,
|
|
299
299
|
{
|
|
300
300
|
checksConditionals: true,
|
|
301
301
|
checksSpreads: true,
|
|
@@ -309,91 +309,91 @@ export const TsEnable = {
|
|
|
309
309
|
},
|
|
310
310
|
],
|
|
311
311
|
"@typescript-eslint/no-misused-spread": [
|
|
312
|
-
|
|
312
|
+
ON,
|
|
313
313
|
{
|
|
314
314
|
allow: [],
|
|
315
315
|
},
|
|
316
316
|
],
|
|
317
|
-
"@typescript-eslint/no-mixed-enums":
|
|
317
|
+
"@typescript-eslint/no-mixed-enums": ON,
|
|
318
318
|
"@typescript-eslint/no-namespace": OFF,
|
|
319
|
-
"@typescript-eslint/no-non-null-asserted-nullish-coalescing":
|
|
320
|
-
"@typescript-eslint/no-non-null-asserted-optional-chain":
|
|
321
|
-
"@typescript-eslint/no-non-null-assertion":
|
|
322
|
-
"@typescript-eslint/no-redundant-type-constituents":
|
|
319
|
+
"@typescript-eslint/no-non-null-asserted-nullish-coalescing": ON,
|
|
320
|
+
"@typescript-eslint/no-non-null-asserted-optional-chain": ON,
|
|
321
|
+
"@typescript-eslint/no-non-null-assertion": ON,
|
|
322
|
+
"@typescript-eslint/no-redundant-type-constituents": ON,
|
|
323
323
|
"@typescript-eslint/no-restricted-types": OFF,
|
|
324
324
|
"@typescript-eslint/no-require-imports": [
|
|
325
|
-
|
|
325
|
+
ON,
|
|
326
326
|
{
|
|
327
327
|
allow: [],
|
|
328
328
|
},
|
|
329
329
|
],
|
|
330
330
|
"@typescript-eslint/no-this-alias": [
|
|
331
|
-
|
|
331
|
+
ON,
|
|
332
332
|
{
|
|
333
333
|
allowDestructuring: true,
|
|
334
334
|
allowedNames: [],
|
|
335
335
|
},
|
|
336
336
|
],
|
|
337
337
|
"@typescript-eslint/no-unnecessary-boolean-literal-compare": [
|
|
338
|
-
|
|
338
|
+
ON,
|
|
339
339
|
{
|
|
340
340
|
allowComparingNullableBooleansToTrue: true,
|
|
341
341
|
allowComparingNullableBooleansToFalse: true,
|
|
342
342
|
},
|
|
343
343
|
],
|
|
344
344
|
"@typescript-eslint/no-unnecessary-condition": [
|
|
345
|
-
|
|
345
|
+
ON,
|
|
346
346
|
{
|
|
347
347
|
allowConstantLoopConditions: never,
|
|
348
348
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
|
|
349
349
|
},
|
|
350
350
|
],
|
|
351
|
-
"@typescript-eslint/no-unnecessary-parameter-property-assignment":
|
|
352
|
-
"@typescript-eslint/no-unnecessary-qualifier":
|
|
353
|
-
"@typescript-eslint/no-unnecessary-template-expression":
|
|
354
|
-
"@typescript-eslint/no-unnecessary-type-arguments":
|
|
351
|
+
"@typescript-eslint/no-unnecessary-parameter-property-assignment": ON,
|
|
352
|
+
"@typescript-eslint/no-unnecessary-qualifier": ON,
|
|
353
|
+
"@typescript-eslint/no-unnecessary-template-expression": ON,
|
|
354
|
+
"@typescript-eslint/no-unnecessary-type-arguments": ON,
|
|
355
355
|
"@typescript-eslint/no-unnecessary-type-assertion": [
|
|
356
|
-
|
|
356
|
+
ON,
|
|
357
357
|
{
|
|
358
358
|
typesToIgnore: [],
|
|
359
359
|
},
|
|
360
360
|
],
|
|
361
|
-
"@typescript-eslint/no-unnecessary-type-constraint":
|
|
362
|
-
"@typescript-eslint/no-unnecessary-type-parameters":
|
|
363
|
-
"@typescript-eslint/no-unsafe-argument":
|
|
364
|
-
"@typescript-eslint/no-unsafe-assignment":
|
|
365
|
-
"@typescript-eslint/no-unsafe-call":
|
|
366
|
-
"@typescript-eslint/no-unsafe-declaration-merging":
|
|
367
|
-
"@typescript-eslint/no-unsafe-enum-comparison":
|
|
368
|
-
"@typescript-eslint/no-unsafe-function-type":
|
|
369
|
-
"@typescript-eslint/no-unsafe-member-access":
|
|
370
|
-
"@typescript-eslint/no-unsafe-return":
|
|
361
|
+
"@typescript-eslint/no-unnecessary-type-constraint": ON,
|
|
362
|
+
"@typescript-eslint/no-unnecessary-type-parameters": ON,
|
|
363
|
+
"@typescript-eslint/no-unsafe-argument": ON,
|
|
364
|
+
"@typescript-eslint/no-unsafe-assignment": ON,
|
|
365
|
+
"@typescript-eslint/no-unsafe-call": ON,
|
|
366
|
+
"@typescript-eslint/no-unsafe-declaration-merging": ON,
|
|
367
|
+
"@typescript-eslint/no-unsafe-enum-comparison": ON,
|
|
368
|
+
"@typescript-eslint/no-unsafe-function-type": ON,
|
|
369
|
+
"@typescript-eslint/no-unsafe-member-access": ON,
|
|
370
|
+
"@typescript-eslint/no-unsafe-return": ON,
|
|
371
371
|
"@typescript-eslint/no-unsafe-type-assertion": OFF,
|
|
372
|
-
"@typescript-eslint/no-unsafe-unary-minus":
|
|
373
|
-
"@typescript-eslint/no-useless-empty-export":
|
|
374
|
-
"@typescript-eslint/no-wrapper-object-types":
|
|
372
|
+
"@typescript-eslint/no-unsafe-unary-minus": ON,
|
|
373
|
+
"@typescript-eslint/no-useless-empty-export": ON,
|
|
374
|
+
"@typescript-eslint/no-wrapper-object-types": ON,
|
|
375
375
|
"@typescript-eslint/non-nullable-type-assertion-style": OFF,
|
|
376
376
|
"@typescript-eslint/parameter-properties": [
|
|
377
|
-
|
|
377
|
+
ON,
|
|
378
378
|
{
|
|
379
379
|
prefer: "parameter-property",
|
|
380
380
|
},
|
|
381
381
|
],
|
|
382
|
-
"@typescript-eslint/prefer-as-const":
|
|
383
|
-
"@typescript-eslint/prefer-enum-initializers":
|
|
384
|
-
"@typescript-eslint/prefer-find":
|
|
385
|
-
"@typescript-eslint/prefer-for-of":
|
|
386
|
-
"@typescript-eslint/prefer-function-type":
|
|
387
|
-
"@typescript-eslint/prefer-includes":
|
|
382
|
+
"@typescript-eslint/prefer-as-const": ON,
|
|
383
|
+
"@typescript-eslint/prefer-enum-initializers": ON,
|
|
384
|
+
"@typescript-eslint/prefer-find": ON,
|
|
385
|
+
"@typescript-eslint/prefer-for-of": ON,
|
|
386
|
+
"@typescript-eslint/prefer-function-type": ON,
|
|
387
|
+
"@typescript-eslint/prefer-includes": ON,
|
|
388
388
|
"@typescript-eslint/prefer-literal-enum-member": [
|
|
389
|
-
|
|
389
|
+
ON,
|
|
390
390
|
{
|
|
391
391
|
allowBitwiseExpressions: false,
|
|
392
392
|
},
|
|
393
393
|
],
|
|
394
|
-
"@typescript-eslint/prefer-namespace-keyword":
|
|
394
|
+
"@typescript-eslint/prefer-namespace-keyword": ON,
|
|
395
395
|
"@typescript-eslint/prefer-nullish-coalescing": [
|
|
396
|
-
|
|
396
|
+
ON,
|
|
397
397
|
{
|
|
398
398
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
|
|
399
399
|
ignoreBooleanCoercion: false,
|
|
@@ -409,7 +409,7 @@ export const TsEnable = {
|
|
|
409
409
|
},
|
|
410
410
|
],
|
|
411
411
|
"@typescript-eslint/prefer-optional-chain": [
|
|
412
|
-
|
|
412
|
+
ON,
|
|
413
413
|
{
|
|
414
414
|
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing: false,
|
|
415
415
|
checkAny: true,
|
|
@@ -422,23 +422,23 @@ export const TsEnable = {
|
|
|
422
422
|
},
|
|
423
423
|
],
|
|
424
424
|
"@typescript-eslint/prefer-readonly": [
|
|
425
|
-
|
|
425
|
+
ON,
|
|
426
426
|
{
|
|
427
427
|
onlyInlineLambdas: false,
|
|
428
428
|
},
|
|
429
429
|
],
|
|
430
430
|
"@typescript-eslint/prefer-readonly-parameter-types": OFF,
|
|
431
|
-
"@typescript-eslint/prefer-reduce-type-parameter":
|
|
432
|
-
"@typescript-eslint/prefer-regexp-exec":
|
|
433
|
-
"@typescript-eslint/prefer-return-this-type":
|
|
431
|
+
"@typescript-eslint/prefer-reduce-type-parameter": ON,
|
|
432
|
+
"@typescript-eslint/prefer-regexp-exec": ON,
|
|
433
|
+
"@typescript-eslint/prefer-return-this-type": ON,
|
|
434
434
|
"@typescript-eslint/prefer-string-starts-ends-with": [
|
|
435
|
-
|
|
435
|
+
ON,
|
|
436
436
|
{
|
|
437
437
|
allowSingleElementEquality: never,
|
|
438
438
|
},
|
|
439
439
|
],
|
|
440
440
|
"@typescript-eslint/promise-function-async": [
|
|
441
|
-
|
|
441
|
+
ON,
|
|
442
442
|
{
|
|
443
443
|
allowAny: false,
|
|
444
444
|
allowedPromiseNames: [],
|
|
@@ -448,15 +448,15 @@ export const TsEnable = {
|
|
|
448
448
|
checkMethodDeclarations: true,
|
|
449
449
|
},
|
|
450
450
|
],
|
|
451
|
-
"@typescript-eslint/related-getter-setter-pairs":
|
|
451
|
+
"@typescript-eslint/related-getter-setter-pairs": ON,
|
|
452
452
|
"@typescript-eslint/require-array-sort-compare": [
|
|
453
|
-
|
|
453
|
+
ON,
|
|
454
454
|
{
|
|
455
455
|
ignoreStringArrays: true,
|
|
456
456
|
},
|
|
457
457
|
],
|
|
458
458
|
"@typescript-eslint/restrict-plus-operands": [
|
|
459
|
-
|
|
459
|
+
ON,
|
|
460
460
|
{
|
|
461
461
|
allowAny: false,
|
|
462
462
|
allowBoolean: false,
|
|
@@ -467,7 +467,7 @@ export const TsEnable = {
|
|
|
467
467
|
},
|
|
468
468
|
],
|
|
469
469
|
"@typescript-eslint/restrict-template-expressions": [
|
|
470
|
-
|
|
470
|
+
ON,
|
|
471
471
|
{
|
|
472
472
|
allowAny: true,
|
|
473
473
|
allowArray: true,
|
|
@@ -479,11 +479,11 @@ export const TsEnable = {
|
|
|
479
479
|
},
|
|
480
480
|
],
|
|
481
481
|
"@typescript-eslint/return-await": [
|
|
482
|
-
|
|
482
|
+
ON,
|
|
483
483
|
"in-try-catch",
|
|
484
484
|
],
|
|
485
485
|
"@typescript-eslint/strict-boolean-expressions": [
|
|
486
|
-
|
|
486
|
+
ON,
|
|
487
487
|
{
|
|
488
488
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
|
|
489
489
|
allowAny: false,
|
|
@@ -497,7 +497,7 @@ export const TsEnable = {
|
|
|
497
497
|
},
|
|
498
498
|
],
|
|
499
499
|
"@typescript-eslint/switch-exhaustiveness-check": [
|
|
500
|
-
|
|
500
|
+
ON,
|
|
501
501
|
{
|
|
502
502
|
allowDefaultCaseForExhaustiveSwitch: false,
|
|
503
503
|
considerDefaultExhaustiveForUnions: true,
|
|
@@ -505,7 +505,7 @@ export const TsEnable = {
|
|
|
505
505
|
},
|
|
506
506
|
],
|
|
507
507
|
"@typescript-eslint/triple-slash-reference": [
|
|
508
|
-
|
|
508
|
+
ON,
|
|
509
509
|
{
|
|
510
510
|
lib: never,
|
|
511
511
|
path: never,
|
|
@@ -514,18 +514,18 @@ export const TsEnable = {
|
|
|
514
514
|
],
|
|
515
515
|
"@typescript-eslint/typedef": OFF,
|
|
516
516
|
"@typescript-eslint/unbound-method": [
|
|
517
|
-
|
|
517
|
+
ON,
|
|
518
518
|
{
|
|
519
519
|
ignoreStatic: false,
|
|
520
520
|
},
|
|
521
521
|
],
|
|
522
522
|
"@typescript-eslint/unified-signatures": [
|
|
523
|
-
|
|
523
|
+
ON,
|
|
524
524
|
{
|
|
525
525
|
ignoreDifferentlyNamedParameters: false,
|
|
526
526
|
},
|
|
527
527
|
],
|
|
528
|
-
"@typescript-eslint/use-unknown-in-catch-callback-variable":
|
|
528
|
+
"@typescript-eslint/use-unknown-in-catch-callback-variable": ON,
|
|
529
529
|
},
|
|
530
530
|
};
|
|
531
531
|
//# sourceMappingURL=enable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/ts/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,
|
|
1
|
+
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/ts/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,EACF,GAAG,EACH,KAAK,EACL,QAAQ,GACT,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,EAAE,EAAE,EAAE,CAAC,MAAM;IACb,KAAK,EAAE;QAEL,iDAAiD,EAAE,GAAG;QACtD,+BAA+B,EAAE;YAC/B,EAAE;YACF;gBACE,SAAS,EAAE,OAAO;gBAClB,QAAQ,EAAE,OAAO;aAClB;SACF;QACD,mCAAmC,EAAE,EAAE;QACvC,mCAAmC,EAAE;YACnC,EAAE;YACF;gBACE,UAAU,EAAE,KAAK;gBACjB,iBAAiB,EAAE;oBACjB,iBAAiB,EAAE,uBAAuB;iBAC3C;gBACD,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,IAAI;gBAClB,wBAAwB,EAAE,EAAE;aAC7B;SACF;QACD,uCAAuC,EAAE,EAAE;QAC3C,iDAAiD,EAAE;YACjD,EAAE;YACF,QAAQ;SACT;QACD,oDAAoD,EAAE;YACpD,EAAE;YACF,aAAa;SACd;QACD,oDAAoD,EAAE;YACpD,EAAE;YACF,QAAQ;SACT;QACD,+CAA+C,EAAE;YAC/C,EAAE;YACF;gBACE,cAAc,EAAE,IAAI;gBACpB,0BAA0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YACF;gBACE,sDAAsD,EAAE,KAAK;gBAC7D,QAAQ,EAAE,KAAK;gBACf,WAAW,EAAE,IAAI;gBACjB,WAAW,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,EAAE;YACF;gBACE,mCAAmC,EAAE,KAAK;gBAC1C,kCAAkC,EAAE,IAAI;gBACxC,yBAAyB,EAAE,IAAI;aAChC;SACF;QACD,2CAA2C,EAAE;YAC3C,EAAE;YACF;gBACE,GAAG,EAAE,KAAK;gBACV,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;aACb;SACF;QACD,4BAA4B,EAAE,GAAG;QACjC,mCAAmC,EAAE;YACnC,EAAE;YACF;gBACE,YAAY,EAAE,KAAK;aACpB;SACF;QACD,uCAAuC,EAAE;YACvC,EAAE;YACF;gBACE,gCAAgC,EAAE,KAAK;aACxC;SACF;QACD,2DAA2D,EAAE,EAAE;KACvD;CACF,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ID,
|
|
1
|
+
import { ID, ON, never, always, strict, } from "../../strings/index.js";
|
|
2
2
|
export const YmlEnableExtension = {
|
|
3
3
|
id: ID.EnableExtension,
|
|
4
4
|
rules: {
|
|
5
5
|
"yml/flow-mapping-curly-newline": [
|
|
6
|
-
|
|
6
|
+
ON,
|
|
7
7
|
{
|
|
8
8
|
consistent: false,
|
|
9
9
|
multiline: true,
|
|
@@ -11,7 +11,7 @@ export const YmlEnableExtension = {
|
|
|
11
11
|
},
|
|
12
12
|
],
|
|
13
13
|
"yml/flow-mapping-curly-spacing": [
|
|
14
|
-
|
|
14
|
+
ON,
|
|
15
15
|
always,
|
|
16
16
|
{
|
|
17
17
|
arraysInObjects: true,
|
|
@@ -19,14 +19,14 @@ export const YmlEnableExtension = {
|
|
|
19
19
|
},
|
|
20
20
|
],
|
|
21
21
|
"yml/flow-sequence-bracket-newline": [
|
|
22
|
-
|
|
22
|
+
ON,
|
|
23
23
|
{
|
|
24
24
|
multiline: true,
|
|
25
25
|
minItems: null,
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
"yml/flow-sequence-bracket-spacing": [
|
|
29
|
-
|
|
29
|
+
ON,
|
|
30
30
|
never,
|
|
31
31
|
{
|
|
32
32
|
singleValue: false,
|
|
@@ -35,7 +35,7 @@ export const YmlEnableExtension = {
|
|
|
35
35
|
},
|
|
36
36
|
],
|
|
37
37
|
"yml/key-spacing": [
|
|
38
|
-
|
|
38
|
+
ON,
|
|
39
39
|
{
|
|
40
40
|
beforeColon: false,
|
|
41
41
|
afterColon: true,
|
|
@@ -43,14 +43,14 @@ export const YmlEnableExtension = {
|
|
|
43
43
|
},
|
|
44
44
|
],
|
|
45
45
|
"yml/no-irregular-whitespace": [
|
|
46
|
-
|
|
46
|
+
ON,
|
|
47
47
|
{
|
|
48
48
|
skipQuotedScalars: true,
|
|
49
49
|
skipComments: false,
|
|
50
50
|
},
|
|
51
51
|
],
|
|
52
52
|
"yml/no-multiple-empty-lines": [
|
|
53
|
-
|
|
53
|
+
ON,
|
|
54
54
|
{
|
|
55
55
|
max: 1,
|
|
56
56
|
maxEOF: 1,
|
|
@@ -58,7 +58,7 @@ export const YmlEnableExtension = {
|
|
|
58
58
|
},
|
|
59
59
|
],
|
|
60
60
|
"yml/spaced-comment": [
|
|
61
|
-
|
|
61
|
+
ON,
|
|
62
62
|
always,
|
|
63
63
|
],
|
|
64
64
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable-ext.js","sourceRoot":"","sources":["../../../../src/rules/scopes/yml/enable-ext.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,
|
|
1
|
+
{"version":3,"file":"enable-ext.js","sourceRoot":"","sources":["../../../../src/rules/scopes/yml/enable-ext.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,EACF,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,EAAE,EAAE,EAAE,CAAC,eAAe;IACtB,KAAK,EAAE;QAEL,gCAAgC,EAAE;YAChC,EAAE;YACF;gBACE,UAAU,EAAE,KAAK;gBACjB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QACD,gCAAgC,EAAE;YAChC,EAAE;YACF,MAAM;YACN;gBACE,eAAe,EAAE,IAAI;gBACrB,gBAAgB,EAAE,IAAI;aACvB;SACF;QACD,mCAAmC,EAAE;YACnC,EAAE;YACF;gBACE,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI;aACf;SACF;QACD,mCAAmC,EAAE;YACnC,EAAE;YACF,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,KAAK;gBACtB,cAAc,EAAE,KAAK;aACtB;SACF;QACD,iBAAiB,EAAE;YACjB,EAAE;YACF;gBACE,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE,MAAM;aACb;SACF;QACD,6BAA6B,EAAE;YAC7B,EAAE;YACF;gBACE,iBAAiB,EAAE,IAAI;gBACvB,YAAY,EAAE,KAAK;aACpB;SACF;QACD,6BAA6B,EAAE;YAC7B,EAAE;YACF;gBACE,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;aACV;SACF;QACD,oBAAoB,EAAE;YACpB,EAAE;YACF,MAAM;SACP;KACO;CACF,CAAC"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { ID,
|
|
1
|
+
import { ID, ON, OFF, never, always, double, } from "../../strings/index.js";
|
|
2
2
|
export const YmlEnable = {
|
|
3
3
|
id: ID.Enable,
|
|
4
4
|
rules: {
|
|
5
5
|
"yml/block-mapping-colon-indicator-newline": [
|
|
6
|
-
|
|
6
|
+
ON,
|
|
7
7
|
never,
|
|
8
8
|
],
|
|
9
9
|
"yml/block-mapping-question-indicator-newline": [
|
|
10
|
-
|
|
10
|
+
ON,
|
|
11
11
|
never,
|
|
12
12
|
],
|
|
13
13
|
"yml/block-mapping": [
|
|
14
|
-
|
|
14
|
+
ON,
|
|
15
15
|
{
|
|
16
16
|
singleline: never,
|
|
17
17
|
multiline: always,
|
|
18
18
|
},
|
|
19
19
|
],
|
|
20
20
|
"yml/block-sequence-hyphen-indicator-newline": [
|
|
21
|
-
|
|
21
|
+
ON,
|
|
22
22
|
never,
|
|
23
23
|
{
|
|
24
24
|
nestedHyphen: always,
|
|
@@ -26,7 +26,7 @@ export const YmlEnable = {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
"yml/block-sequence": [
|
|
29
|
-
|
|
29
|
+
ON,
|
|
30
30
|
{
|
|
31
31
|
singleline: always,
|
|
32
32
|
multiline: always,
|
|
@@ -34,7 +34,7 @@ export const YmlEnable = {
|
|
|
34
34
|
],
|
|
35
35
|
"yml/file-extension": OFF,
|
|
36
36
|
"yml/indent": [
|
|
37
|
-
|
|
37
|
+
ON,
|
|
38
38
|
2,
|
|
39
39
|
{
|
|
40
40
|
indentBlockSequences: true,
|
|
@@ -42,27 +42,27 @@ export const YmlEnable = {
|
|
|
42
42
|
},
|
|
43
43
|
],
|
|
44
44
|
"yml/key-name-casing": OFF,
|
|
45
|
-
"yml/no-empty-document":
|
|
46
|
-
"yml/no-empty-key":
|
|
47
|
-
"yml/no-empty-mapping-value":
|
|
48
|
-
"yml/no-empty-sequence-entry":
|
|
49
|
-
"yml/no-tab-indent":
|
|
50
|
-
"yml/no-trailing-zeros":
|
|
45
|
+
"yml/no-empty-document": ON,
|
|
46
|
+
"yml/no-empty-key": ON,
|
|
47
|
+
"yml/no-empty-mapping-value": ON,
|
|
48
|
+
"yml/no-empty-sequence-entry": ON,
|
|
49
|
+
"yml/no-tab-indent": ON,
|
|
50
|
+
"yml/no-trailing-zeros": ON,
|
|
51
51
|
"yml/plain-scalar": [
|
|
52
|
-
|
|
52
|
+
ON,
|
|
53
53
|
always,
|
|
54
54
|
],
|
|
55
55
|
"yml/quotes": [
|
|
56
|
-
|
|
56
|
+
ON,
|
|
57
57
|
{
|
|
58
58
|
prefer: double,
|
|
59
59
|
avoidEscape: true,
|
|
60
60
|
},
|
|
61
61
|
],
|
|
62
|
-
"yml/require-string-key":
|
|
62
|
+
"yml/require-string-key": ON,
|
|
63
63
|
"yml/sort-keys": OFF,
|
|
64
64
|
"yml/sort-sequence-values": OFF,
|
|
65
|
-
"yml/vue-custom-block/no-parsing-error":
|
|
65
|
+
"yml/vue-custom-block/no-parsing-error": ON,
|
|
66
66
|
},
|
|
67
67
|
};
|
|
68
68
|
//# sourceMappingURL=enable.js.map
|