@lincy/eslint-config 5.6.1 → 5.7.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.
- package/README.md +1 -1
- package/dist/index.cjs +15 -12
- package/dist/index.d.cts +282 -629
- package/dist/index.d.ts +282 -629
- package/dist/index.js +15 -12
- package/package.json +28 -28
package/dist/index.d.cts
CHANGED
|
@@ -384,235 +384,39 @@ interface RuleOptions {
|
|
|
384
384
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>;
|
|
385
385
|
/**
|
|
386
386
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
387
|
-
* @see https://github.com/
|
|
387
|
+
* @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/consistent-type-specifier-style/README.md
|
|
388
388
|
*/
|
|
389
389
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
|
|
390
|
-
/**
|
|
391
|
-
* Ensure a default export is present, given a default import.
|
|
392
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/default.md
|
|
393
|
-
*/
|
|
394
|
-
'import/default'?: Linter.RuleEntry<[]>;
|
|
395
|
-
/**
|
|
396
|
-
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
397
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/dynamic-import-chunkname.md
|
|
398
|
-
*/
|
|
399
|
-
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>;
|
|
400
|
-
/**
|
|
401
|
-
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
402
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/export.md
|
|
403
|
-
*/
|
|
404
|
-
'import/export'?: Linter.RuleEntry<[]>;
|
|
405
|
-
/**
|
|
406
|
-
* Ensure all exports appear after other statements.
|
|
407
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/exports-last.md
|
|
408
|
-
*/
|
|
409
|
-
'import/exports-last'?: Linter.RuleEntry<[]>;
|
|
410
|
-
/**
|
|
411
|
-
* Ensure consistent use of file extension within the import path.
|
|
412
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/extensions.md
|
|
413
|
-
*/
|
|
414
|
-
'import/extensions'?: Linter.RuleEntry<ImportExtensions>;
|
|
415
390
|
/**
|
|
416
391
|
* Ensure all imports appear before other statements.
|
|
417
|
-
* @see https://github.com/
|
|
392
|
+
* @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/first/README.md
|
|
418
393
|
*/
|
|
419
394
|
'import/first'?: Linter.RuleEntry<ImportFirst>;
|
|
420
|
-
/**
|
|
421
|
-
* Prefer named exports to be grouped together in a single export declaration.
|
|
422
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/group-exports.md
|
|
423
|
-
*/
|
|
424
|
-
'import/group-exports'?: Linter.RuleEntry<[]>;
|
|
425
|
-
/**
|
|
426
|
-
* Replaced by `import-x/first`.
|
|
427
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/imports-first.md
|
|
428
|
-
* @deprecated
|
|
429
|
-
*/
|
|
430
|
-
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>;
|
|
431
|
-
/**
|
|
432
|
-
* Enforce the maximum number of dependencies a module can have.
|
|
433
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/max-dependencies.md
|
|
434
|
-
*/
|
|
435
|
-
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>;
|
|
436
|
-
/**
|
|
437
|
-
* Ensure named imports correspond to a named export in the remote file.
|
|
438
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/named.md
|
|
439
|
-
*/
|
|
440
|
-
'import/named'?: Linter.RuleEntry<ImportNamed>;
|
|
441
|
-
/**
|
|
442
|
-
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
443
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/namespace.md
|
|
444
|
-
*/
|
|
445
|
-
'import/namespace'?: Linter.RuleEntry<ImportNamespace>;
|
|
446
395
|
/**
|
|
447
396
|
* Enforce a newline after import statements.
|
|
448
|
-
* @see https://github.com/
|
|
397
|
+
* @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/newline-after-import/README.md
|
|
449
398
|
*/
|
|
450
399
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>;
|
|
451
|
-
/**
|
|
452
|
-
* Forbid import of modules using absolute paths.
|
|
453
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-absolute-path.md
|
|
454
|
-
*/
|
|
455
|
-
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>;
|
|
456
|
-
/**
|
|
457
|
-
* Forbid AMD `require` and `define` calls.
|
|
458
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-amd.md
|
|
459
|
-
*/
|
|
460
|
-
'import/no-amd'?: Linter.RuleEntry<[]>;
|
|
461
|
-
/**
|
|
462
|
-
* Forbid anonymous values as default exports.
|
|
463
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-anonymous-default-export.md
|
|
464
|
-
*/
|
|
465
|
-
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
|
|
466
|
-
/**
|
|
467
|
-
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
468
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-commonjs.md
|
|
469
|
-
*/
|
|
470
|
-
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>;
|
|
471
|
-
/**
|
|
472
|
-
* Forbid a module from importing a module with a dependency path back to itself.
|
|
473
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-cycle.md
|
|
474
|
-
*/
|
|
475
|
-
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>;
|
|
476
400
|
/**
|
|
477
401
|
* Forbid default exports.
|
|
478
|
-
* @see https://github.com/
|
|
402
|
+
* @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/no-default-export/README.md
|
|
479
403
|
*/
|
|
480
404
|
'import/no-default-export'?: Linter.RuleEntry<[]>;
|
|
481
|
-
/**
|
|
482
|
-
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
483
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-deprecated.md
|
|
484
|
-
*/
|
|
485
|
-
'import/no-deprecated'?: Linter.RuleEntry<[]>;
|
|
486
405
|
/**
|
|
487
406
|
* Forbid repeated import of the same module in multiple places.
|
|
488
|
-
* @see https://github.com/
|
|
407
|
+
* @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/no-duplicates/README.md
|
|
489
408
|
*/
|
|
490
409
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>;
|
|
491
|
-
/**
|
|
492
|
-
* Forbid `require()` calls with expressions.
|
|
493
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-dynamic-require.md
|
|
494
|
-
*/
|
|
495
|
-
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>;
|
|
496
|
-
/**
|
|
497
|
-
* Forbid empty named import blocks.
|
|
498
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-empty-named-blocks.md
|
|
499
|
-
*/
|
|
500
|
-
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>;
|
|
501
|
-
/**
|
|
502
|
-
* Forbid the use of extraneous packages.
|
|
503
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-extraneous-dependencies.md
|
|
504
|
-
*/
|
|
505
|
-
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
|
|
506
|
-
/**
|
|
507
|
-
* Forbid import statements with CommonJS module.exports.
|
|
508
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-import-module-exports.md
|
|
509
|
-
*/
|
|
510
|
-
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>;
|
|
511
|
-
/**
|
|
512
|
-
* Forbid importing the submodules of other modules.
|
|
513
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-internal-modules.md
|
|
514
|
-
*/
|
|
515
|
-
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>;
|
|
516
410
|
/**
|
|
517
411
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
518
|
-
* @see https://github.com/
|
|
412
|
+
* @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/no-mutable-exports/README.md
|
|
519
413
|
*/
|
|
520
414
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>;
|
|
521
|
-
/**
|
|
522
|
-
* Forbid use of exported name as identifier of default export.
|
|
523
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-named-as-default.md
|
|
524
|
-
*/
|
|
525
|
-
'import/no-named-as-default'?: Linter.RuleEntry<[]>;
|
|
526
|
-
/**
|
|
527
|
-
* Forbid use of exported name as property of default export.
|
|
528
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-named-as-default-member.md
|
|
529
|
-
*/
|
|
530
|
-
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>;
|
|
531
415
|
/**
|
|
532
416
|
* Forbid named default exports.
|
|
533
|
-
* @see https://github.com/
|
|
417
|
+
* @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/no-named-default/README.md
|
|
534
418
|
*/
|
|
535
419
|
'import/no-named-default'?: Linter.RuleEntry<[]>;
|
|
536
|
-
/**
|
|
537
|
-
* Forbid named exports.
|
|
538
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-named-export.md
|
|
539
|
-
*/
|
|
540
|
-
'import/no-named-export'?: Linter.RuleEntry<[]>;
|
|
541
|
-
/**
|
|
542
|
-
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
543
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-namespace.md
|
|
544
|
-
*/
|
|
545
|
-
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>;
|
|
546
|
-
/**
|
|
547
|
-
* Forbid Node.js builtin modules.
|
|
548
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-nodejs-modules.md
|
|
549
|
-
*/
|
|
550
|
-
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>;
|
|
551
|
-
/**
|
|
552
|
-
* Forbid importing packages through relative paths.
|
|
553
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-relative-packages.md
|
|
554
|
-
*/
|
|
555
|
-
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>;
|
|
556
|
-
/**
|
|
557
|
-
* Forbid importing modules from parent directories.
|
|
558
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-relative-parent-imports.md
|
|
559
|
-
*/
|
|
560
|
-
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>;
|
|
561
|
-
/**
|
|
562
|
-
* Forbid importing a default export by a different name.
|
|
563
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-rename-default.md
|
|
564
|
-
*/
|
|
565
|
-
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>;
|
|
566
|
-
/**
|
|
567
|
-
* Enforce which files can be imported in a given folder.
|
|
568
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-restricted-paths.md
|
|
569
|
-
*/
|
|
570
|
-
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>;
|
|
571
|
-
/**
|
|
572
|
-
* Forbid a module from importing itself.
|
|
573
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-self-import.md
|
|
574
|
-
*/
|
|
575
|
-
'import/no-self-import'?: Linter.RuleEntry<[]>;
|
|
576
|
-
/**
|
|
577
|
-
* Forbid unassigned imports.
|
|
578
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-unassigned-import.md
|
|
579
|
-
*/
|
|
580
|
-
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>;
|
|
581
|
-
/**
|
|
582
|
-
* Ensure imports point to a file/module that can be resolved.
|
|
583
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-unresolved.md
|
|
584
|
-
*/
|
|
585
|
-
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>;
|
|
586
|
-
/**
|
|
587
|
-
* Forbid modules without exports, or exports without matching import in another module.
|
|
588
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-unused-modules.md
|
|
589
|
-
*/
|
|
590
|
-
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>;
|
|
591
|
-
/**
|
|
592
|
-
* Forbid unnecessary path segments in import and require statements.
|
|
593
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-useless-path-segments.md
|
|
594
|
-
*/
|
|
595
|
-
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>;
|
|
596
|
-
/**
|
|
597
|
-
* Forbid webpack loader syntax in imports.
|
|
598
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-webpack-loader-syntax.md
|
|
599
|
-
*/
|
|
600
|
-
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>;
|
|
601
|
-
/**
|
|
602
|
-
* Enforce a convention in module import order.
|
|
603
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/order.md
|
|
604
|
-
*/
|
|
605
|
-
'import/order'?: Linter.RuleEntry<ImportOrder>;
|
|
606
|
-
/**
|
|
607
|
-
* Prefer a default export if module exports a single name or multiple names.
|
|
608
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/prefer-default-export.md
|
|
609
|
-
*/
|
|
610
|
-
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>;
|
|
611
|
-
/**
|
|
612
|
-
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
613
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/unambiguous.md
|
|
614
|
-
*/
|
|
615
|
-
'import/unambiguous'?: Linter.RuleEntry<[]>;
|
|
616
420
|
/**
|
|
617
421
|
* Enforce consistent indentation
|
|
618
422
|
* @see https://eslint.org/docs/latest/rules/indent
|
|
@@ -1198,6 +1002,11 @@ interface RuleOptions {
|
|
|
1198
1002
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
|
|
1199
1003
|
*/
|
|
1200
1004
|
'markdown/heading-increment'?: Linter.RuleEntry<[]>;
|
|
1005
|
+
/**
|
|
1006
|
+
* Disallow bare URLs
|
|
1007
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-bare-urls.md
|
|
1008
|
+
*/
|
|
1009
|
+
'markdown/no-bare-urls'?: Linter.RuleEntry<[]>;
|
|
1201
1010
|
/**
|
|
1202
1011
|
* Disallow duplicate definitions
|
|
1203
1012
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-definitions.md
|
|
@@ -1207,12 +1016,12 @@ interface RuleOptions {
|
|
|
1207
1016
|
* Disallow duplicate headings in the same document
|
|
1208
1017
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md
|
|
1209
1018
|
*/
|
|
1210
|
-
'markdown/no-duplicate-headings'?: Linter.RuleEntry<
|
|
1019
|
+
'markdown/no-duplicate-headings'?: Linter.RuleEntry<MarkdownNoDuplicateHeadings>;
|
|
1211
1020
|
/**
|
|
1212
1021
|
* Disallow empty definitions
|
|
1213
1022
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-definitions.md
|
|
1214
1023
|
*/
|
|
1215
|
-
'markdown/no-empty-definitions'?: Linter.RuleEntry<
|
|
1024
|
+
'markdown/no-empty-definitions'?: Linter.RuleEntry<MarkdownNoEmptyDefinitions>;
|
|
1216
1025
|
/**
|
|
1217
1026
|
* Disallow empty images
|
|
1218
1027
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-images.md
|
|
@@ -1243,11 +1052,26 @@ interface RuleOptions {
|
|
|
1243
1052
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
|
|
1244
1053
|
*/
|
|
1245
1054
|
'markdown/no-missing-label-refs'?: Linter.RuleEntry<[]>;
|
|
1055
|
+
/**
|
|
1056
|
+
* Disallow link fragments that do not reference valid headings
|
|
1057
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-link-fragments.md
|
|
1058
|
+
*/
|
|
1059
|
+
'markdown/no-missing-link-fragments'?: Linter.RuleEntry<MarkdownNoMissingLinkFragments>;
|
|
1246
1060
|
/**
|
|
1247
1061
|
* Disallow multiple H1 headings in the same document
|
|
1248
1062
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-multiple-h1.md
|
|
1249
1063
|
*/
|
|
1250
1064
|
'markdown/no-multiple-h1'?: Linter.RuleEntry<MarkdownNoMultipleH1>;
|
|
1065
|
+
/**
|
|
1066
|
+
* Disallow reversed link and image syntax
|
|
1067
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reversed-media-syntax.md
|
|
1068
|
+
*/
|
|
1069
|
+
'markdown/no-reversed-media-syntax'?: Linter.RuleEntry<[]>;
|
|
1070
|
+
/**
|
|
1071
|
+
* Disallow unused definitions
|
|
1072
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-unused-definitions.md
|
|
1073
|
+
*/
|
|
1074
|
+
'markdown/no-unused-definitions'?: Linter.RuleEntry<MarkdownNoUnusedDefinitions>;
|
|
1251
1075
|
/**
|
|
1252
1076
|
* Require alternative text for images
|
|
1253
1077
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/require-alt-text.md
|
|
@@ -1420,7 +1244,7 @@ interface RuleOptions {
|
|
|
1420
1244
|
*/
|
|
1421
1245
|
'no-console'?: Linter.RuleEntry<NoConsole>;
|
|
1422
1246
|
/**
|
|
1423
|
-
* Disallow reassigning `const` variables
|
|
1247
|
+
* Disallow reassigning `const`, `using`, and `await using` variables
|
|
1424
1248
|
* @see https://eslint.org/docs/latest/rules/no-const-assign
|
|
1425
1249
|
*/
|
|
1426
1250
|
'no-const-assign'?: Linter.RuleEntry<[]>;
|
|
@@ -3633,483 +3457,478 @@ interface RuleOptions {
|
|
|
3633
3457
|
'strict'?: Linter.RuleEntry<Strict>;
|
|
3634
3458
|
/**
|
|
3635
3459
|
* Enforce linebreaks after opening and before closing array brackets
|
|
3636
|
-
* @see https://eslint.style/rules/
|
|
3460
|
+
* @see https://eslint.style/rules/array-bracket-newline
|
|
3637
3461
|
*/
|
|
3638
3462
|
'style/array-bracket-newline'?: Linter.RuleEntry<StyleArrayBracketNewline>;
|
|
3639
3463
|
/**
|
|
3640
3464
|
* Enforce consistent spacing inside array brackets
|
|
3641
|
-
* @see https://eslint.style/rules/
|
|
3465
|
+
* @see https://eslint.style/rules/array-bracket-spacing
|
|
3642
3466
|
*/
|
|
3643
3467
|
'style/array-bracket-spacing'?: Linter.RuleEntry<StyleArrayBracketSpacing>;
|
|
3644
3468
|
/**
|
|
3645
3469
|
* Enforce line breaks after each array element
|
|
3646
|
-
* @see https://eslint.style/rules/
|
|
3470
|
+
* @see https://eslint.style/rules/array-element-newline
|
|
3647
3471
|
*/
|
|
3648
3472
|
'style/array-element-newline'?: Linter.RuleEntry<StyleArrayElementNewline>;
|
|
3649
3473
|
/**
|
|
3650
3474
|
* Require parentheses around arrow function arguments
|
|
3651
|
-
* @see https://eslint.style/rules/
|
|
3475
|
+
* @see https://eslint.style/rules/arrow-parens
|
|
3652
3476
|
*/
|
|
3653
3477
|
'style/arrow-parens'?: Linter.RuleEntry<StyleArrowParens>;
|
|
3654
3478
|
/**
|
|
3655
3479
|
* Enforce consistent spacing before and after the arrow in arrow functions
|
|
3656
|
-
* @see https://eslint.style/rules/
|
|
3480
|
+
* @see https://eslint.style/rules/arrow-spacing
|
|
3657
3481
|
*/
|
|
3658
3482
|
'style/arrow-spacing'?: Linter.RuleEntry<StyleArrowSpacing>;
|
|
3659
3483
|
/**
|
|
3660
3484
|
* Disallow or enforce spaces inside of blocks after opening block and before closing block
|
|
3661
|
-
* @see https://eslint.style/rules/
|
|
3485
|
+
* @see https://eslint.style/rules/block-spacing
|
|
3662
3486
|
*/
|
|
3663
3487
|
'style/block-spacing'?: Linter.RuleEntry<StyleBlockSpacing>;
|
|
3664
3488
|
/**
|
|
3665
3489
|
* Enforce consistent brace style for blocks
|
|
3666
|
-
* @see https://eslint.style/rules/
|
|
3490
|
+
* @see https://eslint.style/rules/brace-style
|
|
3667
3491
|
*/
|
|
3668
3492
|
'style/brace-style'?: Linter.RuleEntry<StyleBraceStyle>;
|
|
3669
3493
|
/**
|
|
3670
3494
|
* Require or disallow trailing commas
|
|
3671
|
-
* @see https://eslint.style/rules/
|
|
3495
|
+
* @see https://eslint.style/rules/comma-dangle
|
|
3672
3496
|
*/
|
|
3673
3497
|
'style/comma-dangle'?: Linter.RuleEntry<StyleCommaDangle>;
|
|
3674
3498
|
/**
|
|
3675
3499
|
* Enforce consistent spacing before and after commas
|
|
3676
|
-
* @see https://eslint.style/rules/
|
|
3500
|
+
* @see https://eslint.style/rules/comma-spacing
|
|
3677
3501
|
*/
|
|
3678
3502
|
'style/comma-spacing'?: Linter.RuleEntry<StyleCommaSpacing>;
|
|
3679
3503
|
/**
|
|
3680
3504
|
* Enforce consistent comma style
|
|
3681
|
-
* @see https://eslint.style/rules/
|
|
3505
|
+
* @see https://eslint.style/rules/comma-style
|
|
3682
3506
|
*/
|
|
3683
3507
|
'style/comma-style'?: Linter.RuleEntry<StyleCommaStyle>;
|
|
3684
3508
|
/**
|
|
3685
3509
|
* Enforce consistent spacing inside computed property brackets
|
|
3686
|
-
* @see https://eslint.style/rules/
|
|
3510
|
+
* @see https://eslint.style/rules/computed-property-spacing
|
|
3687
3511
|
*/
|
|
3688
3512
|
'style/computed-property-spacing'?: Linter.RuleEntry<StyleComputedPropertySpacing>;
|
|
3689
3513
|
/**
|
|
3690
3514
|
* Enforce consistent line breaks after opening and before closing braces
|
|
3691
|
-
* @see https://eslint.style/rules/
|
|
3515
|
+
* @see https://eslint.style/rules/curly-newline
|
|
3692
3516
|
*/
|
|
3693
3517
|
'style/curly-newline'?: Linter.RuleEntry<StyleCurlyNewline>;
|
|
3694
3518
|
/**
|
|
3695
3519
|
* Enforce consistent newlines before and after dots
|
|
3696
|
-
* @see https://eslint.style/rules/
|
|
3520
|
+
* @see https://eslint.style/rules/dot-location
|
|
3697
3521
|
*/
|
|
3698
3522
|
'style/dot-location'?: Linter.RuleEntry<StyleDotLocation>;
|
|
3699
3523
|
/**
|
|
3700
3524
|
* Require or disallow newline at the end of files
|
|
3701
|
-
* @see https://eslint.style/rules/
|
|
3525
|
+
* @see https://eslint.style/rules/eol-last
|
|
3702
3526
|
*/
|
|
3703
3527
|
'style/eol-last'?: Linter.RuleEntry<StyleEolLast>;
|
|
3704
|
-
/**
|
|
3705
|
-
* Require or disallow spacing between function identifiers and their invocations
|
|
3706
|
-
* @see https://eslint.style/rules/ts/function-call-spacing
|
|
3707
|
-
*/
|
|
3708
|
-
'style/func-call-spacing'?: Linter.RuleEntry<StyleFuncCallSpacing>;
|
|
3709
3528
|
/**
|
|
3710
3529
|
* Enforce line breaks between arguments of a function call
|
|
3711
|
-
* @see https://eslint.style/rules/
|
|
3530
|
+
* @see https://eslint.style/rules/function-call-argument-newline
|
|
3712
3531
|
*/
|
|
3713
3532
|
'style/function-call-argument-newline'?: Linter.RuleEntry<StyleFunctionCallArgumentNewline>;
|
|
3714
3533
|
/**
|
|
3715
3534
|
* Require or disallow spacing between function identifiers and their invocations
|
|
3716
|
-
* @see https://eslint.style/rules/
|
|
3535
|
+
* @see https://eslint.style/rules/function-call-spacing
|
|
3717
3536
|
*/
|
|
3718
3537
|
'style/function-call-spacing'?: Linter.RuleEntry<StyleFunctionCallSpacing>;
|
|
3719
3538
|
/**
|
|
3720
3539
|
* Enforce consistent line breaks inside function parentheses
|
|
3721
|
-
* @see https://eslint.style/rules/
|
|
3540
|
+
* @see https://eslint.style/rules/function-paren-newline
|
|
3722
3541
|
*/
|
|
3723
3542
|
'style/function-paren-newline'?: Linter.RuleEntry<StyleFunctionParenNewline>;
|
|
3724
3543
|
/**
|
|
3725
3544
|
* Enforce consistent spacing around `*` operators in generator functions
|
|
3726
|
-
* @see https://eslint.style/rules/
|
|
3545
|
+
* @see https://eslint.style/rules/generator-star-spacing
|
|
3727
3546
|
*/
|
|
3728
3547
|
'style/generator-star-spacing'?: Linter.RuleEntry<StyleGeneratorStarSpacing>;
|
|
3729
3548
|
/**
|
|
3730
3549
|
* Enforce the location of arrow function bodies
|
|
3731
|
-
* @see https://eslint.style/rules/
|
|
3550
|
+
* @see https://eslint.style/rules/implicit-arrow-linebreak
|
|
3732
3551
|
*/
|
|
3733
3552
|
'style/implicit-arrow-linebreak'?: Linter.RuleEntry<StyleImplicitArrowLinebreak>;
|
|
3734
3553
|
/**
|
|
3735
3554
|
* Enforce consistent indentation
|
|
3736
|
-
* @see https://eslint.style/rules/
|
|
3555
|
+
* @see https://eslint.style/rules/indent
|
|
3737
3556
|
*/
|
|
3738
3557
|
'style/indent'?: Linter.RuleEntry<StyleIndent>;
|
|
3739
3558
|
/**
|
|
3740
3559
|
* Indentation for binary operators
|
|
3741
|
-
* @see https://eslint.style/rules/
|
|
3560
|
+
* @see https://eslint.style/rules/indent-binary-ops
|
|
3742
3561
|
*/
|
|
3743
3562
|
'style/indent-binary-ops'?: Linter.RuleEntry<StyleIndentBinaryOps>;
|
|
3744
3563
|
/**
|
|
3745
3564
|
* Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
|
|
3746
|
-
* @see https://eslint.style/rules/jsx
|
|
3565
|
+
* @see https://eslint.style/rules/jsx-child-element-spacing
|
|
3747
3566
|
*/
|
|
3748
3567
|
'style/jsx-child-element-spacing'?: Linter.RuleEntry<[]>;
|
|
3749
3568
|
/**
|
|
3750
3569
|
* Enforce closing bracket location in JSX
|
|
3751
|
-
* @see https://eslint.style/rules/jsx
|
|
3570
|
+
* @see https://eslint.style/rules/jsx-closing-bracket-location
|
|
3752
3571
|
*/
|
|
3753
3572
|
'style/jsx-closing-bracket-location'?: Linter.RuleEntry<StyleJsxClosingBracketLocation>;
|
|
3754
3573
|
/**
|
|
3755
3574
|
* Enforce closing tag location for multiline JSX
|
|
3756
|
-
* @see https://eslint.style/rules/jsx
|
|
3575
|
+
* @see https://eslint.style/rules/jsx-closing-tag-location
|
|
3757
3576
|
*/
|
|
3758
3577
|
'style/jsx-closing-tag-location'?: Linter.RuleEntry<StyleJsxClosingTagLocation>;
|
|
3759
3578
|
/**
|
|
3760
3579
|
* Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes
|
|
3761
|
-
* @see https://eslint.style/rules/jsx
|
|
3580
|
+
* @see https://eslint.style/rules/jsx-curly-brace-presence
|
|
3762
3581
|
*/
|
|
3763
3582
|
'style/jsx-curly-brace-presence'?: Linter.RuleEntry<StyleJsxCurlyBracePresence>;
|
|
3764
3583
|
/**
|
|
3765
3584
|
* Enforce consistent linebreaks in curly braces in JSX attributes and expressions
|
|
3766
|
-
* @see https://eslint.style/rules/jsx
|
|
3585
|
+
* @see https://eslint.style/rules/jsx-curly-newline
|
|
3767
3586
|
*/
|
|
3768
3587
|
'style/jsx-curly-newline'?: Linter.RuleEntry<StyleJsxCurlyNewline>;
|
|
3769
3588
|
/**
|
|
3770
3589
|
* Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
|
|
3771
|
-
* @see https://eslint.style/rules/jsx
|
|
3590
|
+
* @see https://eslint.style/rules/jsx-curly-spacing
|
|
3772
3591
|
*/
|
|
3773
3592
|
'style/jsx-curly-spacing'?: Linter.RuleEntry<StyleJsxCurlySpacing>;
|
|
3774
3593
|
/**
|
|
3775
3594
|
* Enforce or disallow spaces around equal signs in JSX attributes
|
|
3776
|
-
* @see https://eslint.style/rules/jsx
|
|
3595
|
+
* @see https://eslint.style/rules/jsx-equals-spacing
|
|
3777
3596
|
*/
|
|
3778
3597
|
'style/jsx-equals-spacing'?: Linter.RuleEntry<StyleJsxEqualsSpacing>;
|
|
3779
3598
|
/**
|
|
3780
3599
|
* Enforce proper position of the first property in JSX
|
|
3781
|
-
* @see https://eslint.style/rules/jsx
|
|
3600
|
+
* @see https://eslint.style/rules/jsx-first-prop-new-line
|
|
3782
3601
|
*/
|
|
3783
3602
|
'style/jsx-first-prop-new-line'?: Linter.RuleEntry<StyleJsxFirstPropNewLine>;
|
|
3784
3603
|
/**
|
|
3785
3604
|
* Enforce line breaks before and after JSX elements when they are used as arguments to a function.
|
|
3786
|
-
* @see https://eslint.style/rules/jsx
|
|
3605
|
+
* @see https://eslint.style/rules/jsx-function-call-newline
|
|
3787
3606
|
*/
|
|
3788
3607
|
'style/jsx-function-call-newline'?: Linter.RuleEntry<StyleJsxFunctionCallNewline>;
|
|
3789
3608
|
/**
|
|
3790
3609
|
* Enforce JSX indentation. Deprecated, use `indent` rule instead.
|
|
3791
|
-
* @see https://eslint.style/rules/jsx
|
|
3610
|
+
* @see https://eslint.style/rules/jsx-indent
|
|
3792
3611
|
* @deprecated
|
|
3793
3612
|
*/
|
|
3794
3613
|
'style/jsx-indent'?: Linter.RuleEntry<StyleJsxIndent>;
|
|
3795
3614
|
/**
|
|
3796
3615
|
* Enforce props indentation in JSX
|
|
3797
|
-
* @see https://eslint.style/rules/jsx
|
|
3616
|
+
* @see https://eslint.style/rules/jsx-indent-props
|
|
3798
3617
|
*/
|
|
3799
3618
|
'style/jsx-indent-props'?: Linter.RuleEntry<StyleJsxIndentProps>;
|
|
3800
3619
|
/**
|
|
3801
3620
|
* Enforce maximum of props on a single line in JSX
|
|
3802
|
-
* @see https://eslint.style/rules/jsx
|
|
3621
|
+
* @see https://eslint.style/rules/jsx-max-props-per-line
|
|
3803
3622
|
*/
|
|
3804
3623
|
'style/jsx-max-props-per-line'?: Linter.RuleEntry<StyleJsxMaxPropsPerLine>;
|
|
3805
3624
|
/**
|
|
3806
3625
|
* Require or prevent a new line after jsx elements and expressions.
|
|
3807
|
-
* @see https://eslint.style/rules/jsx
|
|
3626
|
+
* @see https://eslint.style/rules/jsx-newline
|
|
3808
3627
|
*/
|
|
3809
3628
|
'style/jsx-newline'?: Linter.RuleEntry<StyleJsxNewline>;
|
|
3810
3629
|
/**
|
|
3811
3630
|
* Require one JSX element per line
|
|
3812
|
-
* @see https://eslint.style/rules/jsx
|
|
3631
|
+
* @see https://eslint.style/rules/jsx-one-expression-per-line
|
|
3813
3632
|
*/
|
|
3814
3633
|
'style/jsx-one-expression-per-line'?: Linter.RuleEntry<StyleJsxOneExpressionPerLine>;
|
|
3815
3634
|
/**
|
|
3816
3635
|
* Enforce PascalCase for user-defined JSX components
|
|
3817
|
-
* @see https://eslint.style/rules/jsx
|
|
3636
|
+
* @see https://eslint.style/rules/jsx-pascal-case
|
|
3818
3637
|
*/
|
|
3819
3638
|
'style/jsx-pascal-case'?: Linter.RuleEntry<StyleJsxPascalCase>;
|
|
3820
3639
|
/**
|
|
3821
3640
|
* Disallow multiple spaces between inline JSX props
|
|
3822
|
-
* @see https://eslint.style/rules/jsx
|
|
3641
|
+
* @see https://eslint.style/rules/jsx-props-no-multi-spaces
|
|
3823
3642
|
*/
|
|
3824
3643
|
'style/jsx-props-no-multi-spaces'?: Linter.RuleEntry<[]>;
|
|
3825
3644
|
/**
|
|
3826
3645
|
* Enforce the consistent use of either double or single quotes in JSX attributes
|
|
3827
|
-
* @see https://eslint.style/rules/
|
|
3646
|
+
* @see https://eslint.style/rules/jsx-quotes
|
|
3828
3647
|
*/
|
|
3829
3648
|
'style/jsx-quotes'?: Linter.RuleEntry<StyleJsxQuotes>;
|
|
3830
3649
|
/**
|
|
3831
3650
|
* Disallow extra closing tags for components without children
|
|
3832
|
-
* @see https://eslint.style/rules/jsx
|
|
3651
|
+
* @see https://eslint.style/rules/jsx-self-closing-comp
|
|
3833
3652
|
*/
|
|
3834
3653
|
'style/jsx-self-closing-comp'?: Linter.RuleEntry<StyleJsxSelfClosingComp>;
|
|
3835
3654
|
/**
|
|
3836
3655
|
* Enforce props alphabetical sorting
|
|
3837
|
-
* @see https://eslint.style/rules/jsx
|
|
3656
|
+
* @see https://eslint.style/rules/jsx-sort-props
|
|
3838
3657
|
*/
|
|
3839
3658
|
'style/jsx-sort-props'?: Linter.RuleEntry<StyleJsxSortProps>;
|
|
3840
3659
|
/**
|
|
3841
3660
|
* Enforce whitespace in and around the JSX opening and closing brackets
|
|
3842
|
-
* @see https://eslint.style/rules/jsx
|
|
3661
|
+
* @see https://eslint.style/rules/jsx-tag-spacing
|
|
3843
3662
|
*/
|
|
3844
3663
|
'style/jsx-tag-spacing'?: Linter.RuleEntry<StyleJsxTagSpacing>;
|
|
3845
3664
|
/**
|
|
3846
3665
|
* Disallow missing parentheses around multiline JSX
|
|
3847
|
-
* @see https://eslint.style/rules/jsx
|
|
3666
|
+
* @see https://eslint.style/rules/jsx-wrap-multilines
|
|
3848
3667
|
*/
|
|
3849
3668
|
'style/jsx-wrap-multilines'?: Linter.RuleEntry<StyleJsxWrapMultilines>;
|
|
3850
3669
|
/**
|
|
3851
3670
|
* Enforce consistent spacing between property names and type annotations in types and interfaces
|
|
3852
|
-
* @see https://eslint.style/rules/
|
|
3671
|
+
* @see https://eslint.style/rules/key-spacing
|
|
3853
3672
|
*/
|
|
3854
3673
|
'style/key-spacing'?: Linter.RuleEntry<StyleKeySpacing>;
|
|
3855
3674
|
/**
|
|
3856
3675
|
* Enforce consistent spacing before and after keywords
|
|
3857
|
-
* @see https://eslint.style/rules/
|
|
3676
|
+
* @see https://eslint.style/rules/keyword-spacing
|
|
3858
3677
|
*/
|
|
3859
3678
|
'style/keyword-spacing'?: Linter.RuleEntry<StyleKeywordSpacing>;
|
|
3860
3679
|
/**
|
|
3861
3680
|
* Enforce position of line comments
|
|
3862
|
-
* @see https://eslint.style/rules/
|
|
3681
|
+
* @see https://eslint.style/rules/line-comment-position
|
|
3863
3682
|
*/
|
|
3864
3683
|
'style/line-comment-position'?: Linter.RuleEntry<StyleLineCommentPosition>;
|
|
3865
3684
|
/**
|
|
3866
3685
|
* Enforce consistent linebreak style
|
|
3867
|
-
* @see https://eslint.style/rules/
|
|
3686
|
+
* @see https://eslint.style/rules/linebreak-style
|
|
3868
3687
|
*/
|
|
3869
3688
|
'style/linebreak-style'?: Linter.RuleEntry<StyleLinebreakStyle>;
|
|
3870
3689
|
/**
|
|
3871
3690
|
* Require empty lines around comments
|
|
3872
|
-
* @see https://eslint.style/rules/
|
|
3691
|
+
* @see https://eslint.style/rules/lines-around-comment
|
|
3873
3692
|
*/
|
|
3874
3693
|
'style/lines-around-comment'?: Linter.RuleEntry<StyleLinesAroundComment>;
|
|
3875
3694
|
/**
|
|
3876
3695
|
* Require or disallow an empty line between class members
|
|
3877
|
-
* @see https://eslint.style/rules/
|
|
3696
|
+
* @see https://eslint.style/rules/lines-between-class-members
|
|
3878
3697
|
*/
|
|
3879
3698
|
'style/lines-between-class-members'?: Linter.RuleEntry<StyleLinesBetweenClassMembers>;
|
|
3880
3699
|
/**
|
|
3881
3700
|
* Enforce a maximum line length
|
|
3882
|
-
* @see https://eslint.style/rules/
|
|
3701
|
+
* @see https://eslint.style/rules/max-len
|
|
3883
3702
|
*/
|
|
3884
3703
|
'style/max-len'?: Linter.RuleEntry<StyleMaxLen>;
|
|
3885
3704
|
/**
|
|
3886
3705
|
* Enforce a maximum number of statements allowed per line
|
|
3887
|
-
* @see https://eslint.style/rules/
|
|
3706
|
+
* @see https://eslint.style/rules/max-statements-per-line
|
|
3888
3707
|
*/
|
|
3889
3708
|
'style/max-statements-per-line'?: Linter.RuleEntry<StyleMaxStatementsPerLine>;
|
|
3890
3709
|
/**
|
|
3891
3710
|
* Require a specific member delimiter style for interfaces and type literals
|
|
3892
|
-
* @see https://eslint.style/rules/
|
|
3711
|
+
* @see https://eslint.style/rules/member-delimiter-style
|
|
3893
3712
|
*/
|
|
3894
3713
|
'style/member-delimiter-style'?: Linter.RuleEntry<StyleMemberDelimiterStyle>;
|
|
3895
3714
|
/**
|
|
3896
3715
|
* Enforce a particular style for multiline comments
|
|
3897
|
-
* @see https://eslint.style/rules/
|
|
3716
|
+
* @see https://eslint.style/rules/multiline-comment-style
|
|
3898
3717
|
*/
|
|
3899
3718
|
'style/multiline-comment-style'?: Linter.RuleEntry<StyleMultilineCommentStyle>;
|
|
3900
3719
|
/**
|
|
3901
3720
|
* Enforce newlines between operands of ternary expressions
|
|
3902
|
-
* @see https://eslint.style/rules/
|
|
3721
|
+
* @see https://eslint.style/rules/multiline-ternary
|
|
3903
3722
|
*/
|
|
3904
3723
|
'style/multiline-ternary'?: Linter.RuleEntry<StyleMultilineTernary>;
|
|
3905
3724
|
/**
|
|
3906
3725
|
* Enforce or disallow parentheses when invoking a constructor with no arguments
|
|
3907
|
-
* @see https://eslint.style/rules/
|
|
3726
|
+
* @see https://eslint.style/rules/new-parens
|
|
3908
3727
|
*/
|
|
3909
3728
|
'style/new-parens'?: Linter.RuleEntry<StyleNewParens>;
|
|
3910
3729
|
/**
|
|
3911
3730
|
* Require a newline after each call in a method chain
|
|
3912
|
-
* @see https://eslint.style/rules/
|
|
3731
|
+
* @see https://eslint.style/rules/newline-per-chained-call
|
|
3913
3732
|
*/
|
|
3914
3733
|
'style/newline-per-chained-call'?: Linter.RuleEntry<StyleNewlinePerChainedCall>;
|
|
3915
3734
|
/**
|
|
3916
3735
|
* Disallow arrow functions where they could be confused with comparisons
|
|
3917
|
-
* @see https://eslint.style/rules/
|
|
3736
|
+
* @see https://eslint.style/rules/no-confusing-arrow
|
|
3918
3737
|
*/
|
|
3919
3738
|
'style/no-confusing-arrow'?: Linter.RuleEntry<StyleNoConfusingArrow>;
|
|
3920
3739
|
/**
|
|
3921
3740
|
* Disallow unnecessary parentheses
|
|
3922
|
-
* @see https://eslint.style/rules/
|
|
3741
|
+
* @see https://eslint.style/rules/no-extra-parens
|
|
3923
3742
|
*/
|
|
3924
3743
|
'style/no-extra-parens'?: Linter.RuleEntry<StyleNoExtraParens>;
|
|
3925
3744
|
/**
|
|
3926
3745
|
* Disallow unnecessary semicolons
|
|
3927
|
-
* @see https://eslint.style/rules/
|
|
3746
|
+
* @see https://eslint.style/rules/no-extra-semi
|
|
3928
3747
|
*/
|
|
3929
3748
|
'style/no-extra-semi'?: Linter.RuleEntry<[]>;
|
|
3930
3749
|
/**
|
|
3931
3750
|
* Disallow leading or trailing decimal points in numeric literals
|
|
3932
|
-
* @see https://eslint.style/rules/
|
|
3751
|
+
* @see https://eslint.style/rules/no-floating-decimal
|
|
3933
3752
|
*/
|
|
3934
3753
|
'style/no-floating-decimal'?: Linter.RuleEntry<[]>;
|
|
3935
3754
|
/**
|
|
3936
3755
|
* Disallow mixed binary operators
|
|
3937
|
-
* @see https://eslint.style/rules/
|
|
3756
|
+
* @see https://eslint.style/rules/no-mixed-operators
|
|
3938
3757
|
*/
|
|
3939
3758
|
'style/no-mixed-operators'?: Linter.RuleEntry<StyleNoMixedOperators>;
|
|
3940
3759
|
/**
|
|
3941
3760
|
* Disallow mixed spaces and tabs for indentation
|
|
3942
|
-
* @see https://eslint.style/rules/
|
|
3761
|
+
* @see https://eslint.style/rules/no-mixed-spaces-and-tabs
|
|
3943
3762
|
*/
|
|
3944
3763
|
'style/no-mixed-spaces-and-tabs'?: Linter.RuleEntry<StyleNoMixedSpacesAndTabs>;
|
|
3945
3764
|
/**
|
|
3946
3765
|
* Disallow multiple spaces
|
|
3947
|
-
* @see https://eslint.style/rules/
|
|
3766
|
+
* @see https://eslint.style/rules/no-multi-spaces
|
|
3948
3767
|
*/
|
|
3949
3768
|
'style/no-multi-spaces'?: Linter.RuleEntry<StyleNoMultiSpaces>;
|
|
3950
3769
|
/**
|
|
3951
3770
|
* Disallow multiple empty lines
|
|
3952
|
-
* @see https://eslint.style/rules/
|
|
3771
|
+
* @see https://eslint.style/rules/no-multiple-empty-lines
|
|
3953
3772
|
*/
|
|
3954
3773
|
'style/no-multiple-empty-lines'?: Linter.RuleEntry<StyleNoMultipleEmptyLines>;
|
|
3955
3774
|
/**
|
|
3956
3775
|
* Disallow all tabs
|
|
3957
|
-
* @see https://eslint.style/rules/
|
|
3776
|
+
* @see https://eslint.style/rules/no-tabs
|
|
3958
3777
|
*/
|
|
3959
3778
|
'style/no-tabs'?: Linter.RuleEntry<StyleNoTabs>;
|
|
3960
3779
|
/**
|
|
3961
3780
|
* Disallow trailing whitespace at the end of lines
|
|
3962
|
-
* @see https://eslint.style/rules/
|
|
3781
|
+
* @see https://eslint.style/rules/no-trailing-spaces
|
|
3963
3782
|
*/
|
|
3964
3783
|
'style/no-trailing-spaces'?: Linter.RuleEntry<StyleNoTrailingSpaces>;
|
|
3965
3784
|
/**
|
|
3966
3785
|
* Disallow whitespace before properties
|
|
3967
|
-
* @see https://eslint.style/rules/
|
|
3786
|
+
* @see https://eslint.style/rules/no-whitespace-before-property
|
|
3968
3787
|
*/
|
|
3969
3788
|
'style/no-whitespace-before-property'?: Linter.RuleEntry<[]>;
|
|
3970
3789
|
/**
|
|
3971
3790
|
* Enforce the location of single-line statements
|
|
3972
|
-
* @see https://eslint.style/rules/
|
|
3791
|
+
* @see https://eslint.style/rules/nonblock-statement-body-position
|
|
3973
3792
|
*/
|
|
3974
3793
|
'style/nonblock-statement-body-position'?: Linter.RuleEntry<StyleNonblockStatementBodyPosition>;
|
|
3975
3794
|
/**
|
|
3976
3795
|
* Enforce consistent line breaks after opening and before closing braces
|
|
3977
|
-
* @see https://eslint.style/rules/
|
|
3796
|
+
* @see https://eslint.style/rules/object-curly-newline
|
|
3978
3797
|
*/
|
|
3979
3798
|
'style/object-curly-newline'?: Linter.RuleEntry<StyleObjectCurlyNewline>;
|
|
3980
3799
|
/**
|
|
3981
3800
|
* Enforce consistent spacing inside braces
|
|
3982
|
-
* @see https://eslint.style/rules/
|
|
3801
|
+
* @see https://eslint.style/rules/object-curly-spacing
|
|
3983
3802
|
*/
|
|
3984
3803
|
'style/object-curly-spacing'?: Linter.RuleEntry<StyleObjectCurlySpacing>;
|
|
3985
3804
|
/**
|
|
3986
3805
|
* Enforce placing object properties on separate lines
|
|
3987
|
-
* @see https://eslint.style/rules/
|
|
3806
|
+
* @see https://eslint.style/rules/object-property-newline
|
|
3988
3807
|
*/
|
|
3989
3808
|
'style/object-property-newline'?: Linter.RuleEntry<StyleObjectPropertyNewline>;
|
|
3990
3809
|
/**
|
|
3991
3810
|
* Require or disallow newlines around variable declarations
|
|
3992
|
-
* @see https://eslint.style/rules/
|
|
3811
|
+
* @see https://eslint.style/rules/one-var-declaration-per-line
|
|
3993
3812
|
*/
|
|
3994
3813
|
'style/one-var-declaration-per-line'?: Linter.RuleEntry<StyleOneVarDeclarationPerLine>;
|
|
3995
3814
|
/**
|
|
3996
3815
|
* Enforce consistent linebreak style for operators
|
|
3997
|
-
* @see https://eslint.style/rules/
|
|
3816
|
+
* @see https://eslint.style/rules/operator-linebreak
|
|
3998
3817
|
*/
|
|
3999
3818
|
'style/operator-linebreak'?: Linter.RuleEntry<StyleOperatorLinebreak>;
|
|
4000
3819
|
/**
|
|
4001
3820
|
* Require or disallow padding within blocks
|
|
4002
|
-
* @see https://eslint.style/rules/
|
|
3821
|
+
* @see https://eslint.style/rules/padded-blocks
|
|
4003
3822
|
*/
|
|
4004
3823
|
'style/padded-blocks'?: Linter.RuleEntry<StylePaddedBlocks>;
|
|
4005
3824
|
/**
|
|
4006
3825
|
* Require or disallow padding lines between statements
|
|
4007
|
-
* @see https://eslint.style/rules/
|
|
3826
|
+
* @see https://eslint.style/rules/padding-line-between-statements
|
|
4008
3827
|
*/
|
|
4009
3828
|
'style/padding-line-between-statements'?: Linter.RuleEntry<StylePaddingLineBetweenStatements>;
|
|
4010
3829
|
/**
|
|
4011
3830
|
* Require quotes around object literal, type literal, interfaces and enums property names
|
|
4012
|
-
* @see https://eslint.style/rules/
|
|
3831
|
+
* @see https://eslint.style/rules/quote-props
|
|
4013
3832
|
*/
|
|
4014
3833
|
'style/quote-props'?: Linter.RuleEntry<StyleQuoteProps>;
|
|
4015
3834
|
/**
|
|
4016
3835
|
* Enforce the consistent use of either backticks, double, or single quotes
|
|
4017
|
-
* @see https://eslint.style/rules/
|
|
3836
|
+
* @see https://eslint.style/rules/quotes
|
|
4018
3837
|
*/
|
|
4019
3838
|
'style/quotes'?: Linter.RuleEntry<StyleQuotes>;
|
|
4020
3839
|
/**
|
|
4021
3840
|
* Enforce spacing between rest and spread operators and their expressions
|
|
4022
|
-
* @see https://eslint.style/rules/
|
|
3841
|
+
* @see https://eslint.style/rules/rest-spread-spacing
|
|
4023
3842
|
*/
|
|
4024
3843
|
'style/rest-spread-spacing'?: Linter.RuleEntry<StyleRestSpreadSpacing>;
|
|
4025
3844
|
/**
|
|
4026
3845
|
* Require or disallow semicolons instead of ASI
|
|
4027
|
-
* @see https://eslint.style/rules/
|
|
3846
|
+
* @see https://eslint.style/rules/semi
|
|
4028
3847
|
*/
|
|
4029
3848
|
'style/semi'?: Linter.RuleEntry<StyleSemi>;
|
|
4030
3849
|
/**
|
|
4031
3850
|
* Enforce consistent spacing before and after semicolons
|
|
4032
|
-
* @see https://eslint.style/rules/
|
|
3851
|
+
* @see https://eslint.style/rules/semi-spacing
|
|
4033
3852
|
*/
|
|
4034
3853
|
'style/semi-spacing'?: Linter.RuleEntry<StyleSemiSpacing>;
|
|
4035
3854
|
/**
|
|
4036
3855
|
* Enforce location of semicolons
|
|
4037
|
-
* @see https://eslint.style/rules/
|
|
3856
|
+
* @see https://eslint.style/rules/semi-style
|
|
4038
3857
|
*/
|
|
4039
3858
|
'style/semi-style'?: Linter.RuleEntry<StyleSemiStyle>;
|
|
4040
3859
|
/**
|
|
4041
3860
|
* Enforce consistent spacing before blocks
|
|
4042
|
-
* @see https://eslint.style/rules/
|
|
3861
|
+
* @see https://eslint.style/rules/space-before-blocks
|
|
4043
3862
|
*/
|
|
4044
3863
|
'style/space-before-blocks'?: Linter.RuleEntry<StyleSpaceBeforeBlocks>;
|
|
4045
3864
|
/**
|
|
4046
3865
|
* Enforce consistent spacing before function parenthesis
|
|
4047
|
-
* @see https://eslint.style/rules/
|
|
3866
|
+
* @see https://eslint.style/rules/space-before-function-paren
|
|
4048
3867
|
*/
|
|
4049
3868
|
'style/space-before-function-paren'?: Linter.RuleEntry<StyleSpaceBeforeFunctionParen>;
|
|
4050
3869
|
/**
|
|
4051
3870
|
* Enforce consistent spacing inside parentheses
|
|
4052
|
-
* @see https://eslint.style/rules/
|
|
3871
|
+
* @see https://eslint.style/rules/space-in-parens
|
|
4053
3872
|
*/
|
|
4054
3873
|
'style/space-in-parens'?: Linter.RuleEntry<StyleSpaceInParens>;
|
|
4055
3874
|
/**
|
|
4056
3875
|
* Require spacing around infix operators
|
|
4057
|
-
* @see https://eslint.style/rules/
|
|
3876
|
+
* @see https://eslint.style/rules/space-infix-ops
|
|
4058
3877
|
*/
|
|
4059
3878
|
'style/space-infix-ops'?: Linter.RuleEntry<StyleSpaceInfixOps>;
|
|
4060
3879
|
/**
|
|
4061
3880
|
* Enforce consistent spacing before or after unary operators
|
|
4062
|
-
* @see https://eslint.style/rules/
|
|
3881
|
+
* @see https://eslint.style/rules/space-unary-ops
|
|
4063
3882
|
*/
|
|
4064
3883
|
'style/space-unary-ops'?: Linter.RuleEntry<StyleSpaceUnaryOps>;
|
|
4065
3884
|
/**
|
|
4066
3885
|
* Enforce consistent spacing after the `//` or `/*` in a comment
|
|
4067
|
-
* @see https://eslint.style/rules/
|
|
3886
|
+
* @see https://eslint.style/rules/spaced-comment
|
|
4068
3887
|
*/
|
|
4069
3888
|
'style/spaced-comment'?: Linter.RuleEntry<StyleSpacedComment>;
|
|
4070
3889
|
/**
|
|
4071
3890
|
* Enforce spacing around colons of switch statements
|
|
4072
|
-
* @see https://eslint.style/rules/
|
|
3891
|
+
* @see https://eslint.style/rules/switch-colon-spacing
|
|
4073
3892
|
*/
|
|
4074
3893
|
'style/switch-colon-spacing'?: Linter.RuleEntry<StyleSwitchColonSpacing>;
|
|
4075
3894
|
/**
|
|
4076
3895
|
* Require or disallow spacing around embedded expressions of template strings
|
|
4077
|
-
* @see https://eslint.style/rules/
|
|
3896
|
+
* @see https://eslint.style/rules/template-curly-spacing
|
|
4078
3897
|
*/
|
|
4079
3898
|
'style/template-curly-spacing'?: Linter.RuleEntry<StyleTemplateCurlySpacing>;
|
|
4080
3899
|
/**
|
|
4081
3900
|
* Require or disallow spacing between template tags and their literals
|
|
4082
|
-
* @see https://eslint.style/rules/
|
|
3901
|
+
* @see https://eslint.style/rules/template-tag-spacing
|
|
4083
3902
|
*/
|
|
4084
3903
|
'style/template-tag-spacing'?: Linter.RuleEntry<StyleTemplateTagSpacing>;
|
|
4085
3904
|
/**
|
|
4086
3905
|
* Require consistent spacing around type annotations
|
|
4087
|
-
* @see https://eslint.style/rules/
|
|
3906
|
+
* @see https://eslint.style/rules/type-annotation-spacing
|
|
4088
3907
|
*/
|
|
4089
3908
|
'style/type-annotation-spacing'?: Linter.RuleEntry<StyleTypeAnnotationSpacing>;
|
|
4090
3909
|
/**
|
|
4091
3910
|
* Enforces consistent spacing inside TypeScript type generics
|
|
4092
|
-
* @see https://eslint.style/rules/
|
|
3911
|
+
* @see https://eslint.style/rules/type-generic-spacing
|
|
4093
3912
|
*/
|
|
4094
3913
|
'style/type-generic-spacing'?: Linter.RuleEntry<[]>;
|
|
4095
3914
|
/**
|
|
4096
3915
|
* Expect space before the type declaration in the named tuple
|
|
4097
|
-
* @see https://eslint.style/rules/
|
|
3916
|
+
* @see https://eslint.style/rules/type-named-tuple-spacing
|
|
4098
3917
|
*/
|
|
4099
3918
|
'style/type-named-tuple-spacing'?: Linter.RuleEntry<[]>;
|
|
4100
3919
|
/**
|
|
4101
3920
|
* Require parentheses around immediate `function` invocations
|
|
4102
|
-
* @see https://eslint.style/rules/
|
|
3921
|
+
* @see https://eslint.style/rules/wrap-iife
|
|
4103
3922
|
*/
|
|
4104
3923
|
'style/wrap-iife'?: Linter.RuleEntry<StyleWrapIife>;
|
|
4105
3924
|
/**
|
|
4106
3925
|
* Require parenthesis around regex literals
|
|
4107
|
-
* @see https://eslint.style/rules/
|
|
3926
|
+
* @see https://eslint.style/rules/wrap-regex
|
|
4108
3927
|
*/
|
|
4109
3928
|
'style/wrap-regex'?: Linter.RuleEntry<[]>;
|
|
4110
3929
|
/**
|
|
4111
3930
|
* Require or disallow spacing around the `*` in `yield*` expressions
|
|
4112
|
-
* @see https://eslint.style/rules/
|
|
3931
|
+
* @see https://eslint.style/rules/yield-star-spacing
|
|
4113
3932
|
*/
|
|
4114
3933
|
'style/yield-star-spacing'?: Linter.RuleEntry<StyleYieldStarSpacing>;
|
|
4115
3934
|
/**
|
|
@@ -4145,6 +3964,11 @@ interface RuleOptions {
|
|
|
4145
3964
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-it.md
|
|
4146
3965
|
*/
|
|
4147
3966
|
'test/consistent-test-it'?: Linter.RuleEntry<TestConsistentTestIt>;
|
|
3967
|
+
/**
|
|
3968
|
+
* enforce using vitest or vi but not both
|
|
3969
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-vitest-vi.md
|
|
3970
|
+
*/
|
|
3971
|
+
'test/consistent-vitest-vi'?: Linter.RuleEntry<TestConsistentVitestVi>;
|
|
4148
3972
|
/**
|
|
4149
3973
|
* enforce having expectation in test body
|
|
4150
3974
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
|
|
@@ -4221,6 +4045,11 @@ interface RuleOptions {
|
|
|
4221
4045
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-import-node-test.md
|
|
4222
4046
|
*/
|
|
4223
4047
|
'test/no-import-node-test'?: Linter.RuleEntry<[]>;
|
|
4048
|
+
/**
|
|
4049
|
+
* disallow importing Vitest globals
|
|
4050
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-importing-vitest-globals.md
|
|
4051
|
+
*/
|
|
4052
|
+
'test/no-importing-vitest-globals'?: Linter.RuleEntry<[]>;
|
|
4224
4053
|
/**
|
|
4225
4054
|
* disallow string interpolation in snapshots
|
|
4226
4055
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-interpolation-in-snapshots.md
|
|
@@ -4257,7 +4086,7 @@ interface RuleOptions {
|
|
|
4257
4086
|
*/
|
|
4258
4087
|
'test/no-standalone-expect'?: Linter.RuleEntry<TestNoStandaloneExpect>;
|
|
4259
4088
|
/**
|
|
4260
|
-
*
|
|
4089
|
+
* disallow using the `f` and `x` prefixes in favour of `.only` and `.skip`
|
|
4261
4090
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md
|
|
4262
4091
|
*/
|
|
4263
4092
|
'test/no-test-prefixes'?: Linter.RuleEntry<[]>;
|
|
@@ -4306,6 +4135,16 @@ interface RuleOptions {
|
|
|
4306
4135
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
|
|
4307
4136
|
*/
|
|
4308
4137
|
'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>;
|
|
4138
|
+
/**
|
|
4139
|
+
* enforce using `toBeCalledOnce()` or `toHaveBeenCalledOnce()`
|
|
4140
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-once.md
|
|
4141
|
+
*/
|
|
4142
|
+
'test/prefer-called-once'?: Linter.RuleEntry<[]>;
|
|
4143
|
+
/**
|
|
4144
|
+
* enforce using `toBeCalledTimes(1)` or `toHaveBeenCalledTimes(1)`
|
|
4145
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-times.md
|
|
4146
|
+
*/
|
|
4147
|
+
'test/prefer-called-times'?: Linter.RuleEntry<[]>;
|
|
4309
4148
|
/**
|
|
4310
4149
|
* enforce using `toBeCalledWith()` or `toHaveBeenCalledWith()`
|
|
4311
4150
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-with.md
|
|
@@ -4351,6 +4190,11 @@ interface RuleOptions {
|
|
|
4351
4190
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
|
|
4352
4191
|
*/
|
|
4353
4192
|
'test/prefer-hooks-on-top'?: Linter.RuleEntry<[]>;
|
|
4193
|
+
/**
|
|
4194
|
+
* enforce importing Vitest globals
|
|
4195
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
|
|
4196
|
+
*/
|
|
4197
|
+
'test/prefer-importing-vitest-globals'?: Linter.RuleEntry<[]>;
|
|
4354
4198
|
/**
|
|
4355
4199
|
* enforce lowercase titles
|
|
4356
4200
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-lowercase-title.md
|
|
@@ -4466,6 +4310,11 @@ interface RuleOptions {
|
|
|
4466
4310
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
|
|
4467
4311
|
*/
|
|
4468
4312
|
'test/valid-title'?: Linter.RuleEntry<TestValidTitle>;
|
|
4313
|
+
/**
|
|
4314
|
+
* disallow `.todo` usage
|
|
4315
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/warn-todo.md
|
|
4316
|
+
*/
|
|
4317
|
+
'test/warn-todo'?: Linter.RuleEntry<[]>;
|
|
4469
4318
|
/**
|
|
4470
4319
|
* enforce linebreaks after opening and before closing array brackets
|
|
4471
4320
|
* @see https://ota-meshi.github.io/eslint-plugin-toml/rules/array-bracket-newline.html
|
|
@@ -6563,7 +6412,7 @@ interface RuleOptions {
|
|
|
6563
6412
|
*/
|
|
6564
6413
|
'vue/no-restricted-custom-event'?: Linter.RuleEntry<VueNoRestrictedCustomEvent>;
|
|
6565
6414
|
/**
|
|
6566
|
-
* disallow specific
|
|
6415
|
+
* disallow specific elements
|
|
6567
6416
|
* @see https://eslint.vuejs.org/rules/no-restricted-html-elements.html
|
|
6568
6417
|
*/
|
|
6569
6418
|
'vue/no-restricted-html-elements'?: Linter.RuleEntry<VueNoRestrictedHtmlElements>;
|
|
@@ -7630,246 +7479,19 @@ type IdMatch = [] | [string] | [string, {
|
|
|
7630
7479
|
// ----- implicit-arrow-linebreak -----
|
|
7631
7480
|
type ImplicitArrowLinebreak = [] | [("beside" | "below")];
|
|
7632
7481
|
// ----- import/consistent-type-specifier-style -----
|
|
7633
|
-
type ImportConsistentTypeSpecifierStyle = [] | [("
|
|
7634
|
-
// ----- import/dynamic-import-chunkname -----
|
|
7635
|
-
type ImportDynamicImportChunkname = [] | [{
|
|
7636
|
-
importFunctions?: string[];
|
|
7637
|
-
allowEmpty?: boolean;
|
|
7638
|
-
webpackChunknameFormat?: string;
|
|
7639
|
-
[k: string]: unknown | undefined;
|
|
7640
|
-
}];
|
|
7641
|
-
// ----- import/extensions -----
|
|
7642
|
-
type ImportExtensions = ([] | [("always" | "ignorePackages" | "never")] | [] | [("always" | "ignorePackages" | "never")] | [("always" | "ignorePackages" | "never"), {
|
|
7643
|
-
pattern?: {
|
|
7644
|
-
[k: string]: ("always" | "ignorePackages" | "never");
|
|
7645
|
-
};
|
|
7646
|
-
ignorePackages?: boolean;
|
|
7647
|
-
checkTypeImports?: boolean;
|
|
7648
|
-
pathGroupOverrides?: {
|
|
7649
|
-
pattern: string;
|
|
7650
|
-
patternOptions?: {
|
|
7651
|
-
[k: string]: unknown | undefined;
|
|
7652
|
-
};
|
|
7653
|
-
action: ("enforce" | "ignore");
|
|
7654
|
-
}[];
|
|
7655
|
-
fix?: boolean;
|
|
7656
|
-
[k: string]: unknown | undefined;
|
|
7657
|
-
}] | [] | [{
|
|
7658
|
-
pattern?: {
|
|
7659
|
-
[k: string]: ("always" | "ignorePackages" | "never");
|
|
7660
|
-
};
|
|
7661
|
-
ignorePackages?: boolean;
|
|
7662
|
-
checkTypeImports?: boolean;
|
|
7663
|
-
pathGroupOverrides?: {
|
|
7664
|
-
pattern: string;
|
|
7665
|
-
patternOptions?: {
|
|
7666
|
-
[k: string]: unknown | undefined;
|
|
7667
|
-
};
|
|
7668
|
-
action: ("enforce" | "ignore");
|
|
7669
|
-
}[];
|
|
7670
|
-
fix?: boolean;
|
|
7671
|
-
[k: string]: unknown | undefined;
|
|
7672
|
-
}] | [] | [("always" | "ignorePackages" | "never")] | [("always" | "ignorePackages" | "never"), {
|
|
7673
|
-
[k: string]: ("always" | "ignorePackages" | "never");
|
|
7674
|
-
}] | [] | [{
|
|
7675
|
-
[k: string]: ("always" | "ignorePackages" | "never");
|
|
7676
|
-
}]);
|
|
7482
|
+
type ImportConsistentTypeSpecifierStyle = [] | [("top-level" | "inline" | "prefer-top-level")];
|
|
7677
7483
|
// ----- import/first -----
|
|
7678
7484
|
type ImportFirst = [] | [("absolute-first" | "disable-absolute-first")];
|
|
7679
|
-
// ----- import/imports-first -----
|
|
7680
|
-
type ImportImportsFirst = [] | [("absolute-first" | "disable-absolute-first")];
|
|
7681
|
-
// ----- import/max-dependencies -----
|
|
7682
|
-
type ImportMaxDependencies = [] | [{
|
|
7683
|
-
max?: number;
|
|
7684
|
-
ignoreTypeImports?: boolean;
|
|
7685
|
-
}];
|
|
7686
|
-
// ----- import/named -----
|
|
7687
|
-
type ImportNamed = [] | [{
|
|
7688
|
-
commonjs?: boolean;
|
|
7689
|
-
}];
|
|
7690
|
-
// ----- import/namespace -----
|
|
7691
|
-
type ImportNamespace = [] | [{
|
|
7692
|
-
allowComputed?: boolean;
|
|
7693
|
-
}];
|
|
7694
7485
|
// ----- import/newline-after-import -----
|
|
7695
7486
|
type ImportNewlineAfterImport = [] | [{
|
|
7696
7487
|
count?: number;
|
|
7697
7488
|
exactCount?: boolean;
|
|
7698
7489
|
considerComments?: boolean;
|
|
7699
7490
|
}];
|
|
7700
|
-
// ----- import/no-absolute-path -----
|
|
7701
|
-
type ImportNoAbsolutePath = [] | [{
|
|
7702
|
-
commonjs?: boolean;
|
|
7703
|
-
amd?: boolean;
|
|
7704
|
-
esmodule?: boolean;
|
|
7705
|
-
ignore?: [string, ...(string)[]];
|
|
7706
|
-
}];
|
|
7707
|
-
// ----- import/no-anonymous-default-export -----
|
|
7708
|
-
type ImportNoAnonymousDefaultExport = [] | [{
|
|
7709
|
-
allowArray?: boolean;
|
|
7710
|
-
allowArrowFunction?: boolean;
|
|
7711
|
-
allowCallExpression?: boolean;
|
|
7712
|
-
allowAnonymousClass?: boolean;
|
|
7713
|
-
allowAnonymousFunction?: boolean;
|
|
7714
|
-
allowLiteral?: boolean;
|
|
7715
|
-
allowObject?: boolean;
|
|
7716
|
-
allowNew?: boolean;
|
|
7717
|
-
}];
|
|
7718
|
-
// ----- import/no-commonjs -----
|
|
7719
|
-
type ImportNoCommonjs = ([] | ["allow-primitive-modules"] | [] | [{
|
|
7720
|
-
allowPrimitiveModules?: boolean;
|
|
7721
|
-
allowRequire?: boolean;
|
|
7722
|
-
allowConditionalRequire?: boolean;
|
|
7723
|
-
}]);
|
|
7724
|
-
// ----- import/no-cycle -----
|
|
7725
|
-
type ImportNoCycle = [] | [{
|
|
7726
|
-
commonjs?: boolean;
|
|
7727
|
-
amd?: boolean;
|
|
7728
|
-
esmodule?: boolean;
|
|
7729
|
-
ignore?: [string, ...(string)[]];
|
|
7730
|
-
maxDepth?: (number | "∞");
|
|
7731
|
-
ignoreExternal?: boolean;
|
|
7732
|
-
allowUnsafeDynamicCyclicDependency?: boolean;
|
|
7733
|
-
}];
|
|
7734
7491
|
// ----- import/no-duplicates -----
|
|
7735
7492
|
type ImportNoDuplicates = [] | [{
|
|
7736
|
-
considerQueryString?: boolean;
|
|
7737
7493
|
"prefer-inline"?: boolean;
|
|
7738
7494
|
}];
|
|
7739
|
-
// ----- import/no-dynamic-require -----
|
|
7740
|
-
type ImportNoDynamicRequire = [] | [{
|
|
7741
|
-
esmodule?: boolean;
|
|
7742
|
-
}];
|
|
7743
|
-
// ----- import/no-extraneous-dependencies -----
|
|
7744
|
-
type ImportNoExtraneousDependencies = [] | [{
|
|
7745
|
-
devDependencies?: (boolean | unknown[]);
|
|
7746
|
-
optionalDependencies?: (boolean | unknown[]);
|
|
7747
|
-
peerDependencies?: (boolean | unknown[]);
|
|
7748
|
-
bundledDependencies?: (boolean | unknown[]);
|
|
7749
|
-
packageDir?: (string | unknown[]);
|
|
7750
|
-
includeInternal?: boolean;
|
|
7751
|
-
includeTypes?: boolean;
|
|
7752
|
-
whitelist?: unknown[];
|
|
7753
|
-
}];
|
|
7754
|
-
// ----- import/no-import-module-exports -----
|
|
7755
|
-
type ImportNoImportModuleExports = [] | [{
|
|
7756
|
-
exceptions?: unknown[];
|
|
7757
|
-
}];
|
|
7758
|
-
// ----- import/no-internal-modules -----
|
|
7759
|
-
type ImportNoInternalModules = [] | [({
|
|
7760
|
-
allow?: string[];
|
|
7761
|
-
} | {
|
|
7762
|
-
forbid?: string[];
|
|
7763
|
-
})];
|
|
7764
|
-
// ----- import/no-namespace -----
|
|
7765
|
-
type ImportNoNamespace = [] | [{
|
|
7766
|
-
ignore?: string[];
|
|
7767
|
-
[k: string]: unknown | undefined;
|
|
7768
|
-
}];
|
|
7769
|
-
// ----- import/no-nodejs-modules -----
|
|
7770
|
-
type ImportNoNodejsModules = [] | [{
|
|
7771
|
-
allow?: string[];
|
|
7772
|
-
}];
|
|
7773
|
-
// ----- import/no-relative-packages -----
|
|
7774
|
-
type ImportNoRelativePackages = [] | [{
|
|
7775
|
-
commonjs?: boolean;
|
|
7776
|
-
amd?: boolean;
|
|
7777
|
-
esmodule?: boolean;
|
|
7778
|
-
ignore?: [string, ...(string)[]];
|
|
7779
|
-
}];
|
|
7780
|
-
// ----- import/no-relative-parent-imports -----
|
|
7781
|
-
type ImportNoRelativeParentImports = [] | [{
|
|
7782
|
-
commonjs?: boolean;
|
|
7783
|
-
amd?: boolean;
|
|
7784
|
-
esmodule?: boolean;
|
|
7785
|
-
ignore?: [string, ...(string)[]];
|
|
7786
|
-
}];
|
|
7787
|
-
// ----- import/no-rename-default -----
|
|
7788
|
-
type ImportNoRenameDefault = [] | [{
|
|
7789
|
-
commonjs?: boolean;
|
|
7790
|
-
preventRenamingBindings?: boolean;
|
|
7791
|
-
}];
|
|
7792
|
-
// ----- import/no-restricted-paths -----
|
|
7793
|
-
type ImportNoRestrictedPaths = [] | [{
|
|
7794
|
-
zones?: [{
|
|
7795
|
-
target?: (string | [string, ...(string)[]]);
|
|
7796
|
-
from?: (string | [string, ...(string)[]]);
|
|
7797
|
-
except?: string[];
|
|
7798
|
-
message?: string;
|
|
7799
|
-
}, ...({
|
|
7800
|
-
target?: (string | [string, ...(string)[]]);
|
|
7801
|
-
from?: (string | [string, ...(string)[]]);
|
|
7802
|
-
except?: string[];
|
|
7803
|
-
message?: string;
|
|
7804
|
-
})[]];
|
|
7805
|
-
basePath?: string;
|
|
7806
|
-
}];
|
|
7807
|
-
// ----- import/no-unassigned-import -----
|
|
7808
|
-
type ImportNoUnassignedImport = [] | [{
|
|
7809
|
-
devDependencies?: (boolean | unknown[]);
|
|
7810
|
-
optionalDependencies?: (boolean | unknown[]);
|
|
7811
|
-
peerDependencies?: (boolean | unknown[]);
|
|
7812
|
-
allow?: string[];
|
|
7813
|
-
}];
|
|
7814
|
-
// ----- import/no-unresolved -----
|
|
7815
|
-
type ImportNoUnresolved = [] | [{
|
|
7816
|
-
commonjs?: boolean;
|
|
7817
|
-
amd?: boolean;
|
|
7818
|
-
esmodule?: boolean;
|
|
7819
|
-
ignore?: [string, ...(string)[]];
|
|
7820
|
-
caseSensitive?: boolean;
|
|
7821
|
-
caseSensitiveStrict?: boolean;
|
|
7822
|
-
}];
|
|
7823
|
-
// ----- import/no-unused-modules -----
|
|
7824
|
-
type ImportNoUnusedModules = [] | [({
|
|
7825
|
-
unusedExports: true;
|
|
7826
|
-
src?: [unknown, ...(unknown)[]];
|
|
7827
|
-
[k: string]: unknown | undefined;
|
|
7828
|
-
} | {
|
|
7829
|
-
missingExports: true;
|
|
7830
|
-
[k: string]: unknown | undefined;
|
|
7831
|
-
})];
|
|
7832
|
-
// ----- import/no-useless-path-segments -----
|
|
7833
|
-
type ImportNoUselessPathSegments = [] | [{
|
|
7834
|
-
commonjs?: boolean;
|
|
7835
|
-
noUselessIndex?: boolean;
|
|
7836
|
-
}];
|
|
7837
|
-
// ----- import/order -----
|
|
7838
|
-
type ImportOrder = [] | [{
|
|
7839
|
-
groups?: unknown[];
|
|
7840
|
-
pathGroupsExcludedImportTypes?: unknown[];
|
|
7841
|
-
distinctGroup?: boolean;
|
|
7842
|
-
pathGroups?: {
|
|
7843
|
-
pattern: string;
|
|
7844
|
-
patternOptions?: {
|
|
7845
|
-
[k: string]: unknown | undefined;
|
|
7846
|
-
};
|
|
7847
|
-
group: ("builtin" | "external" | "internal" | "unknown" | "parent" | "sibling" | "index" | "object" | "type");
|
|
7848
|
-
position?: ("after" | "before");
|
|
7849
|
-
}[];
|
|
7850
|
-
"newlines-between"?: ("ignore" | "always" | "always-and-inside-groups" | "never");
|
|
7851
|
-
"newlines-between-types"?: ("ignore" | "always" | "always-and-inside-groups" | "never");
|
|
7852
|
-
consolidateIslands?: ("inside-groups" | "never");
|
|
7853
|
-
sortTypesGroup?: boolean;
|
|
7854
|
-
named?: (boolean | {
|
|
7855
|
-
enabled?: boolean;
|
|
7856
|
-
import?: boolean;
|
|
7857
|
-
export?: boolean;
|
|
7858
|
-
require?: boolean;
|
|
7859
|
-
cjsExports?: boolean;
|
|
7860
|
-
types?: ("mixed" | "types-first" | "types-last");
|
|
7861
|
-
});
|
|
7862
|
-
alphabetize?: {
|
|
7863
|
-
caseInsensitive?: boolean;
|
|
7864
|
-
order?: ("ignore" | "asc" | "desc");
|
|
7865
|
-
orderImportKind?: ("ignore" | "asc" | "desc");
|
|
7866
|
-
};
|
|
7867
|
-
warnOnUnassignedImports?: boolean;
|
|
7868
|
-
}];
|
|
7869
|
-
// ----- import/prefer-default-export -----
|
|
7870
|
-
type ImportPreferDefaultExport = [] | [{
|
|
7871
|
-
target?: ("single" | "any");
|
|
7872
|
-
}];
|
|
7873
7495
|
// ----- indent -----
|
|
7874
7496
|
type Indent = [] | [("tab" | number)] | [("tab" | number), {
|
|
7875
7497
|
SwitchCase?: number;
|
|
@@ -8055,6 +7677,7 @@ type JsdocLinesBeforeBlock = [] | [{
|
|
|
8055
7677
|
checkBlockStarts?: boolean;
|
|
8056
7678
|
excludedTags?: string[];
|
|
8057
7679
|
ignoreSameLine?: boolean;
|
|
7680
|
+
ignoreSingleLines?: boolean;
|
|
8058
7681
|
lines?: number;
|
|
8059
7682
|
}];
|
|
8060
7683
|
// ----- jsdoc/match-description -----
|
|
@@ -8098,6 +7721,7 @@ type JsdocMultilineBlocks = [] | [{
|
|
|
8098
7721
|
noMultilineBlocks?: boolean;
|
|
8099
7722
|
noSingleLineBlocks?: boolean;
|
|
8100
7723
|
noZeroLineText?: boolean;
|
|
7724
|
+
requireSingleLineUnderCount?: number;
|
|
8101
7725
|
singleLineTags?: string[];
|
|
8102
7726
|
}];
|
|
8103
7727
|
// ----- jsdoc/no-bad-blocks -----
|
|
@@ -9055,14 +8679,34 @@ type MarkdownNoDuplicateDefinitions = [] | [{
|
|
|
9055
8679
|
allowDefinitions?: string[];
|
|
9056
8680
|
allowFootnoteDefinitions?: string[];
|
|
9057
8681
|
}];
|
|
8682
|
+
// ----- markdown/no-duplicate-headings -----
|
|
8683
|
+
type MarkdownNoDuplicateHeadings = [] | [{
|
|
8684
|
+
checkSiblingsOnly?: boolean;
|
|
8685
|
+
}];
|
|
8686
|
+
// ----- markdown/no-empty-definitions -----
|
|
8687
|
+
type MarkdownNoEmptyDefinitions = [] | [{
|
|
8688
|
+
allowDefinitions?: string[];
|
|
8689
|
+
allowFootnoteDefinitions?: string[];
|
|
8690
|
+
checkFootnoteDefinitions?: boolean;
|
|
8691
|
+
}];
|
|
9058
8692
|
// ----- markdown/no-html -----
|
|
9059
8693
|
type MarkdownNoHtml = [] | [{
|
|
9060
8694
|
allowed?: string[];
|
|
9061
8695
|
}];
|
|
8696
|
+
// ----- markdown/no-missing-link-fragments -----
|
|
8697
|
+
type MarkdownNoMissingLinkFragments = [] | [{
|
|
8698
|
+
ignoreCase?: boolean;
|
|
8699
|
+
allowPattern?: string;
|
|
8700
|
+
}];
|
|
9062
8701
|
// ----- markdown/no-multiple-h1 -----
|
|
9063
8702
|
type MarkdownNoMultipleH1 = [] | [{
|
|
9064
8703
|
frontmatterTitle?: string;
|
|
9065
8704
|
}];
|
|
8705
|
+
// ----- markdown/no-unused-definitions -----
|
|
8706
|
+
type MarkdownNoUnusedDefinitions = [] | [{
|
|
8707
|
+
allowDefinitions?: string[];
|
|
8708
|
+
allowFootnoteDefinitions?: string[];
|
|
8709
|
+
}];
|
|
9066
8710
|
// ----- max-classes-per-file -----
|
|
9067
8711
|
type MaxClassesPerFile = [] | [(number | {
|
|
9068
8712
|
ignoreExpressions?: boolean;
|
|
@@ -9226,6 +8870,7 @@ type NoConstantCondition = [] | [{
|
|
|
9226
8870
|
// ----- no-duplicate-imports -----
|
|
9227
8871
|
type NoDuplicateImports = [] | [{
|
|
9228
8872
|
includeExports?: boolean;
|
|
8873
|
+
allowSeparateTypeImports?: boolean;
|
|
9229
8874
|
}];
|
|
9230
8875
|
// ----- no-else-return -----
|
|
9231
8876
|
type NoElseReturn = [] | [{
|
|
@@ -9952,7 +9597,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9952
9597
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
9953
9598
|
groupKind?: ("mixed" | "literals-first" | "spreads-first");
|
|
9954
9599
|
customGroups?: ({
|
|
9955
|
-
newlinesInside?: ("always" | "never");
|
|
9600
|
+
newlinesInside?: (("always" | "never") | number);
|
|
9956
9601
|
fallbackSort?: {
|
|
9957
9602
|
order?: ("asc" | "desc");
|
|
9958
9603
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -9971,7 +9616,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
9971
9616
|
} | string));
|
|
9972
9617
|
}[];
|
|
9973
9618
|
} | {
|
|
9974
|
-
newlinesInside?: ("always" | "never");
|
|
9619
|
+
newlinesInside?: (("always" | "never") | number);
|
|
9975
9620
|
fallbackSort?: {
|
|
9976
9621
|
order?: ("asc" | "desc");
|
|
9977
9622
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10020,9 +9665,9 @@ type PerfectionistSortArrayIncludes = {
|
|
|
10020
9665
|
} | string)));
|
|
10021
9666
|
});
|
|
10022
9667
|
partitionByNewLine?: boolean;
|
|
10023
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9668
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10024
9669
|
groups?: (string | string[] | {
|
|
10025
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9670
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10026
9671
|
commentAbove?: string;
|
|
10027
9672
|
})[];
|
|
10028
9673
|
}[];
|
|
@@ -10039,7 +9684,7 @@ type PerfectionistSortClasses = [] | [{
|
|
|
10039
9684
|
order?: ("asc" | "desc");
|
|
10040
9685
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10041
9686
|
customGroups?: ({
|
|
10042
|
-
newlinesInside?: ("always" | "never");
|
|
9687
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10043
9688
|
fallbackSort?: {
|
|
10044
9689
|
order?: ("asc" | "desc");
|
|
10045
9690
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10073,7 +9718,7 @@ type PerfectionistSortClasses = [] | [{
|
|
|
10073
9718
|
} | string));
|
|
10074
9719
|
}[];
|
|
10075
9720
|
} | {
|
|
10076
|
-
newlinesInside?: ("always" | "never");
|
|
9721
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10077
9722
|
fallbackSort?: {
|
|
10078
9723
|
order?: ("asc" | "desc");
|
|
10079
9724
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10135,9 +9780,9 @@ type PerfectionistSortClasses = [] | [{
|
|
|
10135
9780
|
} | string)));
|
|
10136
9781
|
});
|
|
10137
9782
|
partitionByNewLine?: boolean;
|
|
10138
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9783
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10139
9784
|
groups?: (string | string[] | {
|
|
10140
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9785
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10141
9786
|
commentAbove?: string;
|
|
10142
9787
|
})[];
|
|
10143
9788
|
}];
|
|
@@ -10184,7 +9829,7 @@ type PerfectionistSortDecorators = [] | [{
|
|
|
10184
9829
|
[k: string]: (string | string[]) | undefined;
|
|
10185
9830
|
};
|
|
10186
9831
|
groups?: (string | string[] | {
|
|
10187
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9832
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10188
9833
|
commentAbove?: string;
|
|
10189
9834
|
})[];
|
|
10190
9835
|
}];
|
|
@@ -10203,7 +9848,7 @@ type PerfectionistSortEnums = [] | [{
|
|
|
10203
9848
|
customGroups?: ({
|
|
10204
9849
|
[k: string]: (string | string[]) | undefined;
|
|
10205
9850
|
} | ({
|
|
10206
|
-
newlinesInside?: ("always" | "never");
|
|
9851
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10207
9852
|
fallbackSort?: {
|
|
10208
9853
|
order?: ("asc" | "desc");
|
|
10209
9854
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10228,7 +9873,7 @@ type PerfectionistSortEnums = [] | [{
|
|
|
10228
9873
|
} | string));
|
|
10229
9874
|
}[];
|
|
10230
9875
|
} | {
|
|
10231
|
-
newlinesInside?: ("always" | "never");
|
|
9876
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10232
9877
|
fallbackSort?: {
|
|
10233
9878
|
order?: ("asc" | "desc");
|
|
10234
9879
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10276,9 +9921,9 @@ type PerfectionistSortEnums = [] | [{
|
|
|
10276
9921
|
} | string)));
|
|
10277
9922
|
});
|
|
10278
9923
|
partitionByNewLine?: boolean;
|
|
10279
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9924
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10280
9925
|
groups?: (string | string[] | {
|
|
10281
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
9926
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10282
9927
|
commentAbove?: string;
|
|
10283
9928
|
})[];
|
|
10284
9929
|
}];
|
|
@@ -10296,7 +9941,7 @@ type PerfectionistSortExports = {
|
|
|
10296
9941
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10297
9942
|
groupKind?: ("mixed" | "values-first" | "types-first");
|
|
10298
9943
|
customGroups?: ({
|
|
10299
|
-
newlinesInside?: ("always" | "never");
|
|
9944
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10300
9945
|
fallbackSort?: {
|
|
10301
9946
|
order?: ("asc" | "desc");
|
|
10302
9947
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10316,7 +9961,7 @@ type PerfectionistSortExports = {
|
|
|
10316
9961
|
} | string));
|
|
10317
9962
|
}[];
|
|
10318
9963
|
} | {
|
|
10319
|
-
newlinesInside?: ("always" | "never");
|
|
9964
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10320
9965
|
fallbackSort?: {
|
|
10321
9966
|
order?: ("asc" | "desc");
|
|
10322
9967
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10357,9 +10002,9 @@ type PerfectionistSortExports = {
|
|
|
10357
10002
|
} | string)));
|
|
10358
10003
|
});
|
|
10359
10004
|
partitionByNewLine?: boolean;
|
|
10360
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10005
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10361
10006
|
groups?: (string | string[] | {
|
|
10362
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10007
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10363
10008
|
commentAbove?: string;
|
|
10364
10009
|
})[];
|
|
10365
10010
|
}[];
|
|
@@ -10379,7 +10024,7 @@ type PerfectionistSortHeritageClauses = [] | [{
|
|
|
10379
10024
|
[k: string]: (string | string[]) | undefined;
|
|
10380
10025
|
};
|
|
10381
10026
|
groups?: (string | string[] | {
|
|
10382
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10027
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10383
10028
|
commentAbove?: string;
|
|
10384
10029
|
})[];
|
|
10385
10030
|
}];
|
|
@@ -10403,7 +10048,7 @@ type PerfectionistSortImports = {
|
|
|
10403
10048
|
[k: string]: (string | string[]) | undefined;
|
|
10404
10049
|
};
|
|
10405
10050
|
} | ({
|
|
10406
|
-
newlinesInside?: ("always" | "never");
|
|
10051
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10407
10052
|
fallbackSort?: {
|
|
10408
10053
|
order?: ("asc" | "desc");
|
|
10409
10054
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10430,7 +10075,7 @@ type PerfectionistSortImports = {
|
|
|
10430
10075
|
} | string));
|
|
10431
10076
|
}[];
|
|
10432
10077
|
} | {
|
|
10433
|
-
newlinesInside?: ("always" | "never");
|
|
10078
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10434
10079
|
fallbackSort?: {
|
|
10435
10080
|
order?: ("asc" | "desc");
|
|
10436
10081
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10486,7 +10131,7 @@ type PerfectionistSortImports = {
|
|
|
10486
10131
|
} | string)));
|
|
10487
10132
|
});
|
|
10488
10133
|
partitionByNewLine?: boolean;
|
|
10489
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10134
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10490
10135
|
internalPattern?: (({
|
|
10491
10136
|
pattern: string;
|
|
10492
10137
|
flags?: string;
|
|
@@ -10495,7 +10140,7 @@ type PerfectionistSortImports = {
|
|
|
10495
10140
|
flags?: string;
|
|
10496
10141
|
} | string));
|
|
10497
10142
|
groups?: (string | string[] | {
|
|
10498
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10143
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10499
10144
|
commentAbove?: string;
|
|
10500
10145
|
})[];
|
|
10501
10146
|
}[];
|
|
@@ -10515,7 +10160,7 @@ type PerfectionistSortInterfaces = {
|
|
|
10515
10160
|
customGroups?: ({
|
|
10516
10161
|
[k: string]: (string | string[]) | undefined;
|
|
10517
10162
|
} | ({
|
|
10518
|
-
newlinesInside?: ("always" | "never");
|
|
10163
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10519
10164
|
fallbackSort?: {
|
|
10520
10165
|
order?: ("asc" | "desc");
|
|
10521
10166
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10544,7 +10189,7 @@ type PerfectionistSortInterfaces = {
|
|
|
10544
10189
|
sortBy?: ("name" | "value");
|
|
10545
10190
|
}[];
|
|
10546
10191
|
} | {
|
|
10547
|
-
newlinesInside?: ("always" | "never");
|
|
10192
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10548
10193
|
fallbackSort?: {
|
|
10549
10194
|
order?: ("asc" | "desc");
|
|
10550
10195
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10611,7 +10256,7 @@ type PerfectionistSortInterfaces = {
|
|
|
10611
10256
|
} | string)));
|
|
10612
10257
|
});
|
|
10613
10258
|
partitionByNewLine?: boolean;
|
|
10614
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10259
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10615
10260
|
ignorePattern?: (({
|
|
10616
10261
|
pattern: string;
|
|
10617
10262
|
flags?: string;
|
|
@@ -10621,7 +10266,7 @@ type PerfectionistSortInterfaces = {
|
|
|
10621
10266
|
} | string));
|
|
10622
10267
|
sortBy?: ("name" | "value");
|
|
10623
10268
|
groups?: (string | string[] | {
|
|
10624
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10269
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10625
10270
|
commentAbove?: string;
|
|
10626
10271
|
})[];
|
|
10627
10272
|
}[];
|
|
@@ -10638,7 +10283,7 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
10638
10283
|
order?: ("asc" | "desc");
|
|
10639
10284
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10640
10285
|
customGroups?: ({
|
|
10641
|
-
newlinesInside?: ("always" | "never");
|
|
10286
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10642
10287
|
fallbackSort?: {
|
|
10643
10288
|
order?: ("asc" | "desc");
|
|
10644
10289
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10657,7 +10302,7 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
10657
10302
|
} | string));
|
|
10658
10303
|
}[];
|
|
10659
10304
|
} | {
|
|
10660
|
-
newlinesInside?: ("always" | "never");
|
|
10305
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10661
10306
|
fallbackSort?: {
|
|
10662
10307
|
order?: ("asc" | "desc");
|
|
10663
10308
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10697,9 +10342,9 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
10697
10342
|
} | string)));
|
|
10698
10343
|
});
|
|
10699
10344
|
partitionByNewLine?: boolean;
|
|
10700
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10345
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10701
10346
|
groups?: (string | string[] | {
|
|
10702
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10347
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10703
10348
|
commentAbove?: string;
|
|
10704
10349
|
})[];
|
|
10705
10350
|
}[];
|
|
@@ -10718,7 +10363,7 @@ type PerfectionistSortJsxProps = {
|
|
|
10718
10363
|
customGroups?: ({
|
|
10719
10364
|
[k: string]: (string | string[]) | undefined;
|
|
10720
10365
|
} | ({
|
|
10721
|
-
newlinesInside?: ("always" | "never");
|
|
10366
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10722
10367
|
fallbackSort?: {
|
|
10723
10368
|
order?: ("asc" | "desc");
|
|
10724
10369
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10745,7 +10390,7 @@ type PerfectionistSortJsxProps = {
|
|
|
10745
10390
|
} | string));
|
|
10746
10391
|
}[];
|
|
10747
10392
|
} | {
|
|
10748
|
-
newlinesInside?: ("always" | "never");
|
|
10393
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10749
10394
|
fallbackSort?: {
|
|
10750
10395
|
order?: ("asc" | "desc");
|
|
10751
10396
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10787,7 +10432,7 @@ type PerfectionistSortJsxProps = {
|
|
|
10787
10432
|
} | string));
|
|
10788
10433
|
};
|
|
10789
10434
|
partitionByNewLine?: boolean;
|
|
10790
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10435
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10791
10436
|
ignorePattern?: (({
|
|
10792
10437
|
pattern: string;
|
|
10793
10438
|
flags?: string;
|
|
@@ -10796,7 +10441,7 @@ type PerfectionistSortJsxProps = {
|
|
|
10796
10441
|
flags?: string;
|
|
10797
10442
|
} | string));
|
|
10798
10443
|
groups?: (string | string[] | {
|
|
10799
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10444
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10800
10445
|
commentAbove?: string;
|
|
10801
10446
|
})[];
|
|
10802
10447
|
}[];
|
|
@@ -10813,7 +10458,7 @@ type PerfectionistSortMaps = {
|
|
|
10813
10458
|
order?: ("asc" | "desc");
|
|
10814
10459
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10815
10460
|
customGroups?: ({
|
|
10816
|
-
newlinesInside?: ("always" | "never");
|
|
10461
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10817
10462
|
fallbackSort?: {
|
|
10818
10463
|
order?: ("asc" | "desc");
|
|
10819
10464
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10831,7 +10476,7 @@ type PerfectionistSortMaps = {
|
|
|
10831
10476
|
} | string));
|
|
10832
10477
|
}[];
|
|
10833
10478
|
} | {
|
|
10834
|
-
newlinesInside?: ("always" | "never");
|
|
10479
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10835
10480
|
fallbackSort?: {
|
|
10836
10481
|
order?: ("asc" | "desc");
|
|
10837
10482
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10879,9 +10524,9 @@ type PerfectionistSortMaps = {
|
|
|
10879
10524
|
} | string)));
|
|
10880
10525
|
});
|
|
10881
10526
|
partitionByNewLine?: boolean;
|
|
10882
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10527
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10883
10528
|
groups?: (string | string[] | {
|
|
10884
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10529
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10885
10530
|
commentAbove?: string;
|
|
10886
10531
|
})[];
|
|
10887
10532
|
}[];
|
|
@@ -10898,7 +10543,7 @@ type PerfectionistSortModules = [] | [{
|
|
|
10898
10543
|
order?: ("asc" | "desc");
|
|
10899
10544
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
10900
10545
|
customGroups?: ({
|
|
10901
|
-
newlinesInside?: ("always" | "never");
|
|
10546
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10902
10547
|
fallbackSort?: {
|
|
10903
10548
|
order?: ("asc" | "desc");
|
|
10904
10549
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10925,7 +10570,7 @@ type PerfectionistSortModules = [] | [{
|
|
|
10925
10570
|
} | string));
|
|
10926
10571
|
}[];
|
|
10927
10572
|
} | {
|
|
10928
|
-
newlinesInside?: ("always" | "never");
|
|
10573
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10929
10574
|
fallbackSort?: {
|
|
10930
10575
|
order?: ("asc" | "desc");
|
|
10931
10576
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -10973,9 +10618,9 @@ type PerfectionistSortModules = [] | [{
|
|
|
10973
10618
|
} | string)));
|
|
10974
10619
|
});
|
|
10975
10620
|
partitionByNewLine?: boolean;
|
|
10976
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10621
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10977
10622
|
groups?: (string | string[] | {
|
|
10978
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10623
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
10979
10624
|
commentAbove?: string;
|
|
10980
10625
|
})[];
|
|
10981
10626
|
}];
|
|
@@ -10994,7 +10639,7 @@ type PerfectionistSortNamedExports = {
|
|
|
10994
10639
|
groupKind?: ("mixed" | "values-first" | "types-first");
|
|
10995
10640
|
ignoreAlias?: boolean;
|
|
10996
10641
|
customGroups?: ({
|
|
10997
|
-
newlinesInside?: ("always" | "never");
|
|
10642
|
+
newlinesInside?: (("always" | "never") | number);
|
|
10998
10643
|
fallbackSort?: {
|
|
10999
10644
|
order?: ("asc" | "desc");
|
|
11000
10645
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11014,7 +10659,7 @@ type PerfectionistSortNamedExports = {
|
|
|
11014
10659
|
} | string));
|
|
11015
10660
|
}[];
|
|
11016
10661
|
} | {
|
|
11017
|
-
newlinesInside?: ("always" | "never");
|
|
10662
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11018
10663
|
fallbackSort?: {
|
|
11019
10664
|
order?: ("asc" | "desc");
|
|
11020
10665
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11055,9 +10700,9 @@ type PerfectionistSortNamedExports = {
|
|
|
11055
10700
|
} | string)));
|
|
11056
10701
|
});
|
|
11057
10702
|
partitionByNewLine?: boolean;
|
|
11058
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10703
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11059
10704
|
groups?: (string | string[] | {
|
|
11060
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10705
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11061
10706
|
commentAbove?: string;
|
|
11062
10707
|
})[];
|
|
11063
10708
|
}[];
|
|
@@ -11076,7 +10721,7 @@ type PerfectionistSortNamedImports = {
|
|
|
11076
10721
|
groupKind?: ("mixed" | "values-first" | "types-first");
|
|
11077
10722
|
ignoreAlias?: boolean;
|
|
11078
10723
|
customGroups?: ({
|
|
11079
|
-
newlinesInside?: ("always" | "never");
|
|
10724
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11080
10725
|
fallbackSort?: {
|
|
11081
10726
|
order?: ("asc" | "desc");
|
|
11082
10727
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11096,7 +10741,7 @@ type PerfectionistSortNamedImports = {
|
|
|
11096
10741
|
} | string));
|
|
11097
10742
|
}[];
|
|
11098
10743
|
} | {
|
|
11099
|
-
newlinesInside?: ("always" | "never");
|
|
10744
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11100
10745
|
fallbackSort?: {
|
|
11101
10746
|
order?: ("asc" | "desc");
|
|
11102
10747
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11137,9 +10782,9 @@ type PerfectionistSortNamedImports = {
|
|
|
11137
10782
|
} | string)));
|
|
11138
10783
|
});
|
|
11139
10784
|
partitionByNewLine?: boolean;
|
|
11140
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10785
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11141
10786
|
groups?: (string | string[] | {
|
|
11142
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10787
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11143
10788
|
commentAbove?: string;
|
|
11144
10789
|
})[];
|
|
11145
10790
|
}[];
|
|
@@ -11159,7 +10804,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
11159
10804
|
customGroups?: ({
|
|
11160
10805
|
[k: string]: (string | string[]) | undefined;
|
|
11161
10806
|
} | ({
|
|
11162
|
-
newlinesInside?: ("always" | "never");
|
|
10807
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11163
10808
|
fallbackSort?: {
|
|
11164
10809
|
order?: ("asc" | "desc");
|
|
11165
10810
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11188,7 +10833,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
11188
10833
|
sortBy?: ("name" | "value");
|
|
11189
10834
|
}[];
|
|
11190
10835
|
} | {
|
|
11191
|
-
newlinesInside?: ("always" | "never");
|
|
10836
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11192
10837
|
fallbackSort?: {
|
|
11193
10838
|
order?: ("asc" | "desc");
|
|
11194
10839
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11255,7 +10900,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
11255
10900
|
} | string)));
|
|
11256
10901
|
});
|
|
11257
10902
|
partitionByNewLine?: boolean;
|
|
11258
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10903
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11259
10904
|
ignorePattern?: (({
|
|
11260
10905
|
pattern: string;
|
|
11261
10906
|
flags?: string;
|
|
@@ -11265,7 +10910,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
11265
10910
|
} | string));
|
|
11266
10911
|
sortBy?: ("name" | "value");
|
|
11267
10912
|
groups?: (string | string[] | {
|
|
11268
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
10913
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11269
10914
|
commentAbove?: string;
|
|
11270
10915
|
})[];
|
|
11271
10916
|
}[];
|
|
@@ -11287,7 +10932,7 @@ type PerfectionistSortObjects = {
|
|
|
11287
10932
|
customGroups?: ({
|
|
11288
10933
|
[k: string]: (string | string[]) | undefined;
|
|
11289
10934
|
} | ({
|
|
11290
|
-
newlinesInside?: ("always" | "never");
|
|
10935
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11291
10936
|
fallbackSort?: {
|
|
11292
10937
|
order?: ("asc" | "desc");
|
|
11293
10938
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11314,7 +10959,7 @@ type PerfectionistSortObjects = {
|
|
|
11314
10959
|
} | string));
|
|
11315
10960
|
}[];
|
|
11316
10961
|
} | {
|
|
11317
|
-
newlinesInside?: ("always" | "never");
|
|
10962
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11318
10963
|
fallbackSort?: {
|
|
11319
10964
|
order?: ("asc" | "desc");
|
|
11320
10965
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11381,7 +11026,7 @@ type PerfectionistSortObjects = {
|
|
|
11381
11026
|
} | string)));
|
|
11382
11027
|
});
|
|
11383
11028
|
partitionByNewLine?: boolean;
|
|
11384
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11029
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11385
11030
|
ignorePattern?: (({
|
|
11386
11031
|
pattern: string;
|
|
11387
11032
|
flags?: string;
|
|
@@ -11390,7 +11035,7 @@ type PerfectionistSortObjects = {
|
|
|
11390
11035
|
flags?: string;
|
|
11391
11036
|
} | string));
|
|
11392
11037
|
groups?: (string | string[] | {
|
|
11393
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11038
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11394
11039
|
commentAbove?: string;
|
|
11395
11040
|
})[];
|
|
11396
11041
|
}[];
|
|
@@ -11408,7 +11053,7 @@ type PerfectionistSortSets = {
|
|
|
11408
11053
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11409
11054
|
groupKind?: ("mixed" | "literals-first" | "spreads-first");
|
|
11410
11055
|
customGroups?: ({
|
|
11411
|
-
newlinesInside?: ("always" | "never");
|
|
11056
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11412
11057
|
fallbackSort?: {
|
|
11413
11058
|
order?: ("asc" | "desc");
|
|
11414
11059
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11427,7 +11072,7 @@ type PerfectionistSortSets = {
|
|
|
11427
11072
|
} | string));
|
|
11428
11073
|
}[];
|
|
11429
11074
|
} | {
|
|
11430
|
-
newlinesInside?: ("always" | "never");
|
|
11075
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11431
11076
|
fallbackSort?: {
|
|
11432
11077
|
order?: ("asc" | "desc");
|
|
11433
11078
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11476,9 +11121,9 @@ type PerfectionistSortSets = {
|
|
|
11476
11121
|
} | string)));
|
|
11477
11122
|
});
|
|
11478
11123
|
partitionByNewLine?: boolean;
|
|
11479
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11124
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11480
11125
|
groups?: (string | string[] | {
|
|
11481
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11126
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11482
11127
|
commentAbove?: string;
|
|
11483
11128
|
})[];
|
|
11484
11129
|
}[];
|
|
@@ -11508,7 +11153,7 @@ type PerfectionistSortUnionTypes = {
|
|
|
11508
11153
|
order?: ("asc" | "desc");
|
|
11509
11154
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11510
11155
|
customGroups?: ({
|
|
11511
|
-
newlinesInside?: ("always" | "never");
|
|
11156
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11512
11157
|
fallbackSort?: {
|
|
11513
11158
|
order?: ("asc" | "desc");
|
|
11514
11159
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11527,7 +11172,7 @@ type PerfectionistSortUnionTypes = {
|
|
|
11527
11172
|
} | string));
|
|
11528
11173
|
}[];
|
|
11529
11174
|
} | {
|
|
11530
|
-
newlinesInside?: ("always" | "never");
|
|
11175
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11531
11176
|
fallbackSort?: {
|
|
11532
11177
|
order?: ("asc" | "desc");
|
|
11533
11178
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11567,9 +11212,9 @@ type PerfectionistSortUnionTypes = {
|
|
|
11567
11212
|
} | string)));
|
|
11568
11213
|
});
|
|
11569
11214
|
partitionByNewLine?: boolean;
|
|
11570
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11215
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11571
11216
|
groups?: (string | string[] | {
|
|
11572
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11217
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11573
11218
|
commentAbove?: string;
|
|
11574
11219
|
})[];
|
|
11575
11220
|
}[];
|
|
@@ -11586,7 +11231,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
11586
11231
|
order?: ("asc" | "desc");
|
|
11587
11232
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
11588
11233
|
customGroups?: ({
|
|
11589
|
-
newlinesInside?: ("always" | "never");
|
|
11234
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11590
11235
|
fallbackSort?: {
|
|
11591
11236
|
order?: ("asc" | "desc");
|
|
11592
11237
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11605,7 +11250,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
11605
11250
|
} | string));
|
|
11606
11251
|
}[];
|
|
11607
11252
|
} | {
|
|
11608
|
-
newlinesInside?: ("always" | "never");
|
|
11253
|
+
newlinesInside?: (("always" | "never") | number);
|
|
11609
11254
|
fallbackSort?: {
|
|
11610
11255
|
order?: ("asc" | "desc");
|
|
11611
11256
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted");
|
|
@@ -11645,9 +11290,9 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
11645
11290
|
} | string)));
|
|
11646
11291
|
});
|
|
11647
11292
|
partitionByNewLine?: boolean;
|
|
11648
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11293
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11649
11294
|
groups?: (string | string[] | {
|
|
11650
|
-
newlinesBetween?: ("ignore" | "always" | "never");
|
|
11295
|
+
newlinesBetween?: (("ignore" | "always" | "never") | number);
|
|
11651
11296
|
commentAbove?: string;
|
|
11652
11297
|
})[];
|
|
11653
11298
|
}];
|
|
@@ -12132,16 +11777,6 @@ type StyleCurlyNewline = [] | [(("always" | "never") | {
|
|
|
12132
11777
|
minElements?: number;
|
|
12133
11778
|
consistent?: boolean;
|
|
12134
11779
|
});
|
|
12135
|
-
TSEnumBody?: (("always" | "never") | {
|
|
12136
|
-
multiline?: boolean;
|
|
12137
|
-
minElements?: number;
|
|
12138
|
-
consistent?: boolean;
|
|
12139
|
-
});
|
|
12140
|
-
TSInterfaceBody?: (("always" | "never") | {
|
|
12141
|
-
multiline?: boolean;
|
|
12142
|
-
minElements?: number;
|
|
12143
|
-
consistent?: boolean;
|
|
12144
|
-
});
|
|
12145
11780
|
TSModuleBlock?: (("always" | "never") | {
|
|
12146
11781
|
multiline?: boolean;
|
|
12147
11782
|
minElements?: number;
|
|
@@ -12155,14 +11790,6 @@ type StyleCurlyNewline = [] | [(("always" | "never") | {
|
|
|
12155
11790
|
type StyleDotLocation = [] | [("object" | "property")];
|
|
12156
11791
|
// ----- style/eol-last -----
|
|
12157
11792
|
type StyleEolLast = [] | [("always" | "never" | "unix" | "windows")];
|
|
12158
|
-
// ----- style/func-call-spacing -----
|
|
12159
|
-
type StyleFuncCallSpacing = ([] | ["never"] | [] | ["always"] | ["always", {
|
|
12160
|
-
allowNewlines?: boolean;
|
|
12161
|
-
optionalChain?: {
|
|
12162
|
-
before?: boolean;
|
|
12163
|
-
after?: boolean;
|
|
12164
|
-
};
|
|
12165
|
-
}]);
|
|
12166
11793
|
// ----- style/function-call-argument-newline -----
|
|
12167
11794
|
type StyleFunctionCallArgumentNewline = [] | [("always" | "never" | "consistent")];
|
|
12168
11795
|
// ----- style/function-call-spacing -----
|
|
@@ -12203,6 +11830,7 @@ type StyleIndent = [] | [("tab" | number)] | [("tab" | number), {
|
|
|
12203
11830
|
var?: (number | ("first" | "off"));
|
|
12204
11831
|
let?: (number | ("first" | "off"));
|
|
12205
11832
|
const?: (number | ("first" | "off"));
|
|
11833
|
+
using?: (number | ("first" | "off"));
|
|
12206
11834
|
});
|
|
12207
11835
|
outerIIFEBody?: (number | "off");
|
|
12208
11836
|
MemberExpression?: (number | "off");
|
|
@@ -12337,8 +11965,8 @@ type StyleJsxSortProps = [] | [{
|
|
|
12337
11965
|
multiline?: ("ignore" | "first" | "last");
|
|
12338
11966
|
ignoreCase?: boolean;
|
|
12339
11967
|
noSortAlphabetically?: boolean;
|
|
12340
|
-
reservedFirst?: (
|
|
12341
|
-
reservedLast?:
|
|
11968
|
+
reservedFirst?: (string[] | boolean);
|
|
11969
|
+
reservedLast?: string[];
|
|
12342
11970
|
locale?: string;
|
|
12343
11971
|
}];
|
|
12344
11972
|
// ----- style/jsx-tag-spacing -----
|
|
@@ -12683,6 +12311,10 @@ type StyleKeywordSpacing = [] | [{
|
|
|
12683
12311
|
before?: boolean;
|
|
12684
12312
|
after?: boolean;
|
|
12685
12313
|
};
|
|
12314
|
+
using?: {
|
|
12315
|
+
before?: boolean;
|
|
12316
|
+
after?: boolean;
|
|
12317
|
+
};
|
|
12686
12318
|
yield?: {
|
|
12687
12319
|
before?: boolean;
|
|
12688
12320
|
after?: boolean;
|
|
@@ -12885,6 +12517,11 @@ type StyleNoExtraParens = ([] | ["functions"] | [] | ["all"] | ["all", {
|
|
|
12885
12517
|
enforceForFunctionPrototypeMethods?: boolean;
|
|
12886
12518
|
allowParensAfterCommentPattern?: string;
|
|
12887
12519
|
nestedConditionalExpressions?: boolean;
|
|
12520
|
+
allowNodesInSpreadElement?: {
|
|
12521
|
+
ConditionalExpression?: boolean;
|
|
12522
|
+
LogicalExpression?: boolean;
|
|
12523
|
+
AwaitExpression?: boolean;
|
|
12524
|
+
};
|
|
12888
12525
|
}]);
|
|
12889
12526
|
// ----- style/no-mixed-operators -----
|
|
12890
12527
|
type StyleNoMixedOperators = [] | [{
|
|
@@ -12962,6 +12599,11 @@ type StyleObjectCurlyNewline = [] | [((("always" | "never") | {
|
|
|
12962
12599
|
minProperties?: number;
|
|
12963
12600
|
consistent?: boolean;
|
|
12964
12601
|
});
|
|
12602
|
+
TSEnumBody?: (("always" | "never") | {
|
|
12603
|
+
multiline?: boolean;
|
|
12604
|
+
minProperties?: number;
|
|
12605
|
+
consistent?: boolean;
|
|
12606
|
+
});
|
|
12965
12607
|
})];
|
|
12966
12608
|
// ----- style/object-curly-spacing -----
|
|
12967
12609
|
type StyleObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "never"), {
|
|
@@ -12971,7 +12613,6 @@ type StyleObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "never
|
|
|
12971
12613
|
// ----- style/object-property-newline -----
|
|
12972
12614
|
type StyleObjectPropertyNewline = [] | [{
|
|
12973
12615
|
allowAllPropertiesOnSameLine?: boolean;
|
|
12974
|
-
allowMultiplePropertiesPerLine?: boolean;
|
|
12975
12616
|
}];
|
|
12976
12617
|
// ----- style/one-var-declaration-per-line -----
|
|
12977
12618
|
type StyleOneVarDeclarationPerLine = [] | [("always" | "initializations")];
|
|
@@ -12995,7 +12636,7 @@ type StylePaddedBlocks = [] | [(("always" | "never" | "start" | "end") | {
|
|
|
12995
12636
|
}];
|
|
12996
12637
|
// ----- style/padding-line-between-statements -----
|
|
12997
12638
|
type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
|
|
12998
|
-
type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]]);
|
|
12639
|
+
type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]]);
|
|
12999
12640
|
type StylePaddingLineBetweenStatements = {
|
|
13000
12641
|
blankLine: _StylePaddingLineBetweenStatementsPaddingType;
|
|
13001
12642
|
prev: _StylePaddingLineBetweenStatementsStatementType;
|
|
@@ -13034,12 +12675,14 @@ type StyleSpaceBeforeBlocks = [] | [(("always" | "never") | {
|
|
|
13034
12675
|
keywords?: ("always" | "never" | "off");
|
|
13035
12676
|
functions?: ("always" | "never" | "off");
|
|
13036
12677
|
classes?: ("always" | "never" | "off");
|
|
12678
|
+
modules?: ("always" | "never" | "off");
|
|
13037
12679
|
})];
|
|
13038
12680
|
// ----- style/space-before-function-paren -----
|
|
13039
12681
|
type StyleSpaceBeforeFunctionParen = [] | [(("always" | "never") | {
|
|
13040
12682
|
anonymous?: ("always" | "never" | "ignore");
|
|
13041
12683
|
named?: ("always" | "never" | "ignore");
|
|
13042
12684
|
asyncArrow?: ("always" | "never" | "ignore");
|
|
12685
|
+
catch?: ("always" | "never" | "ignore");
|
|
13043
12686
|
})];
|
|
13044
12687
|
// ----- style/space-in-parens -----
|
|
13045
12688
|
type StyleSpaceInParens = [] | [("always" | "never")] | [("always" | "never"), {
|
|
@@ -13126,6 +12769,10 @@ type TestConsistentTestIt = [] | [{
|
|
|
13126
12769
|
fn?: ("test" | "it");
|
|
13127
12770
|
withinDescribe?: ("test" | "it");
|
|
13128
12771
|
}];
|
|
12772
|
+
// ----- test/consistent-vitest-vi -----
|
|
12773
|
+
type TestConsistentVitestVi = [] | [{
|
|
12774
|
+
fn?: ("vi" | "vitest");
|
|
12775
|
+
}];
|
|
13129
12776
|
// ----- test/expect-expect -----
|
|
13130
12777
|
type TestExpectExpect = [] | [{
|
|
13131
12778
|
assertFunctionNames?: string[];
|
|
@@ -13800,6 +13447,7 @@ interface _TsNamingConvention_MatchRegexConfig {
|
|
|
13800
13447
|
}
|
|
13801
13448
|
// ----- ts/no-base-to-string -----
|
|
13802
13449
|
type TsNoBaseToString = [] | [{
|
|
13450
|
+
checkUnknown?: boolean;
|
|
13803
13451
|
ignoredTypeNames?: string[];
|
|
13804
13452
|
}];
|
|
13805
13453
|
// ----- ts/no-confusing-void-expression -----
|
|
@@ -16276,6 +15924,11 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
|
16276
15924
|
* @default true
|
|
16277
15925
|
*/
|
|
16278
15926
|
unicorn?: boolean | OptionsUnicorn;
|
|
15927
|
+
/**
|
|
15928
|
+
* eslint-plugin-import-lite 的选项.
|
|
15929
|
+
* @default true
|
|
15930
|
+
*/
|
|
15931
|
+
imports?: boolean;
|
|
16279
15932
|
/**
|
|
16280
15933
|
* 启用 test 支持.
|
|
16281
15934
|
*
|
|
@@ -16419,7 +16072,7 @@ declare const defaultPluginRenaming: {
|
|
|
16419
16072
|
'@eslint-react/naming-convention': string;
|
|
16420
16073
|
'@stylistic': string;
|
|
16421
16074
|
'@typescript-eslint': string;
|
|
16422
|
-
'import-
|
|
16075
|
+
'import-lite': string;
|
|
16423
16076
|
n: string;
|
|
16424
16077
|
vitest: string;
|
|
16425
16078
|
yml: string;
|