linted 32.4.0 → 32.5.0-rc.1

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.
@@ -1,3 +1,673 @@
1
- export { parsers } from "./parsers.js";
2
- export { plugins } from "./plugins.js";
3
- //# sourceMappingURL=index.d.ts.map
1
+ declare const _default: {
2
+ parsers: {
3
+ ts: NoInfer<typeof import("typescript-eslint").parser>;
4
+ html: typeof import("@html-eslint/parser");
5
+ yml: typeof import("yaml-eslint-parser");
6
+ };
7
+ plugins: {
8
+ "@stylistic": NoInfer<{
9
+ rules: import("@stylistic/eslint-plugin").Rules;
10
+ configs: import("eslint").ESLint.Plugin["configs"] & import("@stylistic/eslint-plugin").Configs;
11
+ }>;
12
+ "@typescript-eslint": NoInfer<typeof import("typescript-eslint").plugin>;
13
+ mocha: {
14
+ rules: {
15
+ "handle-done-callback": Readonly<import("eslint").Rule.RuleModule>;
16
+ "max-top-level-suites": Readonly<import("eslint").Rule.RuleModule>;
17
+ "no-async-suite": Readonly<import("eslint").Rule.RuleModule>;
18
+ "no-exclusive-tests": Readonly<import("eslint").Rule.RuleModule>;
19
+ "no-exports": Readonly<import("eslint").Rule.RuleModule>;
20
+ "no-global-tests": Readonly<import("eslint").Rule.RuleModule>;
21
+ "no-hooks": Readonly<import("eslint").Rule.RuleModule>;
22
+ "no-hooks-for-single-case": Readonly<import("eslint").Rule.RuleModule>;
23
+ "no-identical-title": Readonly<import("eslint").Rule.RuleModule>;
24
+ "no-mocha-arrows": Readonly<import("eslint").Rule.RuleModule>;
25
+ "no-nested-tests": Readonly<import("eslint").Rule.RuleModule>;
26
+ "no-pending-tests": import("eslint").Rule.RuleModule;
27
+ "no-return-and-callback": Readonly<import("eslint").Rule.RuleModule>;
28
+ "no-return-from-async": Readonly<import("eslint").Rule.RuleModule>;
29
+ "no-setup-in-describe": Readonly<import("eslint").Rule.RuleModule>;
30
+ "no-sibling-hooks": Readonly<import("eslint").Rule.RuleModule>;
31
+ "no-synchronous-tests": Readonly<import("eslint").Rule.RuleModule>;
32
+ "no-top-level-hooks": Readonly<import("eslint").Rule.RuleModule>;
33
+ "prefer-arrow-callback": Readonly<import("eslint").Rule.RuleModule>;
34
+ "consistent-spacing-between-blocks": Readonly<import("eslint").Rule.RuleModule>;
35
+ "consistent-interface": Readonly<import("eslint").Rule.RuleModule>;
36
+ "valid-suite-title": Readonly<import("eslint").Rule.RuleModule>;
37
+ "valid-test-title": Readonly<import("eslint").Rule.RuleModule>;
38
+ "no-empty-title": Readonly<import("eslint").Rule.RuleModule>;
39
+ };
40
+ configs: {
41
+ all: {
42
+ name: string;
43
+ plugins: {
44
+ mocha: {};
45
+ };
46
+ languageOptions: {
47
+ globals: {
48
+ readonly after: false;
49
+ readonly afterEach: false;
50
+ readonly before: false;
51
+ readonly beforeEach: false;
52
+ readonly context: false;
53
+ readonly describe: false;
54
+ readonly it: false;
55
+ readonly mocha: false;
56
+ readonly run: false;
57
+ readonly setup: false;
58
+ readonly specify: false;
59
+ readonly suite: false;
60
+ readonly suiteSetup: false;
61
+ readonly suiteTeardown: false;
62
+ readonly teardown: false;
63
+ readonly test: false;
64
+ readonly xcontext: false;
65
+ readonly xdescribe: false;
66
+ readonly xit: false;
67
+ readonly xspecify: false;
68
+ };
69
+ };
70
+ rules: import("eslint").Linter.RulesRecord;
71
+ };
72
+ recommended: {
73
+ name: string;
74
+ plugins: {
75
+ mocha: {};
76
+ };
77
+ languageOptions: {
78
+ globals: {
79
+ readonly after: false;
80
+ readonly afterEach: false;
81
+ readonly before: false;
82
+ readonly beforeEach: false;
83
+ readonly context: false;
84
+ readonly describe: false;
85
+ readonly it: false;
86
+ readonly mocha: false;
87
+ readonly run: false;
88
+ readonly setup: false;
89
+ readonly specify: false;
90
+ readonly suite: false;
91
+ readonly suiteSetup: false;
92
+ readonly suiteTeardown: false;
93
+ readonly teardown: false;
94
+ readonly test: false;
95
+ readonly xcontext: false;
96
+ readonly xdescribe: false;
97
+ readonly xit: false;
98
+ readonly xspecify: false;
99
+ };
100
+ };
101
+ rules: import("eslint").Linter.RulesRecord;
102
+ };
103
+ };
104
+ };
105
+ "chai-friendly": typeof import("eslint-plugin-chai-friendly");
106
+ "chai-expect": typeof import("eslint-plugin-chai-expect");
107
+ "@html-eslint": typeof import("@html-eslint/eslint-plugin/types");
108
+ css: typeof import("@eslint/css").default;
109
+ json: typeof import("@eslint/json").default;
110
+ jsonc: {
111
+ meta: typeof import("eslint-plugin-jsonc/meta");
112
+ configs: {
113
+ base: {
114
+ plugins: string[];
115
+ overrides: {
116
+ files: string[];
117
+ parser: string;
118
+ rules: {
119
+ strict: string;
120
+ "no-unused-expressions": string;
121
+ "no-unused-vars": string;
122
+ };
123
+ }[];
124
+ };
125
+ "auto-config": {
126
+ extends: string[];
127
+ rules: {
128
+ "jsonc/auto": string;
129
+ };
130
+ };
131
+ "recommended-with-json": {
132
+ extends: string[];
133
+ rules: {
134
+ "jsonc/comma-dangle": string;
135
+ "jsonc/no-bigint-literals": string;
136
+ "jsonc/no-binary-expression": string;
137
+ "jsonc/no-binary-numeric-literals": string;
138
+ "jsonc/no-comments": string;
139
+ "jsonc/no-dupe-keys": string;
140
+ "jsonc/no-escape-sequence-in-identifier": string;
141
+ "jsonc/no-floating-decimal": string;
142
+ "jsonc/no-hexadecimal-numeric-literals": string;
143
+ "jsonc/no-infinity": string;
144
+ "jsonc/no-multi-str": string;
145
+ "jsonc/no-nan": string;
146
+ "jsonc/no-number-props": string;
147
+ "jsonc/no-numeric-separators": string;
148
+ "jsonc/no-octal-numeric-literals": string;
149
+ "jsonc/no-octal": string;
150
+ "jsonc/no-parenthesized": string;
151
+ "jsonc/no-plus-sign": string;
152
+ "jsonc/no-regexp-literals": string;
153
+ "jsonc/no-sparse-arrays": string;
154
+ "jsonc/no-template-literals": string;
155
+ "jsonc/no-undefined-value": string;
156
+ "jsonc/no-unicode-codepoint-escapes": string;
157
+ "jsonc/no-useless-escape": string;
158
+ "jsonc/quote-props": string;
159
+ "jsonc/quotes": string;
160
+ "jsonc/space-unary-ops": string;
161
+ "jsonc/valid-json-number": string;
162
+ "jsonc/vue-custom-block/no-parsing-error": string;
163
+ };
164
+ };
165
+ "recommended-with-jsonc": {
166
+ extends: string[];
167
+ rules: {
168
+ "jsonc/no-bigint-literals": string;
169
+ "jsonc/no-binary-expression": string;
170
+ "jsonc/no-binary-numeric-literals": string;
171
+ "jsonc/no-dupe-keys": string;
172
+ "jsonc/no-escape-sequence-in-identifier": string;
173
+ "jsonc/no-floating-decimal": string;
174
+ "jsonc/no-hexadecimal-numeric-literals": string;
175
+ "jsonc/no-infinity": string;
176
+ "jsonc/no-multi-str": string;
177
+ "jsonc/no-nan": string;
178
+ "jsonc/no-number-props": string;
179
+ "jsonc/no-numeric-separators": string;
180
+ "jsonc/no-octal-numeric-literals": string;
181
+ "jsonc/no-octal": string;
182
+ "jsonc/no-parenthesized": string;
183
+ "jsonc/no-plus-sign": string;
184
+ "jsonc/no-regexp-literals": string;
185
+ "jsonc/no-sparse-arrays": string;
186
+ "jsonc/no-template-literals": string;
187
+ "jsonc/no-undefined-value": string;
188
+ "jsonc/no-unicode-codepoint-escapes": string;
189
+ "jsonc/no-useless-escape": string;
190
+ "jsonc/quote-props": string;
191
+ "jsonc/quotes": string;
192
+ "jsonc/space-unary-ops": string;
193
+ "jsonc/valid-json-number": string;
194
+ "jsonc/vue-custom-block/no-parsing-error": string;
195
+ };
196
+ };
197
+ "recommended-with-json5": {
198
+ extends: string[];
199
+ rules: {
200
+ "jsonc/no-bigint-literals": string;
201
+ "jsonc/no-binary-expression": string;
202
+ "jsonc/no-binary-numeric-literals": string;
203
+ "jsonc/no-dupe-keys": string;
204
+ "jsonc/no-escape-sequence-in-identifier": string;
205
+ "jsonc/no-number-props": string;
206
+ "jsonc/no-numeric-separators": string;
207
+ "jsonc/no-octal-numeric-literals": string;
208
+ "jsonc/no-octal": string;
209
+ "jsonc/no-parenthesized": string;
210
+ "jsonc/no-regexp-literals": string;
211
+ "jsonc/no-sparse-arrays": string;
212
+ "jsonc/no-template-literals": string;
213
+ "jsonc/no-undefined-value": string;
214
+ "jsonc/no-unicode-codepoint-escapes": string;
215
+ "jsonc/no-useless-escape": string;
216
+ "jsonc/space-unary-ops": string;
217
+ "jsonc/vue-custom-block/no-parsing-error": string;
218
+ };
219
+ };
220
+ prettier: {
221
+ extends: string[];
222
+ rules: {
223
+ "jsonc/array-bracket-newline": string;
224
+ "jsonc/array-bracket-spacing": string;
225
+ "jsonc/array-element-newline": string;
226
+ "jsonc/comma-dangle": string;
227
+ "jsonc/comma-style": string;
228
+ "jsonc/indent": string;
229
+ "jsonc/key-spacing": string;
230
+ "jsonc/no-floating-decimal": string;
231
+ "jsonc/object-curly-newline": string;
232
+ "jsonc/object-curly-spacing": string;
233
+ "jsonc/object-property-newline": string;
234
+ "jsonc/quote-props": string;
235
+ "jsonc/quotes": string;
236
+ "jsonc/space-unary-ops": string;
237
+ };
238
+ };
239
+ all: {
240
+ extends: string[];
241
+ rules: {
242
+ [x: string]: string;
243
+ };
244
+ };
245
+ "flat/base": ({
246
+ plugins: {
247
+ readonly jsonc: import("eslint").ESLint.Plugin;
248
+ };
249
+ files?: undefined;
250
+ languageOptions?: undefined;
251
+ rules?: undefined;
252
+ } | {
253
+ files: string[];
254
+ languageOptions: {
255
+ parser: typeof import("jsonc-eslint-parser");
256
+ };
257
+ rules: {
258
+ strict: "off";
259
+ "no-unused-expressions": "off";
260
+ "no-unused-vars": "off";
261
+ };
262
+ plugins?: undefined;
263
+ })[];
264
+ "flat/recommended-with-json": ({
265
+ plugins: {
266
+ readonly jsonc: import("eslint").ESLint.Plugin;
267
+ };
268
+ files?: undefined;
269
+ languageOptions?: undefined;
270
+ rules?: undefined;
271
+ } | {
272
+ files: string[];
273
+ languageOptions: {
274
+ parser: typeof import("jsonc-eslint-parser");
275
+ };
276
+ rules: {
277
+ strict: "off";
278
+ "no-unused-expressions": "off";
279
+ "no-unused-vars": "off";
280
+ };
281
+ plugins?: undefined;
282
+ } | {
283
+ rules: {
284
+ "jsonc/comma-dangle": "error";
285
+ "jsonc/no-bigint-literals": "error";
286
+ "jsonc/no-binary-expression": "error";
287
+ "jsonc/no-binary-numeric-literals": "error";
288
+ "jsonc/no-comments": "error";
289
+ "jsonc/no-dupe-keys": "error";
290
+ "jsonc/no-escape-sequence-in-identifier": "error";
291
+ "jsonc/no-floating-decimal": "error";
292
+ "jsonc/no-hexadecimal-numeric-literals": "error";
293
+ "jsonc/no-infinity": "error";
294
+ "jsonc/no-multi-str": "error";
295
+ "jsonc/no-nan": "error";
296
+ "jsonc/no-number-props": "error";
297
+ "jsonc/no-numeric-separators": "error";
298
+ "jsonc/no-octal-numeric-literals": "error";
299
+ "jsonc/no-octal": "error";
300
+ "jsonc/no-parenthesized": "error";
301
+ "jsonc/no-plus-sign": "error";
302
+ "jsonc/no-regexp-literals": "error";
303
+ "jsonc/no-sparse-arrays": "error";
304
+ "jsonc/no-template-literals": "error";
305
+ "jsonc/no-undefined-value": "error";
306
+ "jsonc/no-unicode-codepoint-escapes": "error";
307
+ "jsonc/no-useless-escape": "error";
308
+ "jsonc/quote-props": "error";
309
+ "jsonc/quotes": "error";
310
+ "jsonc/space-unary-ops": "error";
311
+ "jsonc/valid-json-number": "error";
312
+ "jsonc/vue-custom-block/no-parsing-error": "error";
313
+ };
314
+ })[];
315
+ "flat/recommended-with-jsonc": ({
316
+ plugins: {
317
+ readonly jsonc: import("eslint").ESLint.Plugin;
318
+ };
319
+ files?: undefined;
320
+ languageOptions?: undefined;
321
+ rules?: undefined;
322
+ } | {
323
+ files: string[];
324
+ languageOptions: {
325
+ parser: typeof import("jsonc-eslint-parser");
326
+ };
327
+ rules: {
328
+ strict: "off";
329
+ "no-unused-expressions": "off";
330
+ "no-unused-vars": "off";
331
+ };
332
+ plugins?: undefined;
333
+ } | {
334
+ rules: {
335
+ "jsonc/no-bigint-literals": "error";
336
+ "jsonc/no-binary-expression": "error";
337
+ "jsonc/no-binary-numeric-literals": "error";
338
+ "jsonc/no-dupe-keys": "error";
339
+ "jsonc/no-escape-sequence-in-identifier": "error";
340
+ "jsonc/no-floating-decimal": "error";
341
+ "jsonc/no-hexadecimal-numeric-literals": "error";
342
+ "jsonc/no-infinity": "error";
343
+ "jsonc/no-multi-str": "error";
344
+ "jsonc/no-nan": "error";
345
+ "jsonc/no-number-props": "error";
346
+ "jsonc/no-numeric-separators": "error";
347
+ "jsonc/no-octal-numeric-literals": "error";
348
+ "jsonc/no-octal": "error";
349
+ "jsonc/no-parenthesized": "error";
350
+ "jsonc/no-plus-sign": "error";
351
+ "jsonc/no-regexp-literals": "error";
352
+ "jsonc/no-sparse-arrays": "error";
353
+ "jsonc/no-template-literals": "error";
354
+ "jsonc/no-undefined-value": "error";
355
+ "jsonc/no-unicode-codepoint-escapes": "error";
356
+ "jsonc/no-useless-escape": "error";
357
+ "jsonc/quote-props": "error";
358
+ "jsonc/quotes": "error";
359
+ "jsonc/space-unary-ops": "error";
360
+ "jsonc/valid-json-number": "error";
361
+ "jsonc/vue-custom-block/no-parsing-error": "error";
362
+ };
363
+ })[];
364
+ "flat/recommended-with-json5": ({
365
+ plugins: {
366
+ readonly jsonc: import("eslint").ESLint.Plugin;
367
+ };
368
+ files?: undefined;
369
+ languageOptions?: undefined;
370
+ rules?: undefined;
371
+ } | {
372
+ files: string[];
373
+ languageOptions: {
374
+ parser: typeof import("jsonc-eslint-parser");
375
+ };
376
+ rules: {
377
+ strict: "off";
378
+ "no-unused-expressions": "off";
379
+ "no-unused-vars": "off";
380
+ };
381
+ plugins?: undefined;
382
+ } | {
383
+ rules: {
384
+ "jsonc/no-bigint-literals": "error";
385
+ "jsonc/no-binary-expression": "error";
386
+ "jsonc/no-binary-numeric-literals": "error";
387
+ "jsonc/no-dupe-keys": "error";
388
+ "jsonc/no-escape-sequence-in-identifier": "error";
389
+ "jsonc/no-number-props": "error";
390
+ "jsonc/no-numeric-separators": "error";
391
+ "jsonc/no-octal-numeric-literals": "error";
392
+ "jsonc/no-octal": "error";
393
+ "jsonc/no-parenthesized": "error";
394
+ "jsonc/no-regexp-literals": "error";
395
+ "jsonc/no-sparse-arrays": "error";
396
+ "jsonc/no-template-literals": "error";
397
+ "jsonc/no-undefined-value": "error";
398
+ "jsonc/no-unicode-codepoint-escapes": "error";
399
+ "jsonc/no-useless-escape": "error";
400
+ "jsonc/space-unary-ops": "error";
401
+ "jsonc/vue-custom-block/no-parsing-error": "error";
402
+ };
403
+ })[];
404
+ "flat/prettier": ({
405
+ plugins: {
406
+ readonly jsonc: import("eslint").ESLint.Plugin;
407
+ };
408
+ files?: undefined;
409
+ languageOptions?: undefined;
410
+ rules?: undefined;
411
+ } | {
412
+ files: string[];
413
+ languageOptions: {
414
+ parser: typeof import("jsonc-eslint-parser");
415
+ };
416
+ rules: {
417
+ strict: "off";
418
+ "no-unused-expressions": "off";
419
+ "no-unused-vars": "off";
420
+ };
421
+ plugins?: undefined;
422
+ } | {
423
+ rules: {
424
+ "jsonc/array-bracket-newline": "off";
425
+ "jsonc/array-bracket-spacing": "off";
426
+ "jsonc/array-element-newline": "off";
427
+ "jsonc/comma-dangle": "off";
428
+ "jsonc/comma-style": "off";
429
+ "jsonc/indent": "off";
430
+ "jsonc/key-spacing": "off";
431
+ "jsonc/no-floating-decimal": "off";
432
+ "jsonc/object-curly-newline": "off";
433
+ "jsonc/object-curly-spacing": "off";
434
+ "jsonc/object-property-newline": "off";
435
+ "jsonc/quote-props": "off";
436
+ "jsonc/quotes": "off";
437
+ "jsonc/space-unary-ops": "off";
438
+ };
439
+ })[];
440
+ "flat/all": ({
441
+ plugins: {
442
+ readonly jsonc: import("eslint").ESLint.Plugin;
443
+ };
444
+ files?: undefined;
445
+ languageOptions?: undefined;
446
+ rules?: undefined;
447
+ } | {
448
+ files: string[];
449
+ languageOptions: {
450
+ parser: typeof import("jsonc-eslint-parser");
451
+ };
452
+ rules: {
453
+ strict: "off";
454
+ "no-unused-expressions": "off";
455
+ "no-unused-vars": "off";
456
+ };
457
+ plugins?: undefined;
458
+ } | {
459
+ rules: {
460
+ [rule: string]: import("eslint").Linter.RuleEntry<any[]>;
461
+ };
462
+ })[];
463
+ };
464
+ rules: {
465
+ [key: string]: import("eslint-plugin-jsonc/types").RuleModule<unknown[]>;
466
+ };
467
+ parseForESLint: typeof import("jsonc-eslint-parser").parseForESLint;
468
+ parseJSON: typeof import("jsonc-eslint-parser").parseJSON;
469
+ traverseNodes: typeof import("jsonc-eslint-parser").traverseNodes;
470
+ getStaticJSONValue: typeof import("jsonc-eslint-parser").getStaticJSONValue;
471
+ };
472
+ yml: {
473
+ meta: typeof import("eslint-plugin-yml/lib/meta");
474
+ configs: {
475
+ base: {
476
+ plugins: string[];
477
+ overrides: {
478
+ files: string[];
479
+ parser: string;
480
+ rules: {
481
+ "no-irregular-whitespace": string;
482
+ "no-unused-vars": string;
483
+ "spaced-comment": string;
484
+ };
485
+ }[];
486
+ };
487
+ recommended: {
488
+ extends: string[];
489
+ rules: {
490
+ "yml/no-empty-document": string;
491
+ "yml/no-empty-key": string;
492
+ "yml/no-empty-mapping-value": string;
493
+ "yml/no-empty-sequence-entry": string;
494
+ "yml/no-irregular-whitespace": string;
495
+ "yml/no-tab-indent": string;
496
+ "yml/vue-custom-block/no-parsing-error": string;
497
+ };
498
+ };
499
+ standard: {
500
+ extends: string[];
501
+ rules: {
502
+ "yml/block-mapping-question-indicator-newline": string;
503
+ "yml/block-mapping": string;
504
+ "yml/block-sequence-hyphen-indicator-newline": string;
505
+ "yml/block-sequence": string;
506
+ "yml/flow-mapping-curly-newline": string;
507
+ "yml/flow-mapping-curly-spacing": string;
508
+ "yml/flow-sequence-bracket-newline": string;
509
+ "yml/flow-sequence-bracket-spacing": string;
510
+ "yml/indent": string;
511
+ "yml/key-spacing": string;
512
+ "yml/no-empty-document": string;
513
+ "yml/no-empty-key": string;
514
+ "yml/no-empty-mapping-value": string;
515
+ "yml/no-empty-sequence-entry": string;
516
+ "yml/no-irregular-whitespace": string;
517
+ "yml/no-tab-indent": string;
518
+ "yml/plain-scalar": string;
519
+ "yml/quotes": string;
520
+ "yml/spaced-comment": string;
521
+ "yml/vue-custom-block/no-parsing-error": string;
522
+ };
523
+ };
524
+ prettier: {
525
+ extends: string[];
526
+ rules: {
527
+ "yml/block-mapping-colon-indicator-newline": string;
528
+ "yml/block-mapping-question-indicator-newline": string;
529
+ "yml/block-sequence-hyphen-indicator-newline": string;
530
+ "yml/flow-mapping-curly-newline": string;
531
+ "yml/flow-mapping-curly-spacing": string;
532
+ "yml/flow-sequence-bracket-newline": string;
533
+ "yml/flow-sequence-bracket-spacing": string;
534
+ "yml/indent": string;
535
+ "yml/key-spacing": string;
536
+ "yml/no-multiple-empty-lines": string;
537
+ "yml/no-trailing-zeros": string;
538
+ "yml/quotes": string;
539
+ };
540
+ };
541
+ "flat/base": ({
542
+ plugins: {
543
+ readonly yml: import("eslint").ESLint.Plugin;
544
+ };
545
+ files?: undefined;
546
+ languageOptions?: undefined;
547
+ rules?: undefined;
548
+ } | {
549
+ files: string[];
550
+ languageOptions: {
551
+ parser: typeof import("yaml-eslint-parser");
552
+ };
553
+ rules: {
554
+ "no-irregular-whitespace": "off";
555
+ "no-unused-vars": "off";
556
+ "spaced-comment": "off";
557
+ };
558
+ plugins?: undefined;
559
+ })[];
560
+ "flat/recommended": ({
561
+ plugins: {
562
+ readonly yml: import("eslint").ESLint.Plugin;
563
+ };
564
+ files?: undefined;
565
+ languageOptions?: undefined;
566
+ rules?: undefined;
567
+ } | {
568
+ files: string[];
569
+ languageOptions: {
570
+ parser: typeof import("yaml-eslint-parser");
571
+ };
572
+ rules: {
573
+ "no-irregular-whitespace": "off";
574
+ "no-unused-vars": "off";
575
+ "spaced-comment": "off";
576
+ };
577
+ plugins?: undefined;
578
+ } | {
579
+ rules: {
580
+ "yml/no-empty-document": "error";
581
+ "yml/no-empty-key": "error";
582
+ "yml/no-empty-mapping-value": "error";
583
+ "yml/no-empty-sequence-entry": "error";
584
+ "yml/no-irregular-whitespace": "error";
585
+ "yml/no-tab-indent": "error";
586
+ "yml/vue-custom-block/no-parsing-error": "error";
587
+ };
588
+ })[];
589
+ "flat/standard": ({
590
+ plugins: {
591
+ readonly yml: import("eslint").ESLint.Plugin;
592
+ };
593
+ files?: undefined;
594
+ languageOptions?: undefined;
595
+ rules?: undefined;
596
+ } | {
597
+ files: string[];
598
+ languageOptions: {
599
+ parser: typeof import("yaml-eslint-parser");
600
+ };
601
+ rules: {
602
+ "no-irregular-whitespace": "off";
603
+ "no-unused-vars": "off";
604
+ "spaced-comment": "off";
605
+ };
606
+ plugins?: undefined;
607
+ } | {
608
+ rules: {
609
+ "yml/block-mapping-question-indicator-newline": "error";
610
+ "yml/block-mapping": "error";
611
+ "yml/block-sequence-hyphen-indicator-newline": "error";
612
+ "yml/block-sequence": "error";
613
+ "yml/flow-mapping-curly-newline": "error";
614
+ "yml/flow-mapping-curly-spacing": "error";
615
+ "yml/flow-sequence-bracket-newline": "error";
616
+ "yml/flow-sequence-bracket-spacing": "error";
617
+ "yml/indent": "error";
618
+ "yml/key-spacing": "error";
619
+ "yml/no-empty-document": "error";
620
+ "yml/no-empty-key": "error";
621
+ "yml/no-empty-mapping-value": "error";
622
+ "yml/no-empty-sequence-entry": "error";
623
+ "yml/no-irregular-whitespace": "error";
624
+ "yml/no-tab-indent": "error";
625
+ "yml/plain-scalar": "error";
626
+ "yml/quotes": "error";
627
+ "yml/spaced-comment": "error";
628
+ "yml/vue-custom-block/no-parsing-error": "error";
629
+ };
630
+ })[];
631
+ "flat/prettier": ({
632
+ plugins: {
633
+ readonly yml: import("eslint").ESLint.Plugin;
634
+ };
635
+ files?: undefined;
636
+ languageOptions?: undefined;
637
+ rules?: undefined;
638
+ } | {
639
+ files: string[];
640
+ languageOptions: {
641
+ parser: typeof import("yaml-eslint-parser");
642
+ };
643
+ rules: {
644
+ "no-irregular-whitespace": "off";
645
+ "no-unused-vars": "off";
646
+ "spaced-comment": "off";
647
+ };
648
+ plugins?: undefined;
649
+ } | {
650
+ rules: {
651
+ "yml/block-mapping-colon-indicator-newline": "off";
652
+ "yml/block-mapping-question-indicator-newline": "off";
653
+ "yml/block-sequence-hyphen-indicator-newline": "off";
654
+ "yml/flow-mapping-curly-newline": "off";
655
+ "yml/flow-mapping-curly-spacing": "off";
656
+ "yml/flow-sequence-bracket-newline": "off";
657
+ "yml/flow-sequence-bracket-spacing": "off";
658
+ "yml/indent": "off";
659
+ "yml/key-spacing": "off";
660
+ "yml/no-multiple-empty-lines": "off";
661
+ "yml/no-trailing-zeros": "off";
662
+ "yml/quotes": "off";
663
+ };
664
+ })[];
665
+ };
666
+ rules: {
667
+ [key: string]: import("eslint-plugin-yml/lib/types").RuleModule;
668
+ };
669
+ };
670
+ };
671
+ };
672
+ export default _default;
673
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/imports/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/imports/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAO06oB,CAAC;mCAA4C,CAAC;yBAAkC,CAAC;;;;;;;;;;;2BAA+X,CAAC;;;;;;yBAAmN,CAAC;mCAA4C,CAAC;yBAAkC,CAAC;;;;;;;;;;;2BAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAu3D,CAAC;mCAA4C,CAAC;yBAAkC,CAAC;;;;;;;;;;;2BAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAkxD,CAAC;mCAA4C,CAAC;yBAAkC,CAAC;;;;;;;;;;;2BAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAwyC,CAAC;mCAA4C,CAAC;yBAAkC,CAAC;;;;;;;;;;;2BAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;yBAA89B,CAAC;mCAA4C,CAAC;yBAAkC,CAAC;;;;;;;;;;;2BAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAl50B,CAAC;mCAAwC,CAAC;yBAA8B,CAAC;;;;;;;;;;;2BAA8V,CAAC;;;;;;yBAA+K,CAAC;mCAAwC,CAAC;yBAA8B,CAAC;;;;;;;;;;;2BAA8V,CAAC;;;;;;;;;;;;;;;;yBAAolB,CAAC;mCAAwC,CAAC;yBAA8B,CAAC;;;;;;;;;;;2BAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAA0wC,CAAC;mCAAwC,CAAC;yBAA8B,CAAC;;;;;;;;;;;2BAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;;AAJ7gN,wBAGE"}
@@ -1,3 +1,7 @@
1
- export { parsers } from "./parsers.js";
2
- export { plugins } from "./plugins.js";
1
+ import parsers from "./parsers.js";
2
+ import plugins from "./plugins.js";
3
+ export default {
4
+ parsers,
5
+ plugins,
6
+ };
3
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/imports/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/imports/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,eAAe;IACb,OAAO;IACP,OAAO;CACR,CAAC"}
@@ -1,8 +1,10 @@
1
+ import { parser as ts } from "typescript-eslint";
1
2
  import html from "@html-eslint/parser";
