@eslinted/defaults 12.10.0 → 12.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +99 -912
- package/dist/index.d.ts.map +1 -1
- package/dist/rules/index.d.ts +99 -492
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/scopes/enable.d.ts +0 -2
- package/dist/rules/scopes/enable.d.ts.map +1 -1
- package/dist/rules/scopes/enable.js +0 -3
- package/dist/rules/scopes/enable.js.map +1 -1
- package/dist/rules/scopes/enable.style.d.ts +24 -134
- package/dist/rules/scopes/enable.style.d.ts.map +1 -1
- package/dist/rules/scopes/enable.style.js +22 -192
- package/dist/rules/scopes/enable.style.js.map +1 -1
- package/dist/rules/scopes/index.d.ts +24 -136
- package/dist/rules/scopes/index.d.ts.map +1 -1
- package/dist/rules/scopes/json/index.d.ts +7 -20
- package/dist/rules/scopes/json/index.d.ts.map +1 -1
- package/dist/rules/scopes/json/plugin/extension.d.ts +7 -20
- package/dist/rules/scopes/json/plugin/extension.d.ts.map +1 -1
- package/dist/rules/scopes/json/plugin/extension.js +7 -41
- package/dist/rules/scopes/json/plugin/extension.js.map +1 -1
- package/dist/rules/scopes/mocha/chai/index.d.ts +0 -2
- package/dist/rules/scopes/mocha/chai/index.d.ts.map +1 -1
- package/dist/rules/scopes/mocha/chai/index.js +0 -2
- package/dist/rules/scopes/mocha/chai/index.js.map +1 -1
- package/dist/rules/scopes/mocha/enable.d.ts +3 -10
- package/dist/rules/scopes/mocha/enable.d.ts.map +1 -1
- package/dist/rules/scopes/mocha/enable.js +3 -19
- package/dist/rules/scopes/mocha/enable.js.map +1 -1
- package/dist/rules/scopes/mocha/index.d.ts +3 -12
- package/dist/rules/scopes/mocha/index.d.ts.map +1 -1
- package/dist/rules/scopes/svelte/enable.d.ts +19 -91
- package/dist/rules/scopes/svelte/enable.d.ts.map +1 -1
- package/dist/rules/scopes/svelte/enable.js +20 -153
- package/dist/rules/scopes/svelte/enable.js.map +1 -1
- package/dist/rules/scopes/svelte/extension/index.d.ts +2 -7
- package/dist/rules/scopes/svelte/extension/index.d.ts.map +1 -1
- package/dist/rules/scopes/svelte/extension/index.js +2 -11
- package/dist/rules/scopes/svelte/extension/index.js.map +1 -1
- package/dist/rules/scopes/svelte/index.d.ts +21 -98
- package/dist/rules/scopes/svelte/index.d.ts.map +1 -1
- package/dist/rules/scopes/ts/enable.d.ts +31 -163
- package/dist/rules/scopes/ts/enable.d.ts.map +1 -1
- package/dist/rules/scopes/ts/enable.js +32 -380
- package/dist/rules/scopes/ts/enable.js.map +1 -1
- package/dist/rules/scopes/ts/extension/index.d.ts +1 -20
- package/dist/rules/scopes/ts/extension/index.d.ts.map +1 -1
- package/dist/rules/scopes/ts/extension/index.js +2 -25
- package/dist/rules/scopes/ts/extension/index.js.map +1 -1
- package/dist/rules/scopes/ts/index.d.ts +32 -183
- package/dist/rules/scopes/ts/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/index.d.ts +12 -43
- package/dist/rules/scopes/yml/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/plugin/extension.d.ts +5 -22
- package/dist/rules/scopes/yml/plugin/extension.d.ts.map +1 -1
- package/dist/rules/scopes/yml/plugin/extension.js +5 -36
- package/dist/rules/scopes/yml/plugin/extension.js.map +1 -1
- package/dist/rules/scopes/yml/plugin/index.d.ts +7 -21
- package/dist/rules/scopes/yml/plugin/index.d.ts.map +1 -1
- package/dist/rules/scopes/yml/plugin/index.js +8 -44
- package/dist/rules/scopes/yml/plugin/index.js.map +1 -1
- package/package.json +1 -1
- package/src/rules/scopes/enable.style.ts +41 -239
- package/src/rules/scopes/enable.ts +0 -11
- package/src/rules/scopes/json/plugin/extension.ts +9 -47
- package/src/rules/scopes/mocha/chai/index.ts +0 -2
- package/src/rules/scopes/mocha/enable.ts +3 -19
- package/src/rules/scopes/svelte/disable.ts +1 -1
- package/src/rules/scopes/svelte/enable.ts +22 -157
- package/src/rules/scopes/svelte/extension/index.ts +1 -11
- package/src/rules/scopes/ts/enable.ts +34 -424
- package/src/rules/scopes/ts/extension/index.ts +2 -27
- package/src/rules/scopes/yml/plugin/extension.ts +4 -37
- package/src/rules/scopes/yml/plugin/index.ts +8 -58
|
@@ -190,8 +190,6 @@ declare const _default: ({
|
|
|
190
190
|
readonly array: false;
|
|
191
191
|
readonly object: false;
|
|
192
192
|
};
|
|
193
|
-
}, {
|
|
194
|
-
readonly enforceForRenamedProperties: true;
|
|
195
193
|
}];
|
|
196
194
|
readonly "prefer-exponentiation-operator": "error";
|
|
197
195
|
readonly "prefer-numeric-literals": "error";
|
|
@@ -239,7 +237,6 @@ declare const _default: ({
|
|
|
239
237
|
readonly "@stylistic/generator-star-spacing": "error";
|
|
240
238
|
readonly "@stylistic/implicit-arrow-linebreak": "error";
|
|
241
239
|
readonly "@stylistic/indent": readonly ["error", 2, {
|
|
242
|
-
readonly SwitchCase: 1;
|
|
243
240
|
readonly VariableDeclarator: {
|
|
244
241
|
readonly var: 0;
|
|
245
242
|
readonly let: 0;
|
|
@@ -247,7 +244,6 @@ declare const _default: ({
|
|
|
247
244
|
};
|
|
248
245
|
readonly outerIIFEBody: 0;
|
|
249
246
|
readonly offsetTernaryExpressions: true;
|
|
250
|
-
readonly tabLength: 2;
|
|
251
247
|
}];
|
|
252
248
|
readonly "@stylistic/indent-binary-ops": readonly ["error", 2];
|
|
253
249
|
readonly "@stylistic/key-spacing": "error";
|
|
@@ -266,13 +262,9 @@ declare const _default: ({
|
|
|
266
262
|
readonly next: "*";
|
|
267
263
|
readonly blankLine: "always";
|
|
268
264
|
}];
|
|
269
|
-
}, {
|
|
270
|
-
readonly exceptAfterSingleLine: false;
|
|
271
|
-
readonly exceptAfterOverload: true;
|
|
272
265
|
}];
|
|
273
266
|
readonly "@stylistic/max-len": readonly ["error", {
|
|
274
267
|
readonly code: 300;
|
|
275
|
-
readonly tabWidth: 2;
|
|
276
268
|
readonly ignoreComments: true;
|
|
277
269
|
readonly ignoreTrailingComments: true;
|
|
278
270
|
readonly ignoreUrls: true;
|
|
@@ -280,113 +272,38 @@ declare const _default: ({
|
|
|
280
272
|
readonly ignoreTemplateLiterals: true;
|
|
281
273
|
readonly ignoreRegExpLiterals: true;
|
|
282
274
|
}];
|
|
283
|
-
readonly "@stylistic/max-statements-per-line":
|
|
284
|
-
|
|
285
|
-
}];
|
|
286
|
-
readonly "@stylistic/member-delimiter-style": readonly ["error", {
|
|
287
|
-
readonly multiline: {
|
|
288
|
-
readonly delimiter: "semi";
|
|
289
|
-
readonly requireLast: true;
|
|
290
|
-
};
|
|
291
|
-
readonly singleline: {
|
|
292
|
-
readonly delimiter: "semi";
|
|
293
|
-
readonly requireLast: false;
|
|
294
|
-
};
|
|
295
|
-
readonly multilineDetection: "brackets";
|
|
296
|
-
}];
|
|
275
|
+
readonly "@stylistic/max-statements-per-line": "error";
|
|
276
|
+
readonly "@stylistic/member-delimiter-style": "error";
|
|
297
277
|
readonly "@stylistic/multiline-ternary": readonly ["error", "always-multiline"];
|
|
298
|
-
readonly "@stylistic/newline-per-chained-call":
|
|
299
|
-
|
|
300
|
-
}];
|
|
301
|
-
readonly "@stylistic/no-extra-parens": readonly ["error", "all", {
|
|
302
|
-
readonly conditionalAssign: true;
|
|
303
|
-
readonly returnAssign: true;
|
|
304
|
-
readonly nestedBinaryExpressions: true;
|
|
305
|
-
readonly ternaryOperandBinaryExpressions: true;
|
|
306
|
-
readonly enforceForArrowConditionals: true;
|
|
307
|
-
readonly enforceForSequenceExpressions: true;
|
|
308
|
-
readonly enforceForNewInMemberExpressions: true;
|
|
309
|
-
readonly enforceForFunctionPrototypeMethods: true;
|
|
310
|
-
readonly nestedConditionalExpressions: true;
|
|
311
|
-
readonly allowNodesInSpreadElement: {
|
|
312
|
-
readonly ConditionalExpression: false;
|
|
313
|
-
readonly LogicalExpression: false;
|
|
314
|
-
readonly AwaitExpression: false;
|
|
315
|
-
};
|
|
316
|
-
}];
|
|
278
|
+
readonly "@stylistic/newline-per-chained-call": "error";
|
|
279
|
+
readonly "@stylistic/no-extra-parens": "error";
|
|
317
280
|
readonly "@stylistic/no-extra-semi": "error";
|
|
318
281
|
readonly "@stylistic/no-floating-decimal": "error";
|
|
319
282
|
readonly "@stylistic/no-mixed-spaces-and-tabs": "error";
|
|
320
283
|
readonly "@stylistic/no-multi-spaces": readonly ["error", {
|
|
321
|
-
readonly ignoreEOLComments: false;
|
|
322
284
|
readonly exceptions: {
|
|
323
285
|
readonly Property: false;
|
|
324
286
|
readonly ImportAttributes: false;
|
|
325
287
|
};
|
|
326
|
-
readonly includeTabs: true;
|
|
327
288
|
}];
|
|
328
289
|
readonly "@stylistic/no-multiple-empty-lines": readonly ["error", {
|
|
329
290
|
readonly max: 1;
|
|
330
291
|
readonly maxBOF: 0;
|
|
331
292
|
readonly maxEOF: 0;
|
|
332
293
|
}];
|
|
333
|
-
readonly "@stylistic/no-tabs":
|
|
334
|
-
|
|
335
|
-
}];
|
|
336
|
-
readonly "@stylistic/no-trailing-spaces": readonly ["error", {
|
|
337
|
-
readonly skipBlankLines: false;
|
|
338
|
-
readonly ignoreComments: false;
|
|
339
|
-
}];
|
|
294
|
+
readonly "@stylistic/no-tabs": "error";
|
|
295
|
+
readonly "@stylistic/no-trailing-spaces": "error";
|
|
340
296
|
readonly "@stylistic/no-whitespace-before-property": "error";
|
|
341
|
-
readonly "@stylistic/nonblock-statement-body-position": readonly ["error", "below"
|
|
342
|
-
readonly overrides: {};
|
|
343
|
-
}];
|
|
297
|
+
readonly "@stylistic/nonblock-statement-body-position": readonly ["error", "below"];
|
|
344
298
|
readonly "@stylistic/object-curly-newline": readonly ["error", {
|
|
345
|
-
readonly
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
readonly minProperties: 3;
|
|
349
|
-
};
|
|
350
|
-
readonly ObjectPattern: {
|
|
351
|
-
readonly consistent: true;
|
|
352
|
-
readonly multiline: true;
|
|
353
|
-
readonly minProperties: 3;
|
|
354
|
-
};
|
|
355
|
-
readonly ImportDeclaration: {
|
|
356
|
-
readonly consistent: true;
|
|
357
|
-
readonly multiline: true;
|
|
358
|
-
readonly minProperties: 3;
|
|
359
|
-
};
|
|
360
|
-
readonly ExportDeclaration: {
|
|
361
|
-
readonly consistent: true;
|
|
362
|
-
readonly multiline: true;
|
|
363
|
-
readonly minProperties: 3;
|
|
364
|
-
};
|
|
365
|
-
readonly TSTypeLiteral: {
|
|
366
|
-
readonly consistent: true;
|
|
367
|
-
readonly multiline: true;
|
|
368
|
-
readonly minProperties: 3;
|
|
369
|
-
};
|
|
370
|
-
readonly TSInterfaceBody: {
|
|
371
|
-
readonly consistent: true;
|
|
372
|
-
readonly multiline: true;
|
|
373
|
-
readonly minProperties: 3;
|
|
374
|
-
};
|
|
375
|
-
readonly TSEnumBody: {
|
|
376
|
-
readonly consistent: true;
|
|
377
|
-
readonly multiline: true;
|
|
378
|
-
readonly minProperties: 3;
|
|
379
|
-
};
|
|
380
|
-
}];
|
|
381
|
-
readonly "@stylistic/object-curly-spacing": readonly ["error", "always", {
|
|
382
|
-
readonly arraysInObjects: true;
|
|
383
|
-
readonly objectsInObjects: true;
|
|
299
|
+
readonly consistent: true;
|
|
300
|
+
readonly multiline: true;
|
|
301
|
+
readonly minProperties: 3;
|
|
384
302
|
}];
|
|
303
|
+
readonly "@stylistic/object-curly-spacing": readonly ["error", "always"];
|
|
385
304
|
readonly "@stylistic/object-property-newline": "error";
|
|
386
305
|
readonly "@stylistic/one-var-declaration-per-line": readonly ["error", "always"];
|
|
387
|
-
readonly "@stylistic/operator-linebreak": readonly ["error", "before"
|
|
388
|
-
readonly overrides: {};
|
|
389
|
-
}];
|
|
306
|
+
readonly "@stylistic/operator-linebreak": readonly ["error", "before"];
|
|
390
307
|
readonly "@stylistic/padded-blocks": readonly ["error", "never", {
|
|
391
308
|
readonly allowSingleLineBlocks: true;
|
|
392
309
|
}];
|
|
@@ -445,45 +362,22 @@ declare const _default: ({
|
|
|
445
362
|
}];
|
|
446
363
|
readonly "@stylistic/quote-props": readonly ["error", "as-needed", {
|
|
447
364
|
readonly keywords: true;
|
|
448
|
-
readonly unnecessary: true;
|
|
449
|
-
readonly numbers: false;
|
|
450
365
|
}];
|
|
451
366
|
readonly "@stylistic/quotes": readonly ["error", "double", {
|
|
452
367
|
readonly avoidEscape: true;
|
|
453
368
|
readonly allowTemplateLiterals: "always";
|
|
454
|
-
readonly ignoreStringLiterals: false;
|
|
455
|
-
}];
|
|
456
|
-
readonly "@stylistic/rest-spread-spacing": readonly ["error", "never"];
|
|
457
|
-
readonly "@stylistic/semi": readonly ["error", "always", {
|
|
458
|
-
readonly omitLastInOneLineBlock: false;
|
|
459
|
-
readonly omitLastInOneLineClassBody: false;
|
|
460
|
-
}];
|
|
461
|
-
readonly "@stylistic/semi-spacing": readonly ["error", {
|
|
462
|
-
readonly before: false;
|
|
463
|
-
readonly after: true;
|
|
464
|
-
}];
|
|
465
|
-
readonly "@stylistic/semi-style": readonly ["error", "last"];
|
|
466
|
-
readonly "@stylistic/space-before-blocks": readonly ["error", {
|
|
467
|
-
readonly functions: "always";
|
|
468
|
-
readonly keywords: "always";
|
|
469
|
-
readonly classes: "always";
|
|
470
369
|
}];
|
|
370
|
+
readonly "@stylistic/rest-spread-spacing": "error";
|
|
371
|
+
readonly "@stylistic/semi": "error";
|
|
372
|
+
readonly "@stylistic/semi-spacing": "error";
|
|
373
|
+
readonly "@stylistic/semi-style": "error";
|
|
374
|
+
readonly "@stylistic/space-before-blocks": "error";
|
|
471
375
|
readonly "@stylistic/space-before-function-paren": readonly ["error", {
|
|
472
|
-
readonly anonymous: "always";
|
|
473
376
|
readonly named: "never";
|
|
474
|
-
readonly asyncArrow: "always";
|
|
475
|
-
readonly catch: "always";
|
|
476
|
-
}];
|
|
477
|
-
readonly "@stylistic/space-in-parens": readonly ["error", "never"];
|
|
478
|
-
readonly "@stylistic/space-infix-ops": readonly ["error", {
|
|
479
|
-
readonly int32Hint: true;
|
|
480
|
-
readonly ignoreTypes: false;
|
|
481
|
-
}];
|
|
482
|
-
readonly "@stylistic/space-unary-ops": readonly ["error", {
|
|
483
|
-
readonly words: true;
|
|
484
|
-
readonly nonwords: false;
|
|
485
|
-
readonly overrides: {};
|
|
486
377
|
}];
|
|
378
|
+
readonly "@stylistic/space-in-parens": "error";
|
|
379
|
+
readonly "@stylistic/space-infix-ops": "error";
|
|
380
|
+
readonly "@stylistic/space-unary-ops": "error";
|
|
487
381
|
readonly "@stylistic/spaced-comment": readonly ["error", "always", {
|
|
488
382
|
readonly line: {
|
|
489
383
|
readonly exceptions: readonly ["/", "-", "+", "="];
|
|
@@ -495,12 +389,9 @@ declare const _default: ({
|
|
|
495
389
|
readonly balanced: true;
|
|
496
390
|
};
|
|
497
391
|
}];
|
|
498
|
-
readonly "@stylistic/switch-colon-spacing":
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
}];
|
|
502
|
-
readonly "@stylistic/template-curly-spacing": readonly ["error", "never"];
|
|
503
|
-
readonly "@stylistic/template-tag-spacing": readonly ["error", "never"];
|
|
392
|
+
readonly "@stylistic/switch-colon-spacing": "error";
|
|
393
|
+
readonly "@stylistic/template-curly-spacing": "error";
|
|
394
|
+
readonly "@stylistic/template-tag-spacing": "error";
|
|
504
395
|
readonly "@stylistic/type-annotation-spacing": readonly ["error", {
|
|
505
396
|
readonly before: true;
|
|
506
397
|
readonly after: true;
|
|
@@ -517,10 +408,7 @@ declare const _default: ({
|
|
|
517
408
|
readonly functionPrototypeMethods: true;
|
|
518
409
|
}];
|
|
519
410
|
readonly "@stylistic/wrap-regex": "error";
|
|
520
|
-
readonly "@stylistic/yield-star-spacing":
|
|
521
|
-
readonly before: false;
|
|
522
|
-
readonly after: true;
|
|
523
|
-
}];
|
|
411
|
+
readonly "@stylistic/yield-star-spacing": "error";
|
|
524
412
|
};
|
|
525
413
|
})[];
|
|
526
414
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/scopes/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/scopes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
|
|
@@ -32,20 +32,12 @@ declare const _default: ({
|
|
|
32
32
|
} | {
|
|
33
33
|
id: "enable/plugin/extension";
|
|
34
34
|
rules: {
|
|
35
|
-
readonly "jsonc/array-bracket-spacing":
|
|
36
|
-
readonly singleValue: false;
|
|
37
|
-
readonly objectsInArrays: false;
|
|
38
|
-
readonly arraysInArrays: false;
|
|
39
|
-
}];
|
|
35
|
+
readonly "jsonc/array-bracket-spacing": "error";
|
|
40
36
|
readonly "jsonc/array-element-newline": readonly ["error", "consistent"];
|
|
41
|
-
readonly "jsonc/comma-dangle":
|
|
42
|
-
readonly "jsonc/comma-style":
|
|
37
|
+
readonly "jsonc/comma-dangle": "error";
|
|
38
|
+
readonly "jsonc/comma-style": "error";
|
|
43
39
|
readonly "jsonc/indent": readonly ["error", 2];
|
|
44
|
-
readonly "jsonc/key-spacing":
|
|
45
|
-
readonly beforeColon: false;
|
|
46
|
-
readonly afterColon: true;
|
|
47
|
-
readonly mode: "strict";
|
|
48
|
-
}];
|
|
40
|
+
readonly "jsonc/key-spacing": "error";
|
|
49
41
|
readonly "jsonc/no-floating-decimal": "error";
|
|
50
42
|
readonly "jsonc/no-irregular-whitespace": readonly ["error", {
|
|
51
43
|
readonly skipStrings: true;
|
|
@@ -64,15 +56,10 @@ declare const _default: ({
|
|
|
64
56
|
readonly multiline: true;
|
|
65
57
|
readonly minProperties: 2;
|
|
66
58
|
}];
|
|
67
|
-
readonly "jsonc/object-curly-spacing": readonly ["error", "always"
|
|
68
|
-
readonly arraysInObjects: true;
|
|
69
|
-
readonly objectsInObjects: true;
|
|
70
|
-
}];
|
|
59
|
+
readonly "jsonc/object-curly-spacing": readonly ["error", "always"];
|
|
71
60
|
readonly "jsonc/object-property-newline": "error";
|
|
72
|
-
readonly "jsonc/quote-props":
|
|
73
|
-
readonly "jsonc/quotes":
|
|
74
|
-
readonly avoidEscape: false;
|
|
75
|
-
}];
|
|
61
|
+
readonly "jsonc/quote-props": "error";
|
|
62
|
+
readonly "jsonc/quotes": "error";
|
|
76
63
|
readonly "jsonc/space-unary-ops": "error";
|
|
77
64
|
};
|
|
78
65
|
})[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/json/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
|
|
@@ -1,20 +1,12 @@
|
|
|
1
1
|
export declare const JsonEnablePluginExtension: {
|
|
2
2
|
id: "enable/plugin/extension";
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "jsonc/array-bracket-spacing":
|
|
5
|
-
readonly singleValue: false;
|
|
6
|
-
readonly objectsInArrays: false;
|
|
7
|
-
readonly arraysInArrays: false;
|
|
8
|
-
}];
|
|
4
|
+
readonly "jsonc/array-bracket-spacing": "error";
|
|
9
5
|
readonly "jsonc/array-element-newline": readonly ["error", "consistent"];
|
|
10
|
-
readonly "jsonc/comma-dangle":
|
|
11
|
-
readonly "jsonc/comma-style":
|
|
6
|
+
readonly "jsonc/comma-dangle": "error";
|
|
7
|
+
readonly "jsonc/comma-style": "error";
|
|
12
8
|
readonly "jsonc/indent": readonly ["error", 2];
|
|
13
|
-
readonly "jsonc/key-spacing":
|
|
14
|
-
readonly beforeColon: false;
|
|
15
|
-
readonly afterColon: true;
|
|
16
|
-
readonly mode: "strict";
|
|
17
|
-
}];
|
|
9
|
+
readonly "jsonc/key-spacing": "error";
|
|
18
10
|
readonly "jsonc/no-floating-decimal": "error";
|
|
19
11
|
readonly "jsonc/no-irregular-whitespace": readonly ["error", {
|
|
20
12
|
readonly skipStrings: true;
|
|
@@ -33,15 +25,10 @@ export declare const JsonEnablePluginExtension: {
|
|
|
33
25
|
readonly multiline: true;
|
|
34
26
|
readonly minProperties: 2;
|
|
35
27
|
}];
|
|
36
|
-
readonly "jsonc/object-curly-spacing": readonly ["error", "always"
|
|
37
|
-
readonly arraysInObjects: true;
|
|
38
|
-
readonly objectsInObjects: true;
|
|
39
|
-
}];
|
|
28
|
+
readonly "jsonc/object-curly-spacing": readonly ["error", "always"];
|
|
40
29
|
readonly "jsonc/object-property-newline": "error";
|
|
41
|
-
readonly "jsonc/quote-props":
|
|
42
|
-
readonly "jsonc/quotes":
|
|
43
|
-
readonly avoidEscape: false;
|
|
44
|
-
}];
|
|
30
|
+
readonly "jsonc/quote-props": "error";
|
|
31
|
+
readonly "jsonc/quotes": "error";
|
|
45
32
|
readonly "jsonc/space-unary-ops": "error";
|
|
46
33
|
};
|
|
47
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../../../../../src/rules/scopes/json/plugin/extension.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../../../../../src/rules/scopes/json/plugin/extension.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDrC,CAAC"}
|
|
@@ -1,40 +1,19 @@
|
|
|
1
|
-
import { ID, ON, always, consistent,
|
|
1
|
+
import { ID, ON, always, consistent, } from "../../../_strings/index.js";
|
|
2
2
|
export const JsonEnablePluginExtension = {
|
|
3
3
|
id: ID.Enable.Plugin.Extension,
|
|
4
4
|
rules: {
|
|
5
|
-
"jsonc/array-bracket-spacing":
|
|
6
|
-
ON,
|
|
7
|
-
never,
|
|
8
|
-
{
|
|
9
|
-
singleValue: false,
|
|
10
|
-
objectsInArrays: false,
|
|
11
|
-
arraysInArrays: false,
|
|
12
|
-
},
|
|
13
|
-
],
|
|
5
|
+
"jsonc/array-bracket-spacing": ON,
|
|
14
6
|
"jsonc/array-element-newline": [
|
|
15
7
|
ON,
|
|
16
8
|
consistent,
|
|
17
9
|
],
|
|
18
|
-
"jsonc/comma-dangle":
|
|
19
|
-
|
|
20
|
-
never,
|
|
21
|
-
],
|
|
22
|
-
"jsonc/comma-style": [
|
|
23
|
-
ON,
|
|
24
|
-
last,
|
|
25
|
-
],
|
|
10
|
+
"jsonc/comma-dangle": ON,
|
|
11
|
+
"jsonc/comma-style": ON,
|
|
26
12
|
"jsonc/indent": [
|
|
27
13
|
ON,
|
|
28
14
|
2,
|
|
29
15
|
],
|
|
30
|
-
"jsonc/key-spacing":
|
|
31
|
-
ON,
|
|
32
|
-
{
|
|
33
|
-
beforeColon: false,
|
|
34
|
-
afterColon: true,
|
|
35
|
-
mode: strict,
|
|
36
|
-
},
|
|
37
|
-
],
|
|
16
|
+
"jsonc/key-spacing": ON,
|
|
38
17
|
"jsonc/no-floating-decimal": ON,
|
|
39
18
|
"jsonc/no-irregular-whitespace": [
|
|
40
19
|
ON,
|
|
@@ -62,23 +41,10 @@ export const JsonEnablePluginExtension = {
|
|
|
62
41
|
"jsonc/object-curly-spacing": [
|
|
63
42
|
ON,
|
|
64
43
|
always,
|
|
65
|
-
{
|
|
66
|
-
arraysInObjects: true,
|
|
67
|
-
objectsInObjects: true,
|
|
68
|
-
},
|
|
69
44
|
],
|
|
70
45
|
"jsonc/object-property-newline": ON,
|
|
71
|
-
"jsonc/quote-props":
|
|
72
|
-
|
|
73
|
-
always,
|
|
74
|
-
],
|
|
75
|
-
"jsonc/quotes": [
|
|
76
|
-
ON,
|
|
77
|
-
double,
|
|
78
|
-
{
|
|
79
|
-
avoidEscape: false,
|
|
80
|
-
},
|
|
81
|
-
],
|
|
46
|
+
"jsonc/quote-props": ON,
|
|
47
|
+
"jsonc/quotes": ON,
|
|
82
48
|
"jsonc/space-unary-ops": ON,
|
|
83
49
|
},
|
|
84
50
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extension.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/json/plugin/extension.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EAEF,EAAE,EACF,MAAM,EACN,UAAU,
|
|
1
|
+
{"version":3,"file":"extension.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/json/plugin/extension.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EAEF,EAAE,EACF,MAAM,EACN,UAAU,GACX,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS;IAC9B,KAAK,EAAE;QAGL,6BAA6B,EAAE,EAAE;QACjC,6BAA6B,EAAE;YAC7B,EAAE;YACF,UAAU;SACX;QACD,oBAAoB,EAAE,EAAE;QACxB,mBAAmB,EAAE,EAAE;QACvB,cAAc,EAAE;YACd,EAAE;YACF,CAAC;SACF;QACD,mBAAmB,EAAE,EAAE;QAEvB,2BAA2B,EAAE,EAAE;QAC/B,+BAA+B,EAAE;YAC/B,EAAE;YACF;gBACE,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,IAAI;gBAClB,WAAW,EAAE,IAAI;gBACjB,aAAa,EAAE,IAAI;gBACnB,WAAW,EAAE,IAAI;aAClB;SACF;QACD,oBAAoB,EAAE,EAAE;QACxB,uBAAuB,EAAE,EAAE;QAC3B,gBAAgB,EAAE,EAAE;QACpB,wBAAwB,EAAE,EAAE;QAC5B,yBAAyB,EAAE,EAAE;QAC7B,4BAA4B,EAAE;YAC5B,EAAE;YACF;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QACD,4BAA4B,EAAE;YAC5B,EAAE;YACF,MAAM;SACP;QACD,+BAA+B,EAAE,EAAE;QACnC,mBAAmB,EAAE,EAAE;QACvB,cAAc,EAAE,EAAE;QAClB,uBAAuB,EAAE,EAAE;KACnB;CACX,CAAC"}
|
|
@@ -4,8 +4,6 @@ export declare const MochaEnablePluginChai: {
|
|
|
4
4
|
readonly "chai-friendly/no-unused-expressions": readonly ["error", {
|
|
5
5
|
readonly allowShortCircuit: true;
|
|
6
6
|
readonly allowTernary: true;
|
|
7
|
-
readonly allowTaggedTemplates: true;
|
|
8
|
-
readonly enforceForJSX: false;
|
|
9
7
|
}];
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/rules/scopes/mocha/chai/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/rules/scopes/mocha/chai/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,qBAAqB;;;;;;;;CAYjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/mocha/chai/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,GACH,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,EAAE,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO;IACrC,KAAK,EAAE;QAEL,qCAAqC,EAAE;YACrC,EAAE;YACF;gBACE,iBAAiB,EAAE,IAAI;gBACvB,YAAY,EAAE,IAAI;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/mocha/chai/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,GACH,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,EAAE,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO;IACrC,KAAK,EAAE;QAEL,qCAAqC,EAAE;YACrC,EAAE;YACF;gBACE,iBAAiB,EAAE,IAAI;gBACvB,YAAY,EAAE,IAAI;aACnB;SACF;KACO;CACX,CAAC"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
export declare const MochaEnable: {
|
|
2
2
|
id: "enable";
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "mocha/handle-done-callback":
|
|
5
|
-
|
|
6
|
-
}];
|
|
7
|
-
readonly "mocha/max-top-level-suites": readonly ["error", {
|
|
8
|
-
readonly limit: 1;
|
|
9
|
-
}];
|
|
4
|
+
readonly "mocha/handle-done-callback": "error";
|
|
5
|
+
readonly "mocha/max-top-level-suites": "error";
|
|
10
6
|
readonly "mocha/no-async-suite": "error";
|
|
11
7
|
readonly "mocha/no-empty-title": "error";
|
|
12
8
|
readonly "mocha/no-exclusive-tests": "error";
|
|
@@ -20,10 +16,7 @@ export declare const MochaEnable: {
|
|
|
20
16
|
readonly "mocha/no-return-from-async": "error";
|
|
21
17
|
readonly "mocha/no-sibling-hooks": "error";
|
|
22
18
|
readonly "mocha/no-top-level-hooks": "error";
|
|
23
|
-
readonly "mocha/prefer-arrow-callback":
|
|
24
|
-
readonly allowNamedFunctions: false;
|
|
25
|
-
readonly allowUnboundThis: true;
|
|
26
|
-
}];
|
|
19
|
+
readonly "mocha/prefer-arrow-callback": "error";
|
|
27
20
|
};
|
|
28
21
|
};
|
|
29
22
|
//# sourceMappingURL=enable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/enable.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/enable.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;CA6BvB,CAAC"}
|
|
@@ -2,18 +2,8 @@ import { ID, ON, } from "../../_strings/index.js";
|
|
|
2
2
|
export const MochaEnable = {
|
|
3
3
|
id: ID.Enable.Enable,
|
|
4
4
|
rules: {
|
|
5
|
-
"mocha/handle-done-callback":
|
|
6
|
-
|
|
7
|
-
{
|
|
8
|
-
ignorePending: false,
|
|
9
|
-
},
|
|
10
|
-
],
|
|
11
|
-
"mocha/max-top-level-suites": [
|
|
12
|
-
ON,
|
|
13
|
-
{
|
|
14
|
-
limit: 1,
|
|
15
|
-
},
|
|
16
|
-
],
|
|
5
|
+
"mocha/handle-done-callback": ON,
|
|
6
|
+
"mocha/max-top-level-suites": ON,
|
|
17
7
|
"mocha/no-async-suite": ON,
|
|
18
8
|
"mocha/no-empty-title": ON,
|
|
19
9
|
"mocha/no-exclusive-tests": ON,
|
|
@@ -27,13 +17,7 @@ export const MochaEnable = {
|
|
|
27
17
|
"mocha/no-return-from-async": ON,
|
|
28
18
|
"mocha/no-sibling-hooks": ON,
|
|
29
19
|
"mocha/no-top-level-hooks": ON,
|
|
30
|
-
"mocha/prefer-arrow-callback":
|
|
31
|
-
ON,
|
|
32
|
-
{
|
|
33
|
-
allowNamedFunctions: false,
|
|
34
|
-
allowUnboundThis: true,
|
|
35
|
-
},
|
|
36
|
-
],
|
|
20
|
+
"mocha/prefer-arrow-callback": ON,
|
|
37
21
|
},
|
|
38
22
|
};
|
|
39
23
|
//# sourceMappingURL=enable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EAEF,EAAE,GACH,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM;IACpB,KAAK,EAAE;QAIL,4BAA4B,EAAE
|
|
1
|
+
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EAEF,EAAE,GACH,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM;IACpB,KAAK,EAAE;QAIL,4BAA4B,EAAE,EAAE;QAChC,4BAA4B,EAAE,EAAE;QAChC,sBAAsB,EAAE,EAAE;QAC1B,sBAAsB,EAAE,EAAE;QAC1B,0BAA0B,EAAE,EAAE;QAC9B,kBAAkB,EAAE,EAAE;QACtB,uBAAuB,EAAE,EAAE;QAG3B,0BAA0B,EAAE,EAAE;QAC9B,uBAAuB,EAAE,EAAE;QAC3B,uBAAuB,EAAE,EAAE;QAC3B,wBAAwB,EAAE,EAAE;QAC5B,8BAA8B,EAAE,EAAE;QAClC,4BAA4B,EAAE,EAAE;QAEhC,wBAAwB,EAAE,EAAE;QAE5B,0BAA0B,EAAE,EAAE;QAC9B,6BAA6B,EAAE,EAAE;KAGzB;CACX,CAAC"}
|
|
@@ -7,12 +7,8 @@ declare const _default: ({
|
|
|
7
7
|
} | {
|
|
8
8
|
id: "enable";
|
|
9
9
|
rules: {
|
|
10
|
-
readonly "mocha/handle-done-callback":
|
|
11
|
-
|
|
12
|
-
}];
|
|
13
|
-
readonly "mocha/max-top-level-suites": readonly ["error", {
|
|
14
|
-
readonly limit: 1;
|
|
15
|
-
}];
|
|
10
|
+
readonly "mocha/handle-done-callback": "error";
|
|
11
|
+
readonly "mocha/max-top-level-suites": "error";
|
|
16
12
|
readonly "mocha/no-async-suite": "error";
|
|
17
13
|
readonly "mocha/no-empty-title": "error";
|
|
18
14
|
readonly "mocha/no-exclusive-tests": "error";
|
|
@@ -26,10 +22,7 @@ declare const _default: ({
|
|
|
26
22
|
readonly "mocha/no-return-from-async": "error";
|
|
27
23
|
readonly "mocha/no-sibling-hooks": "error";
|
|
28
24
|
readonly "mocha/no-top-level-hooks": "error";
|
|
29
|
-
readonly "mocha/prefer-arrow-callback":
|
|
30
|
-
readonly allowNamedFunctions: false;
|
|
31
|
-
readonly allowUnboundThis: true;
|
|
32
|
-
}];
|
|
25
|
+
readonly "mocha/prefer-arrow-callback": "error";
|
|
33
26
|
};
|
|
34
27
|
} | {
|
|
35
28
|
id: string;
|
|
@@ -37,8 +30,6 @@ declare const _default: ({
|
|
|
37
30
|
readonly "chai-friendly/no-unused-expressions": readonly ["error", {
|
|
38
31
|
readonly allowShortCircuit: true;
|
|
39
32
|
readonly allowTernary: true;
|
|
40
|
-
readonly allowTaggedTemplates: true;
|
|
41
|
-
readonly enforceForJSX: false;
|
|
42
33
|
}];
|
|
43
34
|
};
|
|
44
35
|
} | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAKE"}
|