2
3
  import yml from "yaml-eslint-parser";
3
- export declare const parsers: {
4
- ts: unknown;
4
+ declare const _default: {
5
+ ts: NoInfer<typeof ts>;
5
6
  html: typeof html;
6
7
  yml: typeof yml;
7
8
  };
9
+ export default _default;
8
10
  //# sourceMappingURL=parsers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../src/imports/parsers.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,GAAG,MAAM,oBAAoB,CAAC;AAErC,eAAO,MAAM,OAAO;QACF,OAAO;;;CAGxB,CAAC"}
1
+ {"version":3,"file":"parsers.d.ts","sourceRoot":"","sources":["../../src/imports/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,EAAE,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,GAAG,MAAM,oBAAoB,CAAC;;QAGzB,OAAO,CAAC,OAAO,EAAE,CAAC;;;;AAD9B,wBAIE"}
@@ -1,8 +1,8 @@
1
- import { parser as tsParser } from "typescript-eslint";
1
+ import { parser as ts } from "typescript-eslint";
2
2
  import html from "@html-eslint/parser";
3
3
  import yml from "yaml-eslint-parser";
4
- export const parsers = {
5
- ts: tsParser,
4
+ export default {
5
+ ts: ts,
6
6
  html,
7
7
  yml,
8
8
  };
@@ -1 +1 @@
1
- {"version":3,"file":"parsers.js","sourceRoot":"","sources":["../../src/imports/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,GAAG,MAAM,oBAAoB,CAAC;AAErC,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,EAAE,EAAE,QAAmB;IACvB,IAAI;IACJ,GAAG;CACJ,CAAC"}
1
+ {"version":3,"file":"parsers.js","sourceRoot":"","sources":["../../src/imports/parsers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,EAAE,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,IAAI,MAAM,qBAAqB,CAAC;AACvC,OAAO,GAAG,MAAM,oBAAoB,CAAC;AAErC,eAAe;IACb,EAAE,EAAE,EAAwB;IAC5B,IAAI;IACJ,GAAG;CACJ,CAAC"}
@@ -1,16 +1,13 @@
1
+ import stylistic from "@stylistic/eslint-plugin";
2
+ import { plugin as typescript_eslint } from "typescript-eslint";
1
3
  import chai_friendly from "eslint-plugin-chai-friendly";
2
4
  import chai_expect from "eslint-plugin-chai-expect";
3
5
  import html_eslint from "@html-eslint/eslint-plugin";
4
6
  import css from "@eslint/css";
5
7
  import json from "@eslint/json";
6
- export declare const plugins: {
7
- "@stylistic": {
8
- rules: import("@stylistic/eslint-plugin").Rules;
9
- configs: import("eslint").ESLint.Plugin["configs"] & import("@stylistic/eslint-plugin").Configs;
10
- };
11
- "@typescript-eslint": {
12
- configs: unknown;
13
- };
8
+ declare const _default: {
9
+ "@stylistic": NoInfer<typeof stylistic>;
10
+ "@typescript-eslint": NoInfer<typeof typescript_eslint>;
14
11
  mocha: {
15
12
  rules: {
16
13
  "handle-done-callback": Readonly<import("eslint").Rule.RuleModule>;
@@ -669,4 +666,5 @@ export declare const plugins: {
669
666
  };
670
667
  };
671
668
  };
669
+ export default _default;
672
670
  //# sourceMappingURL=plugins.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/imports/plugins.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AkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAu3D,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAkxD,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAwyC,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;qBAA89B,CAAC;+BAA4C,CAAC;qBAAkC,CAAC;;;;;;;;;;;uBAA+X,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAl50B,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;qBAA+K,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;;;;;;;;;;;qBAAolB,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAA0wC,CAAC;+BAAwC,CAAC;qBAA8B,CAAC;;;;;;;;;;;uBAA8V,CAAC;;;;;;;;;;;;;;;;;;;;;;;AAZx4L,wBAWE"}
@@ -8,7 +8,7 @@ import css from "@eslint/css";
8
8
  import json from "@eslint/json";
9
9
  import jsonc from "eslint-plugin-jsonc";
10
10
  import yml from "eslint-plugin-yml";
11
- export const plugins = {
11
+ export default {
12
12
  "@stylistic": stylistic,
13
13
  "@typescript-eslint": typescript_eslint,
14
14
  mocha,
@@ -1 +1 @@
1
- {"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../src/imports/plugins.ts"],"names":[],"mappings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C9B,aAAa,EAAE,WAAW;IAC1B,cAAc,EAAE,WAAW;IAC3B,GAAG;IACH,IAAI;IACJ,KAAK;IACL,GAAG;CACJ,CAAC"}
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import Core from "@eslinted/core";
2
2
  import { settings, defaults, } from "@eslinted/defaults";
3
- import * as imports from "./imports/index.js";
3
+ import imports from "./imports/index.js";
4
4
  export default function (extensions = {}, ...attachments) {
5
5
  try {
6
6
  return Core({
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,EACL,QAAQ,EACR,QAAQ,GACT,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AAErC,MAAM,CAAC,OAAO,WACZ,aAAwE,EAAE,EAC1E,GAAG,WAAuE;IAE1E,IAAI,CAAC;QACH,OAAO,IAAI,CACT;YACE,OAAO;YACP,aAAa,EAAE;gBACb,QAAQ;gBACR,QAAQ;gBACR,UAAU;gBACV,WAAW;aACZ;SACF,CACF,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QACT,MAAM,SAAS,CACb,UAAU,EACV,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;IACJ,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,EACL,QAAQ,EACR,QAAQ,GACT,MAAM,oBAAoB,CAAC;AAC5B,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,MAAM,CAAC,OAAO,WACZ,aAAwE,EAAE,EAC1E,GAAG,WAAuE;IAE1E,IAAI,CAAC;QACH,OAAO,IAAI,CACT;YACE,OAAO;YACP,aAAa,EAAE;gBACb,QAAQ;gBACR,QAAQ;gBACR,UAAU;gBACV,WAAW;aACZ;SACF,CACF,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QACT,MAAM,SAAS,CACb,UAAU,EACV,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;IACJ,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "$schema": "https://json.schemastore.org/package",
4
4
  "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
5
5
  "name": "linted",
6
- "version": "32.4.0",
6
+ "version": "32.5.0-rc.1",
7
7
  "repository": "github:jimmy-zhening-luo/linted",
8
8
  "description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
9
9
  "keywords": [
@@ -1,2 +1,7 @@
1
- export { parsers } from "./parsers";
2
- export { plugins } from "./plugins";
1
+ import parsers from "./parsers";
2
+ import plugins from "./plugins";
3
+
4
+ export default {
5
+ parsers,
6
+ plugins,
7
+ };
@@ -1,9 +1,9 @@
1
- import { parser as tsParser } from "typescript-eslint";
1
+ import { parser as ts } from "typescript-eslint";
2
2
  import html from "@html-eslint/parser";
3
3
  import yml from "yaml-eslint-parser";
4
4
 
5
- export const parsers = {
6
- ts: tsParser as unknown,
5
+ export default {
6
+ ts: ts as NoInfer<typeof ts>,
7
7
  html,
8
8
  yml,
9
9
  };
@@ -9,9 +9,9 @@ import json from "@eslint/json";
9
9
  import jsonc from "eslint-plugin-jsonc";
10
10
  import yml from "eslint-plugin-yml";
11
11
 
12
- export const plugins = {
13
- "@stylistic": stylistic,
14
- "@typescript-eslint": typescript_eslint as unknown as { configs: unknown },
12
+ export default {
13
+ "@stylistic": stylistic as NoInfer<typeof stylistic>,
14
+ "@typescript-eslint": typescript_eslint as NoInfer<typeof typescript_eslint>,
15
15
  mocha,
16
16
  "chai-friendly": chai_friendly,
17
17
  "chai-expect": chai_expect,
package/src/index.ts CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  settings,
4
4
  defaults,
5
5
  } from "@eslinted/defaults";
6
- import * as imports from "./imports";
6
+ import imports from "./imports";
7
7
 
8
8
  export default function (
9
9
  extensions: Parameters<typeof Core>[0]["configuration"]["extensions"] = {},
package/tsconfig.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "display": "tsc@509.2.1",
2
+ "display": "tsc@509.3.0",
3
3
  "include": [
4
4
  "src/**/*.ts",
5
5
  "typings/**/*.d.ts",
@@ -44,13 +44,13 @@
44
44
  // "allowJs": true,
45
45
  // "checkJs": true,
46
46
  // "isolatedDeclarations": false,
47
- "verbatimModuleSyntax": true,
47
+ // "verbatimModuleSyntax": true,
48
48
  "lib": [
49
49
  "esnext",
50
50
  /* {CONFIGURE} */
51
51
  ],
52
52
  "target": "esnext",
53
53
  // "composite": true,
54
- "skipLibCheck": true /* @OVERRIDE */,
54
+ // "skipLibCheck": true,
55
55
  },
56
56
  }