@vinicunca/eslint-config 2.6.1 → 2.7.0-beta.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/dist/index.cjs +82 -799
- package/dist/index.d.cts +377 -968
- package/dist/index.d.ts +377 -968
- package/dist/index.js +81 -799
- package/package.json +17 -17
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { Linter } from 'eslint';
|
|
2
|
+
import { FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
1
3
|
import { StylisticCustomizeOptions } from '@stylistic/eslint-plugin';
|
|
2
4
|
import { ParserOptions } from '@typescript-eslint/parser';
|
|
3
|
-
import { Linter } from 'eslint';
|
|
4
5
|
import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
|
|
5
6
|
import { Options } from 'eslint-processor-vue-blocks';
|
|
6
|
-
import { FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
7
7
|
export { default as pluginAntfu } from 'eslint-plugin-antfu';
|
|
8
8
|
export { default as pluginComments } from 'eslint-plugin-eslint-comments';
|
|
9
9
|
import * as eslintPluginImportX from 'eslint-plugin-import-x';
|
|
@@ -386,42 +386,42 @@ interface RuleOptions {
|
|
|
386
386
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
387
387
|
/**
|
|
388
388
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
389
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
389
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/consistent-type-specifier-style.md
|
|
390
390
|
*/
|
|
391
391
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
392
392
|
/**
|
|
393
393
|
* Ensure a default export is present, given a default import.
|
|
394
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
394
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/default.md
|
|
395
395
|
*/
|
|
396
396
|
'import/default'?: Linter.RuleEntry<[]>
|
|
397
397
|
/**
|
|
398
398
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
399
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
399
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/dynamic-import-chunkname.md
|
|
400
400
|
*/
|
|
401
401
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
402
402
|
/**
|
|
403
403
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
404
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
404
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/export.md
|
|
405
405
|
*/
|
|
406
406
|
'import/export'?: Linter.RuleEntry<[]>
|
|
407
407
|
/**
|
|
408
408
|
* Ensure all exports appear after other statements.
|
|
409
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
409
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/exports-last.md
|
|
410
410
|
*/
|
|
411
411
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
412
412
|
/**
|
|
413
413
|
* Ensure consistent use of file extension within the import path.
|
|
414
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
414
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/extensions.md
|
|
415
415
|
*/
|
|
416
416
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
417
417
|
/**
|
|
418
418
|
* Ensure all imports appear before other statements.
|
|
419
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
419
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/first.md
|
|
420
420
|
*/
|
|
421
421
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
422
422
|
/**
|
|
423
423
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
424
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
424
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/group-exports.md
|
|
425
425
|
*/
|
|
426
426
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
427
427
|
/**
|
|
@@ -432,182 +432,182 @@ interface RuleOptions {
|
|
|
432
432
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
433
433
|
/**
|
|
434
434
|
* Enforce the maximum number of dependencies a module can have.
|
|
435
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
435
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/max-dependencies.md
|
|
436
436
|
*/
|
|
437
437
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
438
438
|
/**
|
|
439
439
|
* Ensure named imports correspond to a named export in the remote file.
|
|
440
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
440
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/named.md
|
|
441
441
|
*/
|
|
442
442
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
443
443
|
/**
|
|
444
444
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
445
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
445
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/namespace.md
|
|
446
446
|
*/
|
|
447
447
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
448
448
|
/**
|
|
449
449
|
* Enforce a newline after import statements.
|
|
450
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
450
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/newline-after-import.md
|
|
451
451
|
*/
|
|
452
452
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
453
453
|
/**
|
|
454
454
|
* Forbid import of modules using absolute paths.
|
|
455
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
455
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-absolute-path.md
|
|
456
456
|
*/
|
|
457
457
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
458
458
|
/**
|
|
459
459
|
* Forbid AMD `require` and `define` calls.
|
|
460
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
460
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-amd.md
|
|
461
461
|
*/
|
|
462
462
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
463
463
|
/**
|
|
464
464
|
* Forbid anonymous values as default exports.
|
|
465
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
465
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-anonymous-default-export.md
|
|
466
466
|
*/
|
|
467
467
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
468
468
|
/**
|
|
469
469
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
470
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
470
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-commonjs.md
|
|
471
471
|
*/
|
|
472
472
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
473
473
|
/**
|
|
474
474
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
475
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
475
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-cycle.md
|
|
476
476
|
*/
|
|
477
477
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
478
478
|
/**
|
|
479
479
|
* Forbid default exports.
|
|
480
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
480
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-default-export.md
|
|
481
481
|
*/
|
|
482
482
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
483
483
|
/**
|
|
484
484
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
485
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
485
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-deprecated.md
|
|
486
486
|
*/
|
|
487
487
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
488
488
|
/**
|
|
489
489
|
* Forbid repeated import of the same module in multiple places.
|
|
490
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
490
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-duplicates.md
|
|
491
491
|
*/
|
|
492
492
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
493
493
|
/**
|
|
494
494
|
* Forbid `require()` calls with expressions.
|
|
495
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
495
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-dynamic-require.md
|
|
496
496
|
*/
|
|
497
497
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
498
498
|
/**
|
|
499
499
|
* Forbid empty named import blocks.
|
|
500
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
500
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-empty-named-blocks.md
|
|
501
501
|
*/
|
|
502
502
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
503
503
|
/**
|
|
504
504
|
* Forbid the use of extraneous packages.
|
|
505
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
505
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-extraneous-dependencies.md
|
|
506
506
|
*/
|
|
507
507
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
508
508
|
/**
|
|
509
509
|
* Forbid import statements with CommonJS module.exports.
|
|
510
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
510
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-import-module-exports.md
|
|
511
511
|
*/
|
|
512
512
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
513
513
|
/**
|
|
514
514
|
* Forbid importing the submodules of other modules.
|
|
515
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
515
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-internal-modules.md
|
|
516
516
|
*/
|
|
517
517
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
518
518
|
/**
|
|
519
519
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
520
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
520
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-mutable-exports.md
|
|
521
521
|
*/
|
|
522
522
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
523
523
|
/**
|
|
524
524
|
* Forbid use of exported name as identifier of default export.
|
|
525
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
525
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-named-as-default.md
|
|
526
526
|
*/
|
|
527
527
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
528
528
|
/**
|
|
529
529
|
* Forbid use of exported name as property of default export.
|
|
530
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
530
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-named-as-default-member.md
|
|
531
531
|
*/
|
|
532
532
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
533
533
|
/**
|
|
534
534
|
* Forbid named default exports.
|
|
535
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
535
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-named-default.md
|
|
536
536
|
*/
|
|
537
537
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
538
538
|
/**
|
|
539
539
|
* Forbid named exports.
|
|
540
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
540
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-named-export.md
|
|
541
541
|
*/
|
|
542
542
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
543
543
|
/**
|
|
544
544
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
545
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
545
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-namespace.md
|
|
546
546
|
*/
|
|
547
547
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
548
548
|
/**
|
|
549
549
|
* Forbid Node.js builtin modules.
|
|
550
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
550
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-nodejs-modules.md
|
|
551
551
|
*/
|
|
552
552
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
553
553
|
/**
|
|
554
554
|
* Forbid importing packages through relative paths.
|
|
555
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
555
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-relative-packages.md
|
|
556
556
|
*/
|
|
557
557
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
558
558
|
/**
|
|
559
559
|
* Forbid importing modules from parent directories.
|
|
560
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
560
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-relative-parent-imports.md
|
|
561
561
|
*/
|
|
562
562
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
563
563
|
/**
|
|
564
564
|
* Enforce which files can be imported in a given folder.
|
|
565
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
565
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-restricted-paths.md
|
|
566
566
|
*/
|
|
567
567
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
568
568
|
/**
|
|
569
569
|
* Forbid a module from importing itself.
|
|
570
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
570
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-self-import.md
|
|
571
571
|
*/
|
|
572
572
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
573
573
|
/**
|
|
574
574
|
* Forbid unassigned imports.
|
|
575
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
575
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-unassigned-import.md
|
|
576
576
|
*/
|
|
577
577
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
578
578
|
/**
|
|
579
579
|
* Ensure imports point to a file/module that can be resolved.
|
|
580
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
580
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-unresolved.md
|
|
581
581
|
*/
|
|
582
582
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
583
583
|
/**
|
|
584
584
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
585
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
585
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-unused-modules.md
|
|
586
586
|
*/
|
|
587
587
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
588
588
|
/**
|
|
589
589
|
* Forbid unnecessary path segments in import and require statements.
|
|
590
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
590
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-useless-path-segments.md
|
|
591
591
|
*/
|
|
592
592
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
593
593
|
/**
|
|
594
594
|
* Forbid webpack loader syntax in imports.
|
|
595
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
595
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/no-webpack-loader-syntax.md
|
|
596
596
|
*/
|
|
597
597
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
598
598
|
/**
|
|
599
599
|
* Enforce a convention in module import order.
|
|
600
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
600
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/order.md
|
|
601
601
|
*/
|
|
602
602
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
603
603
|
/**
|
|
604
604
|
* Prefer a default export if module exports a single name or multiple names.
|
|
605
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
605
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/prefer-default-export.md
|
|
606
606
|
*/
|
|
607
607
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
608
608
|
/**
|
|
609
609
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
610
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
610
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.3/docs/rules/unambiguous.md
|
|
611
611
|
*/
|
|
612
612
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
613
613
|
/**
|
|
@@ -3668,8 +3668,9 @@ interface RuleOptions {
|
|
|
3668
3668
|
*/
|
|
3669
3669
|
'style/jsx-function-call-newline'?: Linter.RuleEntry<StyleJsxFunctionCallNewline>
|
|
3670
3670
|
/**
|
|
3671
|
-
* Enforce JSX indentation
|
|
3671
|
+
* Enforce JSX indentation. Deprecated, use `indent` rule instead.
|
|
3672
3672
|
* @see https://eslint.style/rules/jsx/jsx-indent
|
|
3673
|
+
* @deprecated
|
|
3673
3674
|
*/
|
|
3674
3675
|
'style/jsx-indent'?: Linter.RuleEntry<StyleJsxIndent>
|
|
3675
3676
|
/**
|
|
@@ -3854,7 +3855,7 @@ interface RuleOptions {
|
|
|
3854
3855
|
'style/nonblock-statement-body-position'?: Linter.RuleEntry<StyleNonblockStatementBodyPosition>
|
|
3855
3856
|
/**
|
|
3856
3857
|
* Enforce consistent line breaks after opening and before closing braces
|
|
3857
|
-
* @see https://eslint.style/rules/
|
|
3858
|
+
* @see https://eslint.style/rules/ts/object-curly-newline
|
|
3858
3859
|
*/
|
|
3859
3860
|
'style/object-curly-newline'?: Linter.RuleEntry<StyleObjectCurlyNewline>
|
|
3860
3861
|
/**
|
|
@@ -3864,7 +3865,7 @@ interface RuleOptions {
|
|
|
3864
3865
|
'style/object-curly-spacing'?: Linter.RuleEntry<StyleObjectCurlySpacing>
|
|
3865
3866
|
/**
|
|
3866
3867
|
* Enforce placing object properties on separate lines
|
|
3867
|
-
* @see https://eslint.style/rules/
|
|
3868
|
+
* @see https://eslint.style/rules/ts/object-property-newline
|
|
3868
3869
|
*/
|
|
3869
3870
|
'style/object-property-newline'?: Linter.RuleEntry<StyleObjectPropertyNewline>
|
|
3870
3871
|
/**
|
|
@@ -4306,23 +4307,6 @@ interface RuleOptions {
|
|
|
4306
4307
|
* @see https://typescript-eslint.io/rules/ban-tslint-comment
|
|
4307
4308
|
*/
|
|
4308
4309
|
'ts/ban-tslint-comment'?: Linter.RuleEntry<[]>
|
|
4309
|
-
/**
|
|
4310
|
-
* Disallow certain types
|
|
4311
|
-
* @see https://typescript-eslint.io/rules/ban-types
|
|
4312
|
-
*/
|
|
4313
|
-
'ts/ban-types'?: Linter.RuleEntry<TsBanTypes>
|
|
4314
|
-
/**
|
|
4315
|
-
* Disallow or enforce spaces inside of blocks after opening block and before closing block
|
|
4316
|
-
* @see https://typescript-eslint.io/rules/block-spacing
|
|
4317
|
-
* @deprecated
|
|
4318
|
-
*/
|
|
4319
|
-
'ts/block-spacing'?: Linter.RuleEntry<TsBlockSpacing>
|
|
4320
|
-
/**
|
|
4321
|
-
* Enforce consistent brace style for blocks
|
|
4322
|
-
* @see https://typescript-eslint.io/rules/brace-style
|
|
4323
|
-
* @deprecated
|
|
4324
|
-
*/
|
|
4325
|
-
'ts/brace-style'?: Linter.RuleEntry<TsBraceStyle>
|
|
4326
4310
|
/**
|
|
4327
4311
|
* Enforce that literals on classes are exposed in a consistent style
|
|
4328
4312
|
* @see https://typescript-eslint.io/rules/class-literal-property-style
|
|
@@ -4333,18 +4317,6 @@ interface RuleOptions {
|
|
|
4333
4317
|
* @see https://typescript-eslint.io/rules/class-methods-use-this
|
|
4334
4318
|
*/
|
|
4335
4319
|
'ts/class-methods-use-this'?: Linter.RuleEntry<TsClassMethodsUseThis>
|
|
4336
|
-
/**
|
|
4337
|
-
* Require or disallow trailing commas
|
|
4338
|
-
* @see https://typescript-eslint.io/rules/comma-dangle
|
|
4339
|
-
* @deprecated
|
|
4340
|
-
*/
|
|
4341
|
-
'ts/comma-dangle'?: Linter.RuleEntry<TsCommaDangle>
|
|
4342
|
-
/**
|
|
4343
|
-
* Enforce consistent spacing before and after commas
|
|
4344
|
-
* @see https://typescript-eslint.io/rules/comma-spacing
|
|
4345
|
-
* @deprecated
|
|
4346
|
-
*/
|
|
4347
|
-
'ts/comma-spacing'?: Linter.RuleEntry<TsCommaSpacing>
|
|
4348
4320
|
/**
|
|
4349
4321
|
* Enforce specifying generic type arguments on type annotation or constructor name of a constructor call
|
|
4350
4322
|
* @see https://typescript-eslint.io/rules/consistent-generic-constructors
|
|
@@ -4405,58 +4377,16 @@ interface RuleOptions {
|
|
|
4405
4377
|
* @see https://typescript-eslint.io/rules/explicit-module-boundary-types
|
|
4406
4378
|
*/
|
|
4407
4379
|
'ts/explicit-module-boundary-types'?: Linter.RuleEntry<TsExplicitModuleBoundaryTypes>
|
|
4408
|
-
/**
|
|
4409
|
-
* Require or disallow spacing between function identifiers and their invocations
|
|
4410
|
-
* @see https://typescript-eslint.io/rules/func-call-spacing
|
|
4411
|
-
* @deprecated
|
|
4412
|
-
*/
|
|
4413
|
-
'ts/func-call-spacing'?: Linter.RuleEntry<TsFuncCallSpacing>
|
|
4414
|
-
/**
|
|
4415
|
-
* Enforce consistent indentation
|
|
4416
|
-
* @see https://typescript-eslint.io/rules/indent
|
|
4417
|
-
* @deprecated
|
|
4418
|
-
*/
|
|
4419
|
-
'ts/indent'?: Linter.RuleEntry<TsIndent>
|
|
4420
4380
|
/**
|
|
4421
4381
|
* Require or disallow initialization in variable declarations
|
|
4422
4382
|
* @see https://typescript-eslint.io/rules/init-declarations
|
|
4423
4383
|
*/
|
|
4424
4384
|
'ts/init-declarations'?: Linter.RuleEntry<TsInitDeclarations>
|
|
4425
|
-
/**
|
|
4426
|
-
* Enforce consistent spacing between property names and type annotations in types and interfaces
|
|
4427
|
-
* @see https://typescript-eslint.io/rules/key-spacing
|
|
4428
|
-
* @deprecated
|
|
4429
|
-
*/
|
|
4430
|
-
'ts/key-spacing'?: Linter.RuleEntry<TsKeySpacing>
|
|
4431
|
-
/**
|
|
4432
|
-
* Enforce consistent spacing before and after keywords
|
|
4433
|
-
* @see https://typescript-eslint.io/rules/keyword-spacing
|
|
4434
|
-
* @deprecated
|
|
4435
|
-
*/
|
|
4436
|
-
'ts/keyword-spacing'?: Linter.RuleEntry<TsKeywordSpacing>
|
|
4437
|
-
/**
|
|
4438
|
-
* Require empty lines around comments
|
|
4439
|
-
* @see https://typescript-eslint.io/rules/lines-around-comment
|
|
4440
|
-
* @deprecated
|
|
4441
|
-
*/
|
|
4442
|
-
'ts/lines-around-comment'?: Linter.RuleEntry<TsLinesAroundComment>
|
|
4443
|
-
/**
|
|
4444
|
-
* Require or disallow an empty line between class members
|
|
4445
|
-
* @see https://typescript-eslint.io/rules/lines-between-class-members
|
|
4446
|
-
* @deprecated
|
|
4447
|
-
*/
|
|
4448
|
-
'ts/lines-between-class-members'?: Linter.RuleEntry<TsLinesBetweenClassMembers>
|
|
4449
4385
|
/**
|
|
4450
4386
|
* Enforce a maximum number of parameters in function definitions
|
|
4451
4387
|
* @see https://typescript-eslint.io/rules/max-params
|
|
4452
4388
|
*/
|
|
4453
4389
|
'ts/max-params'?: Linter.RuleEntry<TsMaxParams>
|
|
4454
|
-
/**
|
|
4455
|
-
* Require a specific member delimiter style for interfaces and type literals
|
|
4456
|
-
* @see https://typescript-eslint.io/rules/member-delimiter-style
|
|
4457
|
-
* @deprecated
|
|
4458
|
-
*/
|
|
4459
|
-
'ts/member-delimiter-style'?: Linter.RuleEntry<TsMemberDelimiterStyle>
|
|
4460
4390
|
/**
|
|
4461
4391
|
* Require a consistent member declaration order
|
|
4462
4392
|
* @see https://typescript-eslint.io/rules/member-ordering
|
|
@@ -4525,8 +4455,14 @@ interface RuleOptions {
|
|
|
4525
4455
|
/**
|
|
4526
4456
|
* Disallow the declaration of empty interfaces
|
|
4527
4457
|
* @see https://typescript-eslint.io/rules/no-empty-interface
|
|
4458
|
+
* @deprecated
|
|
4528
4459
|
*/
|
|
4529
4460
|
'ts/no-empty-interface'?: Linter.RuleEntry<TsNoEmptyInterface>
|
|
4461
|
+
/**
|
|
4462
|
+
* Disallow accidentally using the "empty object" type
|
|
4463
|
+
* @see https://typescript-eslint.io/rules/no-empty-object-type
|
|
4464
|
+
*/
|
|
4465
|
+
'ts/no-empty-object-type'?: Linter.RuleEntry<TsNoEmptyObjectType>
|
|
4530
4466
|
/**
|
|
4531
4467
|
* Disallow the `any` type
|
|
4532
4468
|
* @see https://typescript-eslint.io/rules/no-explicit-any
|
|
@@ -4537,18 +4473,6 @@ interface RuleOptions {
|
|
|
4537
4473
|
* @see https://typescript-eslint.io/rules/no-extra-non-null-assertion
|
|
4538
4474
|
*/
|
|
4539
4475
|
'ts/no-extra-non-null-assertion'?: Linter.RuleEntry<[]>
|
|
4540
|
-
/**
|
|
4541
|
-
* Disallow unnecessary parentheses
|
|
4542
|
-
* @see https://typescript-eslint.io/rules/no-extra-parens
|
|
4543
|
-
* @deprecated
|
|
4544
|
-
*/
|
|
4545
|
-
'ts/no-extra-parens'?: Linter.RuleEntry<TsNoExtraParens>
|
|
4546
|
-
/**
|
|
4547
|
-
* Disallow unnecessary semicolons
|
|
4548
|
-
* @see https://typescript-eslint.io/rules/no-extra-semi
|
|
4549
|
-
* @deprecated
|
|
4550
|
-
*/
|
|
4551
|
-
'ts/no-extra-semi'?: Linter.RuleEntry<[]>
|
|
4552
4476
|
/**
|
|
4553
4477
|
* Disallow classes used as namespaces
|
|
4554
4478
|
* @see https://typescript-eslint.io/rules/no-extraneous-class
|
|
@@ -4597,6 +4521,7 @@ interface RuleOptions {
|
|
|
4597
4521
|
/**
|
|
4598
4522
|
* Disallow literal numbers that lose precision
|
|
4599
4523
|
* @see https://typescript-eslint.io/rules/no-loss-of-precision
|
|
4524
|
+
* @deprecated
|
|
4600
4525
|
*/
|
|
4601
4526
|
'ts/no-loss-of-precision'?: Linter.RuleEntry<[]>
|
|
4602
4527
|
/**
|
|
@@ -4664,6 +4589,11 @@ interface RuleOptions {
|
|
|
4664
4589
|
* @see https://typescript-eslint.io/rules/no-restricted-imports
|
|
4665
4590
|
*/
|
|
4666
4591
|
'ts/no-restricted-imports'?: Linter.RuleEntry<TsNoRestrictedImports>
|
|
4592
|
+
/**
|
|
4593
|
+
* Disallow certain types
|
|
4594
|
+
* @see https://typescript-eslint.io/rules/no-restricted-types
|
|
4595
|
+
*/
|
|
4596
|
+
'ts/no-restricted-types'?: Linter.RuleEntry<TsNoRestrictedTypes>
|
|
4667
4597
|
/**
|
|
4668
4598
|
* Disallow variable declarations from shadowing variables declared in the outer scope
|
|
4669
4599
|
* @see https://typescript-eslint.io/rules/no-shadow
|
|
@@ -4674,12 +4604,6 @@ interface RuleOptions {
|
|
|
4674
4604
|
* @see https://typescript-eslint.io/rules/no-this-alias
|
|
4675
4605
|
*/
|
|
4676
4606
|
'ts/no-this-alias'?: Linter.RuleEntry<TsNoThisAlias>
|
|
4677
|
-
/**
|
|
4678
|
-
* Disallow throwing literals as exceptions
|
|
4679
|
-
* @see https://typescript-eslint.io/rules/no-throw-literal
|
|
4680
|
-
* @deprecated
|
|
4681
|
-
*/
|
|
4682
|
-
'ts/no-throw-literal'?: Linter.RuleEntry<TsNoThrowLiteral>
|
|
4683
4607
|
/**
|
|
4684
4608
|
* Disallow type aliases
|
|
4685
4609
|
* @see https://typescript-eslint.io/rules/no-type-alias
|
|
@@ -4721,6 +4645,11 @@ interface RuleOptions {
|
|
|
4721
4645
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
|
|
4722
4646
|
*/
|
|
4723
4647
|
'ts/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>
|
|
4648
|
+
/**
|
|
4649
|
+
* Disallow type parameters that only appear once
|
|
4650
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
|
|
4651
|
+
*/
|
|
4652
|
+
'ts/no-unnecessary-type-parameters'?: Linter.RuleEntry<[]>
|
|
4724
4653
|
/**
|
|
4725
4654
|
* Disallow calling a function with a value with type `any`
|
|
4726
4655
|
* @see https://typescript-eslint.io/rules/no-unsafe-argument
|
|
@@ -4746,6 +4675,11 @@ interface RuleOptions {
|
|
|
4746
4675
|
* @see https://typescript-eslint.io/rules/no-unsafe-enum-comparison
|
|
4747
4676
|
*/
|
|
4748
4677
|
'ts/no-unsafe-enum-comparison'?: Linter.RuleEntry<[]>
|
|
4678
|
+
/**
|
|
4679
|
+
* Disallow using the unsafe built-in Function type
|
|
4680
|
+
* @see https://typescript-eslint.io/rules/no-unsafe-function-type
|
|
4681
|
+
*/
|
|
4682
|
+
'ts/no-unsafe-function-type'?: Linter.RuleEntry<[]>
|
|
4749
4683
|
/**
|
|
4750
4684
|
* Disallow member access on a value with type `any`
|
|
4751
4685
|
* @see https://typescript-eslint.io/rules/no-unsafe-member-access
|
|
@@ -4786,39 +4720,27 @@ interface RuleOptions {
|
|
|
4786
4720
|
* @see https://typescript-eslint.io/rules/no-useless-empty-export
|
|
4787
4721
|
*/
|
|
4788
4722
|
'ts/no-useless-empty-export'?: Linter.RuleEntry<[]>
|
|
4789
|
-
/**
|
|
4790
|
-
* Disallow unnecessary template expressions
|
|
4791
|
-
* @see https://typescript-eslint.io/rules/no-useless-template-literals
|
|
4792
|
-
* @deprecated
|
|
4793
|
-
*/
|
|
4794
|
-
'ts/no-useless-template-literals'?: Linter.RuleEntry<[]>
|
|
4795
4723
|
/**
|
|
4796
4724
|
* Disallow `require` statements except in import statements
|
|
4797
4725
|
* @see https://typescript-eslint.io/rules/no-var-requires
|
|
4726
|
+
* @deprecated
|
|
4798
4727
|
*/
|
|
4799
4728
|
'ts/no-var-requires'?: Linter.RuleEntry<TsNoVarRequires>
|
|
4729
|
+
/**
|
|
4730
|
+
* Disallow using confusing built-in primitive class wrappers
|
|
4731
|
+
* @see https://typescript-eslint.io/rules/no-wrapper-object-types
|
|
4732
|
+
*/
|
|
4733
|
+
'ts/no-wrapper-object-types'?: Linter.RuleEntry<[]>
|
|
4800
4734
|
/**
|
|
4801
4735
|
* Enforce non-null assertions over explicit type casts
|
|
4802
4736
|
* @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
|
|
4803
4737
|
*/
|
|
4804
4738
|
'ts/non-nullable-type-assertion-style'?: Linter.RuleEntry<[]>
|
|
4805
|
-
/**
|
|
4806
|
-
* Enforce consistent spacing inside braces
|
|
4807
|
-
* @see https://typescript-eslint.io/rules/object-curly-spacing
|
|
4808
|
-
* @deprecated
|
|
4809
|
-
*/
|
|
4810
|
-
'ts/object-curly-spacing'?: Linter.RuleEntry<TsObjectCurlySpacing>
|
|
4811
4739
|
/**
|
|
4812
4740
|
* Disallow throwing non-`Error` values as exceptions
|
|
4813
4741
|
* @see https://typescript-eslint.io/rules/only-throw-error
|
|
4814
4742
|
*/
|
|
4815
4743
|
'ts/only-throw-error'?: Linter.RuleEntry<TsOnlyThrowError>
|
|
4816
|
-
/**
|
|
4817
|
-
* Require or disallow padding lines between statements
|
|
4818
|
-
* @see https://typescript-eslint.io/rules/padding-line-between-statements
|
|
4819
|
-
* @deprecated
|
|
4820
|
-
*/
|
|
4821
|
-
'ts/padding-line-between-statements'?: Linter.RuleEntry<TsPaddingLineBetweenStatements>
|
|
4822
4744
|
/**
|
|
4823
4745
|
* Require or disallow parameter properties in class constructors
|
|
4824
4746
|
* @see https://typescript-eslint.io/rules/parameter-properties
|
|
@@ -4925,12 +4847,6 @@ interface RuleOptions {
|
|
|
4925
4847
|
* @see https://typescript-eslint.io/rules/promise-function-async
|
|
4926
4848
|
*/
|
|
4927
4849
|
'ts/promise-function-async'?: Linter.RuleEntry<TsPromiseFunctionAsync>
|
|
4928
|
-
/**
|
|
4929
|
-
* Enforce the consistent use of either backticks, double, or single quotes
|
|
4930
|
-
* @see https://typescript-eslint.io/rules/quotes
|
|
4931
|
-
* @deprecated
|
|
4932
|
-
*/
|
|
4933
|
-
'ts/quotes'?: Linter.RuleEntry<TsQuotes>
|
|
4934
4850
|
/**
|
|
4935
4851
|
* Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
|
|
4936
4852
|
* @see https://typescript-eslint.io/rules/require-array-sort-compare
|
|
@@ -4952,39 +4868,16 @@ interface RuleOptions {
|
|
|
4952
4868
|
*/
|
|
4953
4869
|
'ts/restrict-template-expressions'?: Linter.RuleEntry<TsRestrictTemplateExpressions>
|
|
4954
4870
|
/**
|
|
4955
|
-
* Enforce consistent
|
|
4871
|
+
* Enforce consistent awaiting of returned promises
|
|
4956
4872
|
* @see https://typescript-eslint.io/rules/return-await
|
|
4957
4873
|
*/
|
|
4958
4874
|
'ts/return-await'?: Linter.RuleEntry<TsReturnAwait>
|
|
4959
|
-
/**
|
|
4960
|
-
* Require or disallow semicolons instead of ASI
|
|
4961
|
-
* @see https://typescript-eslint.io/rules/semi
|
|
4962
|
-
* @deprecated
|
|
4963
|
-
*/
|
|
4964
|
-
'ts/semi'?: Linter.RuleEntry<TsSemi>
|
|
4965
4875
|
/**
|
|
4966
4876
|
* Enforce constituents of a type union/intersection to be sorted alphabetically
|
|
4967
4877
|
* @see https://typescript-eslint.io/rules/sort-type-constituents
|
|
4968
|
-
*/
|
|
4969
|
-
'ts/sort-type-constituents'?: Linter.RuleEntry<TsSortTypeConstituents>
|
|
4970
|
-
/**
|
|
4971
|
-
* Enforce consistent spacing before blocks
|
|
4972
|
-
* @see https://typescript-eslint.io/rules/space-before-blocks
|
|
4973
|
-
* @deprecated
|
|
4974
|
-
*/
|
|
4975
|
-
'ts/space-before-blocks'?: Linter.RuleEntry<TsSpaceBeforeBlocks>
|
|
4976
|
-
/**
|
|
4977
|
-
* Enforce consistent spacing before function parenthesis
|
|
4978
|
-
* @see https://typescript-eslint.io/rules/space-before-function-paren
|
|
4979
|
-
* @deprecated
|
|
4980
|
-
*/
|
|
4981
|
-
'ts/space-before-function-paren'?: Linter.RuleEntry<TsSpaceBeforeFunctionParen>
|
|
4982
|
-
/**
|
|
4983
|
-
* Require spacing around infix operators
|
|
4984
|
-
* @see https://typescript-eslint.io/rules/space-infix-ops
|
|
4985
4878
|
* @deprecated
|
|
4986
4879
|
*/
|
|
4987
|
-
'ts/
|
|
4880
|
+
'ts/sort-type-constituents'?: Linter.RuleEntry<TsSortTypeConstituents>
|
|
4988
4881
|
/**
|
|
4989
4882
|
* Disallow certain types in boolean expressions
|
|
4990
4883
|
* @see https://typescript-eslint.io/rules/strict-boolean-expressions
|
|
@@ -5000,12 +4893,6 @@ interface RuleOptions {
|
|
|
5000
4893
|
* @see https://typescript-eslint.io/rules/triple-slash-reference
|
|
5001
4894
|
*/
|
|
5002
4895
|
'ts/triple-slash-reference'?: Linter.RuleEntry<TsTripleSlashReference>
|
|
5003
|
-
/**
|
|
5004
|
-
* Require consistent spacing around type annotations
|
|
5005
|
-
* @see https://typescript-eslint.io/rules/type-annotation-spacing
|
|
5006
|
-
* @deprecated
|
|
5007
|
-
*/
|
|
5008
|
-
'ts/type-annotation-spacing'?: Linter.RuleEntry<TsTypeAnnotationSpacing>
|
|
5009
4896
|
/**
|
|
5010
4897
|
* Require type annotations in certain places
|
|
5011
4898
|
* @see https://typescript-eslint.io/rules/typedef
|
|
@@ -5033,677 +4920,682 @@ interface RuleOptions {
|
|
|
5033
4920
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
5034
4921
|
/**
|
|
5035
4922
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
5036
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4923
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/better-regex.md
|
|
5037
4924
|
*/
|
|
5038
4925
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
5039
4926
|
/**
|
|
5040
4927
|
* Enforce a specific parameter name in catch clauses.
|
|
5041
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4928
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/catch-error-name.md
|
|
5042
4929
|
*/
|
|
5043
4930
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
5044
4931
|
/**
|
|
5045
4932
|
* Use destructured variables over properties.
|
|
5046
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4933
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/consistent-destructuring.md
|
|
5047
4934
|
*/
|
|
5048
4935
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
5049
4936
|
/**
|
|
5050
4937
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
5051
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4938
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/consistent-empty-array-spread.md
|
|
5052
4939
|
*/
|
|
5053
4940
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
5054
4941
|
/**
|
|
5055
4942
|
* Move function definitions to the highest possible scope.
|
|
5056
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4943
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/consistent-function-scoping.md
|
|
5057
4944
|
*/
|
|
5058
4945
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
5059
4946
|
/**
|
|
5060
4947
|
* Enforce correct `Error` subclassing.
|
|
5061
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4948
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/custom-error-definition.md
|
|
5062
4949
|
*/
|
|
5063
4950
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
5064
4951
|
/**
|
|
5065
4952
|
* Enforce no spaces between braces.
|
|
5066
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4953
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/empty-brace-spaces.md
|
|
5067
4954
|
*/
|
|
5068
4955
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
5069
4956
|
/**
|
|
5070
4957
|
* Enforce passing a `message` value when creating a built-in error.
|
|
5071
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4958
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/error-message.md
|
|
5072
4959
|
*/
|
|
5073
4960
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
5074
4961
|
/**
|
|
5075
4962
|
* Require escape sequences to use uppercase values.
|
|
5076
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4963
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/escape-case.md
|
|
5077
4964
|
*/
|
|
5078
4965
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
5079
4966
|
/**
|
|
5080
4967
|
* Add expiration conditions to TODO comments.
|
|
5081
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4968
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/expiring-todo-comments.md
|
|
5082
4969
|
*/
|
|
5083
4970
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
5084
4971
|
/**
|
|
5085
4972
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
5086
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4973
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/explicit-length-check.md
|
|
5087
4974
|
*/
|
|
5088
4975
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
5089
4976
|
/**
|
|
5090
4977
|
* Enforce a case style for filenames.
|
|
5091
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4978
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/filename-case.md
|
|
5092
4979
|
*/
|
|
5093
4980
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
5094
4981
|
/**
|
|
5095
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4982
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#import-index
|
|
5096
4983
|
* @deprecated
|
|
5097
4984
|
*/
|
|
5098
4985
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
5099
4986
|
/**
|
|
5100
4987
|
* Enforce specific import styles per module.
|
|
5101
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4988
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/import-style.md
|
|
5102
4989
|
*/
|
|
5103
4990
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
5104
4991
|
/**
|
|
5105
4992
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
5106
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4993
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/new-for-builtins.md
|
|
5107
4994
|
*/
|
|
5108
4995
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
5109
4996
|
/**
|
|
5110
4997
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
5111
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4998
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
5112
4999
|
*/
|
|
5113
5000
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
5114
5001
|
/**
|
|
5115
5002
|
* Disallow anonymous functions and classes as the default export.
|
|
5116
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5003
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-anonymous-default-export.md
|
|
5117
5004
|
*/
|
|
5118
5005
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
5119
5006
|
/**
|
|
5120
5007
|
* Prevent passing a function reference directly to iterator methods.
|
|
5121
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5008
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-callback-reference.md
|
|
5122
5009
|
*/
|
|
5123
5010
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
5124
5011
|
/**
|
|
5125
5012
|
* Prefer `for…of` over the `forEach` method.
|
|
5126
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5013
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-for-each.md
|
|
5127
5014
|
*/
|
|
5128
5015
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
5129
5016
|
/**
|
|
5130
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5017
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#no-array-instanceof
|
|
5131
5018
|
* @deprecated
|
|
5132
5019
|
*/
|
|
5133
5020
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
5134
5021
|
/**
|
|
5135
5022
|
* Disallow using the `this` argument in array methods.
|
|
5136
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5023
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-method-this-argument.md
|
|
5137
5024
|
*/
|
|
5138
5025
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
5139
5026
|
/**
|
|
5140
5027
|
* Enforce combining multiple `Array#push()` into one call.
|
|
5141
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5028
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-push-push.md
|
|
5142
5029
|
*/
|
|
5143
5030
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
5144
5031
|
/**
|
|
5145
5032
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5146
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5033
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-reduce.md
|
|
5147
5034
|
*/
|
|
5148
5035
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
5149
5036
|
/**
|
|
5150
5037
|
* Disallow member access from await expression.
|
|
5151
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5038
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-await-expression-member.md
|
|
5152
5039
|
*/
|
|
5153
5040
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
5154
5041
|
/**
|
|
5155
5042
|
* Disallow using `await` in `Promise` method parameters.
|
|
5156
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5043
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-await-in-promise-methods.md
|
|
5157
5044
|
*/
|
|
5158
5045
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5159
5046
|
/**
|
|
5160
5047
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5161
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5048
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-console-spaces.md
|
|
5162
5049
|
*/
|
|
5163
5050
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
5164
5051
|
/**
|
|
5165
5052
|
* Do not use `document.cookie` directly.
|
|
5166
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5053
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-document-cookie.md
|
|
5167
5054
|
*/
|
|
5168
5055
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
5169
5056
|
/**
|
|
5170
5057
|
* Disallow empty files.
|
|
5171
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5058
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-empty-file.md
|
|
5172
5059
|
*/
|
|
5173
5060
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
5174
5061
|
/**
|
|
5175
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5062
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
5176
5063
|
* @deprecated
|
|
5177
5064
|
*/
|
|
5178
5065
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
5179
5066
|
/**
|
|
5180
5067
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
5181
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5068
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-for-loop.md
|
|
5182
5069
|
*/
|
|
5183
5070
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
5184
5071
|
/**
|
|
5185
5072
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5186
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5073
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-hex-escape.md
|
|
5187
5074
|
*/
|
|
5188
5075
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
5189
5076
|
/**
|
|
5190
5077
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
5191
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5078
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-instanceof-array.md
|
|
5192
5079
|
*/
|
|
5193
5080
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
5194
5081
|
/**
|
|
5195
5082
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5196
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5083
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-invalid-fetch-options.md
|
|
5197
5084
|
*/
|
|
5198
5085
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
5199
5086
|
/**
|
|
5200
5087
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5201
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5088
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
5202
5089
|
*/
|
|
5203
5090
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
5204
5091
|
/**
|
|
5205
5092
|
* Disallow identifiers starting with `new` or `class`.
|
|
5206
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5093
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-keyword-prefix.md
|
|
5207
5094
|
*/
|
|
5208
5095
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
5209
5096
|
/**
|
|
5210
5097
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5211
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5098
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-lonely-if.md
|
|
5212
5099
|
*/
|
|
5213
5100
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
5214
5101
|
/**
|
|
5215
5102
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5216
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5103
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
5217
5104
|
*/
|
|
5218
5105
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
5219
5106
|
/**
|
|
5220
5107
|
* Disallow negated conditions.
|
|
5221
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5108
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-negated-condition.md
|
|
5222
5109
|
*/
|
|
5223
5110
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
5111
|
+
/**
|
|
5112
|
+
* Disallow negated expression in equality check.
|
|
5113
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-negation-in-equality-check.md
|
|
5114
|
+
*/
|
|
5115
|
+
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
5224
5116
|
/**
|
|
5225
5117
|
* Disallow nested ternary expressions.
|
|
5226
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5118
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-nested-ternary.md
|
|
5227
5119
|
*/
|
|
5228
5120
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
5229
5121
|
/**
|
|
5230
5122
|
* Disallow `new Array()`.
|
|
5231
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5123
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-new-array.md
|
|
5232
5124
|
*/
|
|
5233
5125
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
5234
5126
|
/**
|
|
5235
5127
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
5236
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5128
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-new-buffer.md
|
|
5237
5129
|
*/
|
|
5238
5130
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
5239
5131
|
/**
|
|
5240
5132
|
* Disallow the use of the `null` literal.
|
|
5241
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5133
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-null.md
|
|
5242
5134
|
*/
|
|
5243
5135
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
5244
5136
|
/**
|
|
5245
5137
|
* Disallow the use of objects as default parameters.
|
|
5246
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5138
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-object-as-default-parameter.md
|
|
5247
5139
|
*/
|
|
5248
5140
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
5249
5141
|
/**
|
|
5250
5142
|
* Disallow `process.exit()`.
|
|
5251
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5143
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-process-exit.md
|
|
5252
5144
|
*/
|
|
5253
5145
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
5254
5146
|
/**
|
|
5255
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5147
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#no-reduce
|
|
5256
5148
|
* @deprecated
|
|
5257
5149
|
*/
|
|
5258
5150
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
5259
5151
|
/**
|
|
5260
5152
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5261
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5153
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
5262
5154
|
*/
|
|
5263
5155
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5264
5156
|
/**
|
|
5265
5157
|
* Disallow classes that only have static members.
|
|
5266
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5158
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-static-only-class.md
|
|
5267
5159
|
*/
|
|
5268
5160
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
5269
5161
|
/**
|
|
5270
5162
|
* Disallow `then` property.
|
|
5271
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5163
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-thenable.md
|
|
5272
5164
|
*/
|
|
5273
5165
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
5274
5166
|
/**
|
|
5275
5167
|
* Disallow assigning `this` to a variable.
|
|
5276
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5168
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-this-assignment.md
|
|
5277
5169
|
*/
|
|
5278
5170
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
5279
5171
|
/**
|
|
5280
5172
|
* Disallow comparing `undefined` using `typeof`.
|
|
5281
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5173
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-typeof-undefined.md
|
|
5282
5174
|
*/
|
|
5283
5175
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
5284
5176
|
/**
|
|
5285
5177
|
* Disallow awaiting non-promise values.
|
|
5286
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5178
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unnecessary-await.md
|
|
5287
5179
|
*/
|
|
5288
5180
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
5289
5181
|
/**
|
|
5290
5182
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5291
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5183
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
5292
5184
|
*/
|
|
5293
5185
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
5294
5186
|
/**
|
|
5295
5187
|
* Disallow unreadable array destructuring.
|
|
5296
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5188
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
5297
5189
|
*/
|
|
5298
5190
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
5299
5191
|
/**
|
|
5300
5192
|
* Disallow unreadable IIFEs.
|
|
5301
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5193
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unreadable-iife.md
|
|
5302
5194
|
*/
|
|
5303
5195
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
5304
5196
|
/**
|
|
5305
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5197
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#no-unsafe-regex
|
|
5306
5198
|
* @deprecated
|
|
5307
5199
|
*/
|
|
5308
5200
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
5309
5201
|
/**
|
|
5310
5202
|
* Disallow unused object properties.
|
|
5311
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5203
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unused-properties.md
|
|
5312
5204
|
*/
|
|
5313
5205
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
5314
5206
|
/**
|
|
5315
5207
|
* Disallow useless fallback when spreading in object literals.
|
|
5316
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5208
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
5317
5209
|
*/
|
|
5318
5210
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
5319
5211
|
/**
|
|
5320
5212
|
* Disallow useless array length check.
|
|
5321
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5213
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-length-check.md
|
|
5322
5214
|
*/
|
|
5323
5215
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
5324
5216
|
/**
|
|
5325
5217
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5326
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5218
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
5327
5219
|
*/
|
|
5328
5220
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
5329
5221
|
/**
|
|
5330
5222
|
* Disallow unnecessary spread.
|
|
5331
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5223
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-spread.md
|
|
5332
5224
|
*/
|
|
5333
5225
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
5334
5226
|
/**
|
|
5335
5227
|
* Disallow useless case in switch statements.
|
|
5336
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5228
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-switch-case.md
|
|
5337
5229
|
*/
|
|
5338
5230
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
5339
5231
|
/**
|
|
5340
5232
|
* Disallow useless `undefined`.
|
|
5341
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5233
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-undefined.md
|
|
5342
5234
|
*/
|
|
5343
5235
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
5344
5236
|
/**
|
|
5345
5237
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5346
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5238
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-zero-fractions.md
|
|
5347
5239
|
*/
|
|
5348
5240
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
5349
5241
|
/**
|
|
5350
5242
|
* Enforce proper case for numeric literals.
|
|
5351
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5243
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/number-literal-case.md
|
|
5352
5244
|
*/
|
|
5353
5245
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
5354
5246
|
/**
|
|
5355
5247
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5356
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5248
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/numeric-separators-style.md
|
|
5357
5249
|
*/
|
|
5358
5250
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
5359
5251
|
/**
|
|
5360
5252
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5361
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5253
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-add-event-listener.md
|
|
5362
5254
|
*/
|
|
5363
5255
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
5364
5256
|
/**
|
|
5365
5257
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5366
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5258
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-find.md
|
|
5367
5259
|
*/
|
|
5368
5260
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
5369
5261
|
/**
|
|
5370
5262
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5371
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5263
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-flat.md
|
|
5372
5264
|
*/
|
|
5373
5265
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
5374
5266
|
/**
|
|
5375
5267
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5376
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5268
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-flat-map.md
|
|
5377
5269
|
*/
|
|
5378
5270
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
5379
5271
|
/**
|
|
5380
5272
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
5381
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5273
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-index-of.md
|
|
5382
5274
|
*/
|
|
5383
5275
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
5384
5276
|
/**
|
|
5385
|
-
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast}(…)`.
|
|
5386
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5277
|
+
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
5278
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-some.md
|
|
5387
5279
|
*/
|
|
5388
5280
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
5389
5281
|
/**
|
|
5390
5282
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5391
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5283
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-at.md
|
|
5392
5284
|
*/
|
|
5393
5285
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
5394
5286
|
/**
|
|
5395
5287
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5396
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5288
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
5397
5289
|
*/
|
|
5398
5290
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
5399
5291
|
/**
|
|
5400
5292
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5401
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5293
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-code-point.md
|
|
5402
5294
|
*/
|
|
5403
5295
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
5404
5296
|
/**
|
|
5405
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5297
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-dataset
|
|
5406
5298
|
* @deprecated
|
|
5407
5299
|
*/
|
|
5408
5300
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
5409
5301
|
/**
|
|
5410
5302
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5411
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5303
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-date-now.md
|
|
5412
5304
|
*/
|
|
5413
5305
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
5414
5306
|
/**
|
|
5415
5307
|
* Prefer default parameters over reassignment.
|
|
5416
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5308
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-default-parameters.md
|
|
5417
5309
|
*/
|
|
5418
5310
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
5419
5311
|
/**
|
|
5420
5312
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5421
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5313
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-dom-node-append.md
|
|
5422
5314
|
*/
|
|
5423
5315
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
5424
5316
|
/**
|
|
5425
5317
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5426
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5318
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
5427
5319
|
*/
|
|
5428
5320
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
5429
5321
|
/**
|
|
5430
5322
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5431
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5323
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-dom-node-remove.md
|
|
5432
5324
|
*/
|
|
5433
5325
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
5434
5326
|
/**
|
|
5435
5327
|
* Prefer `.textContent` over `.innerText`.
|
|
5436
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5328
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
5437
5329
|
*/
|
|
5438
5330
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
5439
5331
|
/**
|
|
5440
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5332
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-event-key
|
|
5441
5333
|
* @deprecated
|
|
5442
5334
|
*/
|
|
5443
5335
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
5444
5336
|
/**
|
|
5445
5337
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5446
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5338
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-event-target.md
|
|
5447
5339
|
*/
|
|
5448
5340
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
5449
5341
|
/**
|
|
5450
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5342
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
5451
5343
|
* @deprecated
|
|
5452
5344
|
*/
|
|
5453
5345
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
5454
5346
|
/**
|
|
5455
5347
|
* Prefer `export…from` when re-exporting.
|
|
5456
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5348
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-export-from.md
|
|
5457
5349
|
*/
|
|
5458
5350
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
5459
5351
|
/**
|
|
5460
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5352
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-flat-map
|
|
5461
5353
|
* @deprecated
|
|
5462
5354
|
*/
|
|
5463
5355
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
5464
5356
|
/**
|
|
5465
|
-
* Prefer `.includes()` over `.indexOf()
|
|
5466
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5357
|
+
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
5358
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-includes.md
|
|
5467
5359
|
*/
|
|
5468
5360
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
5469
5361
|
/**
|
|
5470
5362
|
* Prefer reading a JSON file as a buffer.
|
|
5471
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5363
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
5472
5364
|
*/
|
|
5473
5365
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
5474
5366
|
/**
|
|
5475
5367
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5476
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5368
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
5477
5369
|
*/
|
|
5478
5370
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
5479
5371
|
/**
|
|
5480
5372
|
* Prefer using a logical operator over a ternary.
|
|
5481
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5373
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5482
5374
|
*/
|
|
5483
5375
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
5484
5376
|
/**
|
|
5485
5377
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5486
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5378
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-math-trunc.md
|
|
5487
5379
|
*/
|
|
5488
5380
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
5489
5381
|
/**
|
|
5490
5382
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
5491
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5383
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
5492
5384
|
*/
|
|
5493
5385
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
5494
5386
|
/**
|
|
5495
5387
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5496
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5388
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-modern-math-apis.md
|
|
5497
5389
|
*/
|
|
5498
5390
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
5499
5391
|
/**
|
|
5500
5392
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5501
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5393
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-module.md
|
|
5502
5394
|
*/
|
|
5503
5395
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
5504
5396
|
/**
|
|
5505
5397
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5506
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5398
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
5507
5399
|
*/
|
|
5508
5400
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
5509
5401
|
/**
|
|
5510
5402
|
* Prefer negative index over `.length - index` when possible.
|
|
5511
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5403
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-negative-index.md
|
|
5512
5404
|
*/
|
|
5513
5405
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
5514
5406
|
/**
|
|
5515
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5407
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-node-append
|
|
5516
5408
|
* @deprecated
|
|
5517
5409
|
*/
|
|
5518
5410
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
5519
5411
|
/**
|
|
5520
5412
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5521
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5413
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-node-protocol.md
|
|
5522
5414
|
*/
|
|
5523
5415
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
5524
5416
|
/**
|
|
5525
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5417
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-node-remove
|
|
5526
5418
|
* @deprecated
|
|
5527
5419
|
*/
|
|
5528
5420
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
5529
5421
|
/**
|
|
5530
5422
|
* Prefer `Number` static properties over global ones.
|
|
5531
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5423
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-number-properties.md
|
|
5532
5424
|
*/
|
|
5533
5425
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
5534
5426
|
/**
|
|
5535
5427
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5536
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5428
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-object-from-entries.md
|
|
5537
5429
|
*/
|
|
5538
5430
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
5539
5431
|
/**
|
|
5540
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5432
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-object-has-own
|
|
5541
5433
|
* @deprecated
|
|
5542
5434
|
*/
|
|
5543
5435
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
5544
5436
|
/**
|
|
5545
5437
|
* Prefer omitting the `catch` binding parameter.
|
|
5546
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5438
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
5547
5439
|
*/
|
|
5548
5440
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
5549
5441
|
/**
|
|
5550
5442
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5551
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5443
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-prototype-methods.md
|
|
5552
5444
|
*/
|
|
5553
5445
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
5554
5446
|
/**
|
|
5555
5447
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
|
|
5556
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5448
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-query-selector.md
|
|
5557
5449
|
*/
|
|
5558
5450
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
5559
5451
|
/**
|
|
5560
5452
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5561
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5453
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-reflect-apply.md
|
|
5562
5454
|
*/
|
|
5563
5455
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
5564
5456
|
/**
|
|
5565
5457
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5566
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5458
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-regexp-test.md
|
|
5567
5459
|
*/
|
|
5568
5460
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
5569
5461
|
/**
|
|
5570
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5462
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-replace-all
|
|
5571
5463
|
* @deprecated
|
|
5572
5464
|
*/
|
|
5573
5465
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
5574
5466
|
/**
|
|
5575
5467
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5576
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5468
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-set-has.md
|
|
5577
5469
|
*/
|
|
5578
5470
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
5579
5471
|
/**
|
|
5580
5472
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5581
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5473
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-set-size.md
|
|
5582
5474
|
*/
|
|
5583
5475
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
5584
5476
|
/**
|
|
5585
5477
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5586
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5478
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-spread.md
|
|
5587
5479
|
*/
|
|
5588
5480
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
5589
5481
|
/**
|
|
5590
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5482
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
5591
5483
|
* @deprecated
|
|
5592
5484
|
*/
|
|
5593
5485
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5594
5486
|
/**
|
|
5595
5487
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5596
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5488
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-raw.md
|
|
5597
5489
|
*/
|
|
5598
5490
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
5599
5491
|
/**
|
|
5600
5492
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5601
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5493
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-replace-all.md
|
|
5602
5494
|
*/
|
|
5603
5495
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
5604
5496
|
/**
|
|
5605
5497
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5606
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5498
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-slice.md
|
|
5607
5499
|
*/
|
|
5608
5500
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
5609
5501
|
/**
|
|
5610
5502
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5611
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5503
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
5612
5504
|
*/
|
|
5613
5505
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5614
5506
|
/**
|
|
5615
5507
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5616
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5508
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
5617
5509
|
*/
|
|
5618
5510
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5619
5511
|
/**
|
|
5620
5512
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5621
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5513
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-structured-clone.md
|
|
5622
5514
|
*/
|
|
5623
5515
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
5624
5516
|
/**
|
|
5625
5517
|
* Prefer `switch` over multiple `else-if`.
|
|
5626
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5518
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-switch.md
|
|
5627
5519
|
*/
|
|
5628
5520
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
5629
5521
|
/**
|
|
5630
5522
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5631
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5523
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-ternary.md
|
|
5632
5524
|
*/
|
|
5633
5525
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
5634
5526
|
/**
|
|
5635
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5527
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-text-content
|
|
5636
5528
|
* @deprecated
|
|
5637
5529
|
*/
|
|
5638
5530
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
5639
5531
|
/**
|
|
5640
5532
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5641
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5533
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-top-level-await.md
|
|
5642
5534
|
*/
|
|
5643
5535
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
5644
5536
|
/**
|
|
5645
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5537
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-trim-start-end
|
|
5646
5538
|
* @deprecated
|
|
5647
5539
|
*/
|
|
5648
5540
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5649
5541
|
/**
|
|
5650
5542
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5651
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5543
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-type-error.md
|
|
5652
5544
|
*/
|
|
5653
5545
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
5654
5546
|
/**
|
|
5655
5547
|
* Prevent abbreviations.
|
|
5656
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5548
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prevent-abbreviations.md
|
|
5657
5549
|
*/
|
|
5658
5550
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
5659
5551
|
/**
|
|
5660
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5552
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#regex-shorthand
|
|
5661
5553
|
* @deprecated
|
|
5662
5554
|
*/
|
|
5663
5555
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
5664
5556
|
/**
|
|
5665
5557
|
* Enforce consistent relative URL style.
|
|
5666
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5558
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/relative-url-style.md
|
|
5667
5559
|
*/
|
|
5668
5560
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
5669
5561
|
/**
|
|
5670
5562
|
* Enforce using the separator argument with `Array#join()`.
|
|
5671
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5563
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/require-array-join-separator.md
|
|
5672
5564
|
*/
|
|
5673
5565
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
5674
5566
|
/**
|
|
5675
5567
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5676
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5568
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5677
5569
|
*/
|
|
5678
5570
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
5679
5571
|
/**
|
|
5680
5572
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5681
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5573
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/require-post-message-target-origin.md
|
|
5682
5574
|
*/
|
|
5683
5575
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
5684
5576
|
/**
|
|
5685
5577
|
* Enforce better string content.
|
|
5686
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5578
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/string-content.md
|
|
5687
5579
|
*/
|
|
5688
5580
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
5689
5581
|
/**
|
|
5690
5582
|
* Enforce consistent brace style for `case` clauses.
|
|
5691
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5583
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/switch-case-braces.md
|
|
5692
5584
|
*/
|
|
5693
5585
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
5694
5586
|
/**
|
|
5695
5587
|
* Fix whitespace-insensitive template indentation.
|
|
5696
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5588
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/template-indent.md
|
|
5697
5589
|
*/
|
|
5698
5590
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
5699
5591
|
/**
|
|
5700
5592
|
* Enforce consistent case for text encoding identifiers.
|
|
5701
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5593
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/text-encoding-identifier-case.md
|
|
5702
5594
|
*/
|
|
5703
5595
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
5704
5596
|
/**
|
|
5705
5597
|
* Require `new` when creating an error.
|
|
5706
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5598
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/throw-new-error.md
|
|
5707
5599
|
*/
|
|
5708
5600
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
5709
5601
|
/**
|
|
@@ -9438,6 +9330,7 @@ type NodeNoUnpublishedImport = []|[{
|
|
|
9438
9330
|
})[]])
|
|
9439
9331
|
resolvePaths?: string[]
|
|
9440
9332
|
ignoreTypeImport?: boolean
|
|
9333
|
+
ignorePrivate?: boolean
|
|
9441
9334
|
}]
|
|
9442
9335
|
// ----- node/no-unpublished-require -----
|
|
9443
9336
|
type NodeNoUnpublishedRequire = []|[{
|
|
@@ -9460,6 +9353,7 @@ type NodeNoUnpublishedRequire = []|[{
|
|
|
9460
9353
|
})[]])
|
|
9461
9354
|
resolvePaths?: string[]
|
|
9462
9355
|
tryExtensions?: string[]
|
|
9356
|
+
ignorePrivate?: boolean
|
|
9463
9357
|
}]
|
|
9464
9358
|
// ----- node/no-unsupported-features/es-builtins -----
|
|
9465
9359
|
type NodeNoUnsupportedFeaturesEsBuiltins = []|[{
|
|
@@ -9634,6 +9528,9 @@ type PerfectionistSortAstroAttributes = []|[{
|
|
|
9634
9528
|
}]
|
|
9635
9529
|
// ----- perfectionist/sort-classes -----
|
|
9636
9530
|
type PerfectionistSortClasses = []|[{
|
|
9531
|
+
"custom-groups"?: {
|
|
9532
|
+
[k: string]: unknown | undefined
|
|
9533
|
+
}
|
|
9637
9534
|
type?: ("alphabetical" | "natural" | "line-length")
|
|
9638
9535
|
"ignore-case"?: boolean
|
|
9639
9536
|
order?: ("asc" | "desc")
|
|
@@ -10494,6 +10391,7 @@ type StyleArrayElementNewline = []|[(_StyleArrayElementNewlineBasicConfig | {
|
|
|
10494
10391
|
ArrayPattern?: _StyleArrayElementNewlineBasicConfig
|
|
10495
10392
|
})]
|
|
10496
10393
|
type _StyleArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
|
|
10394
|
+
consistent?: boolean
|
|
10497
10395
|
multiline?: boolean
|
|
10498
10396
|
minItems?: (number | null)
|
|
10499
10397
|
})
|
|
@@ -10690,7 +10588,7 @@ type StyleJsxNewline = []|[{
|
|
|
10690
10588
|
}]
|
|
10691
10589
|
// ----- style/jsx-one-expression-per-line -----
|
|
10692
10590
|
type StyleJsxOneExpressionPerLine = []|[{
|
|
10693
|
-
allow?: ("none" | "literal" | "single-child" | "single-line")
|
|
10591
|
+
allow?: ("none" | "literal" | "single-child" | "single-line" | "non-jsx")
|
|
10694
10592
|
}]
|
|
10695
10593
|
// ----- style/jsx-pascal-case -----
|
|
10696
10594
|
type StyleJsxPascalCase = []|[{
|
|
@@ -11323,6 +11221,16 @@ type StyleObjectCurlyNewline = []|[((("always" | "never") | {
|
|
|
11323
11221
|
minProperties?: number
|
|
11324
11222
|
consistent?: boolean
|
|
11325
11223
|
})
|
|
11224
|
+
TSTypeLiteral?: (("always" | "never") | {
|
|
11225
|
+
multiline?: boolean
|
|
11226
|
+
minProperties?: number
|
|
11227
|
+
consistent?: boolean
|
|
11228
|
+
})
|
|
11229
|
+
TSInterfaceBody?: (("always" | "never") | {
|
|
11230
|
+
multiline?: boolean
|
|
11231
|
+
minProperties?: number
|
|
11232
|
+
consistent?: boolean
|
|
11233
|
+
})
|
|
11326
11234
|
})]
|
|
11327
11235
|
// ----- style/object-curly-spacing -----
|
|
11328
11236
|
type StyleObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -11372,6 +11280,7 @@ type StyleQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent
|
|
|
11372
11280
|
type StyleQuotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "backtick"), ("avoid-escape" | {
|
|
11373
11281
|
avoidEscape?: boolean
|
|
11374
11282
|
allowTemplateLiterals?: boolean
|
|
11283
|
+
ignoreStringLiterals?: boolean
|
|
11375
11284
|
})]
|
|
11376
11285
|
// ----- style/rest-spread-spacing -----
|
|
11377
11286
|
type StyleRestSpreadSpacing = []|[("always" | "never")]
|
|
@@ -11594,26 +11503,6 @@ type TsBanTsComment = []|[{
|
|
|
11594
11503
|
})
|
|
11595
11504
|
minimumDescriptionLength?: number
|
|
11596
11505
|
}]
|
|
11597
|
-
// ----- ts/ban-types -----
|
|
11598
|
-
type TsBanTypes = []|[{
|
|
11599
|
-
types?: {
|
|
11600
|
-
[k: string]: (null | false | true | string | {
|
|
11601
|
-
|
|
11602
|
-
message?: string
|
|
11603
|
-
|
|
11604
|
-
fixWith?: string
|
|
11605
|
-
|
|
11606
|
-
suggest?: string[]
|
|
11607
|
-
}) | undefined
|
|
11608
|
-
}
|
|
11609
|
-
extendDefaults?: boolean
|
|
11610
|
-
}]
|
|
11611
|
-
// ----- ts/block-spacing -----
|
|
11612
|
-
type TsBlockSpacing = []|[("always" | "never")]
|
|
11613
|
-
// ----- ts/brace-style -----
|
|
11614
|
-
type TsBraceStyle = []|[("1tbs" | "stroustrup" | "allman")]|[("1tbs" | "stroustrup" | "allman"), {
|
|
11615
|
-
allowSingleLine?: boolean
|
|
11616
|
-
}]
|
|
11617
11506
|
// ----- ts/class-literal-property-style -----
|
|
11618
11507
|
type TsClassLiteralPropertyStyle = []|[("fields" | "getters")]
|
|
11619
11508
|
// ----- ts/class-methods-use-this -----
|
|
@@ -11627,24 +11516,6 @@ type TsClassMethodsUseThis = []|[{
|
|
|
11627
11516
|
|
|
11628
11517
|
ignoreClassesThatImplementAnInterface?: (boolean | "public-fields")
|
|
11629
11518
|
}]
|
|
11630
|
-
// ----- ts/comma-dangle -----
|
|
11631
|
-
type TsCommaDangle = []|[(_TsCommaDangleValue | {
|
|
11632
|
-
arrays?: _TsCommaDangleValueWithIgnore
|
|
11633
|
-
objects?: _TsCommaDangleValueWithIgnore
|
|
11634
|
-
imports?: _TsCommaDangleValueWithIgnore
|
|
11635
|
-
exports?: _TsCommaDangleValueWithIgnore
|
|
11636
|
-
functions?: _TsCommaDangleValueWithIgnore
|
|
11637
|
-
enums?: _TsCommaDangleValueWithIgnore
|
|
11638
|
-
generics?: _TsCommaDangleValueWithIgnore
|
|
11639
|
-
tuples?: _TsCommaDangleValueWithIgnore
|
|
11640
|
-
})]
|
|
11641
|
-
type _TsCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline")
|
|
11642
|
-
type _TsCommaDangleValueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore")
|
|
11643
|
-
// ----- ts/comma-spacing -----
|
|
11644
|
-
type TsCommaSpacing = []|[{
|
|
11645
|
-
before?: boolean
|
|
11646
|
-
after?: boolean
|
|
11647
|
-
}]
|
|
11648
11519
|
// ----- ts/consistent-generic-constructors -----
|
|
11649
11520
|
type TsConsistentGenericConstructors = []|[("type-annotation" | "constructor")]
|
|
11650
11521
|
// ----- ts/consistent-indexed-object-style -----
|
|
@@ -11724,507 +11595,64 @@ type TsExplicitModuleBoundaryTypes = []|[{
|
|
|
11724
11595
|
|
|
11725
11596
|
allowTypedFunctionExpressions?: boolean
|
|
11726
11597
|
}]
|
|
11727
|
-
// ----- ts/func-call-spacing -----
|
|
11728
|
-
type TsFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
11729
|
-
allowNewlines?: boolean
|
|
11730
|
-
}])
|
|
11731
|
-
// ----- ts/indent -----
|
|
11732
|
-
type TsIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
11733
|
-
SwitchCase?: number
|
|
11734
|
-
VariableDeclarator?: ((number | ("first" | "off")) | {
|
|
11735
|
-
var?: (number | ("first" | "off"))
|
|
11736
|
-
let?: (number | ("first" | "off"))
|
|
11737
|
-
const?: (number | ("first" | "off"))
|
|
11738
|
-
})
|
|
11739
|
-
outerIIFEBody?: (number | "off")
|
|
11740
|
-
MemberExpression?: (number | "off")
|
|
11741
|
-
FunctionDeclaration?: {
|
|
11742
|
-
parameters?: (number | ("first" | "off"))
|
|
11743
|
-
body?: number
|
|
11744
|
-
}
|
|
11745
|
-
FunctionExpression?: {
|
|
11746
|
-
parameters?: (number | ("first" | "off"))
|
|
11747
|
-
body?: number
|
|
11748
|
-
}
|
|
11749
|
-
StaticBlock?: {
|
|
11750
|
-
body?: number
|
|
11751
|
-
}
|
|
11752
|
-
CallExpression?: {
|
|
11753
|
-
arguments?: (number | ("first" | "off"))
|
|
11754
|
-
}
|
|
11755
|
-
ArrayExpression?: (number | ("first" | "off"))
|
|
11756
|
-
ObjectExpression?: (number | ("first" | "off"))
|
|
11757
|
-
ImportDeclaration?: (number | ("first" | "off"))
|
|
11758
|
-
flatTernaryExpressions?: boolean
|
|
11759
|
-
offsetTernaryExpressions?: boolean
|
|
11760
|
-
ignoredNodes?: string[]
|
|
11761
|
-
ignoreComments?: boolean
|
|
11762
|
-
}]
|
|
11763
11598
|
// ----- ts/init-declarations -----
|
|
11764
11599
|
type TsInitDeclarations = ([]|["always"] | []|["never"]|["never", {
|
|
11765
11600
|
ignoreForLoopInit?: boolean
|
|
11766
11601
|
}])
|
|
11767
|
-
// ----- ts/
|
|
11768
|
-
type
|
|
11769
|
-
|
|
11770
|
-
|
|
11771
|
-
|
|
11772
|
-
|
|
11773
|
-
|
|
11602
|
+
// ----- ts/max-params -----
|
|
11603
|
+
type TsMaxParams = []|[{
|
|
11604
|
+
maximum?: number
|
|
11605
|
+
max?: number
|
|
11606
|
+
countVoidThis?: boolean
|
|
11607
|
+
}]
|
|
11608
|
+
// ----- ts/member-ordering -----
|
|
11609
|
+
type TsMemberOrdering = []|[{
|
|
11610
|
+
default?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
11611
|
+
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
11612
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
11613
|
+
optionalityOrder?: ("optional-first" | "required-first")
|
|
11774
11614
|
})
|
|
11775
|
-
|
|
11776
|
-
|
|
11777
|
-
|
|
11778
|
-
|
|
11779
|
-
|
|
11780
|
-
|
|
11781
|
-
|
|
11782
|
-
|
|
11783
|
-
|
|
11784
|
-
|
|
11785
|
-
|
|
11786
|
-
|
|
11787
|
-
|
|
11788
|
-
|
|
11789
|
-
|
|
11790
|
-
|
|
11791
|
-
|
|
11792
|
-
|
|
11793
|
-
|
|
11794
|
-
}
|
|
11795
|
-
}
|
|
11796
|
-
|
|
11797
|
-
|
|
11798
|
-
|
|
11799
|
-
|
|
11800
|
-
|
|
11801
|
-
|
|
11802
|
-
|
|
11803
|
-
|
|
11804
|
-
|
|
11805
|
-
|
|
11806
|
-
|
|
11807
|
-
|
|
11808
|
-
|
|
11809
|
-
|
|
11810
|
-
|
|
11811
|
-
|
|
11812
|
-
|
|
11813
|
-
|
|
11814
|
-
|
|
11815
|
-
|
|
11816
|
-
after?: boolean
|
|
11817
|
-
overrides?: {
|
|
11818
|
-
abstract?: {
|
|
11819
|
-
before?: boolean
|
|
11820
|
-
after?: boolean
|
|
11821
|
-
}
|
|
11822
|
-
as?: {
|
|
11823
|
-
before?: boolean
|
|
11824
|
-
after?: boolean
|
|
11825
|
-
}
|
|
11826
|
-
async?: {
|
|
11827
|
-
before?: boolean
|
|
11828
|
-
after?: boolean
|
|
11829
|
-
}
|
|
11830
|
-
await?: {
|
|
11831
|
-
before?: boolean
|
|
11832
|
-
after?: boolean
|
|
11833
|
-
}
|
|
11834
|
-
boolean?: {
|
|
11835
|
-
before?: boolean
|
|
11836
|
-
after?: boolean
|
|
11837
|
-
}
|
|
11838
|
-
break?: {
|
|
11839
|
-
before?: boolean
|
|
11840
|
-
after?: boolean
|
|
11841
|
-
}
|
|
11842
|
-
byte?: {
|
|
11843
|
-
before?: boolean
|
|
11844
|
-
after?: boolean
|
|
11845
|
-
}
|
|
11846
|
-
case?: {
|
|
11847
|
-
before?: boolean
|
|
11848
|
-
after?: boolean
|
|
11849
|
-
}
|
|
11850
|
-
catch?: {
|
|
11851
|
-
before?: boolean
|
|
11852
|
-
after?: boolean
|
|
11853
|
-
}
|
|
11854
|
-
char?: {
|
|
11855
|
-
before?: boolean
|
|
11856
|
-
after?: boolean
|
|
11857
|
-
}
|
|
11858
|
-
class?: {
|
|
11859
|
-
before?: boolean
|
|
11860
|
-
after?: boolean
|
|
11861
|
-
}
|
|
11862
|
-
const?: {
|
|
11863
|
-
before?: boolean
|
|
11864
|
-
after?: boolean
|
|
11865
|
-
}
|
|
11866
|
-
continue?: {
|
|
11867
|
-
before?: boolean
|
|
11868
|
-
after?: boolean
|
|
11869
|
-
}
|
|
11870
|
-
debugger?: {
|
|
11871
|
-
before?: boolean
|
|
11872
|
-
after?: boolean
|
|
11873
|
-
}
|
|
11874
|
-
default?: {
|
|
11875
|
-
before?: boolean
|
|
11876
|
-
after?: boolean
|
|
11877
|
-
}
|
|
11878
|
-
delete?: {
|
|
11879
|
-
before?: boolean
|
|
11880
|
-
after?: boolean
|
|
11881
|
-
}
|
|
11882
|
-
do?: {
|
|
11883
|
-
before?: boolean
|
|
11884
|
-
after?: boolean
|
|
11885
|
-
}
|
|
11886
|
-
double?: {
|
|
11887
|
-
before?: boolean
|
|
11888
|
-
after?: boolean
|
|
11889
|
-
}
|
|
11890
|
-
else?: {
|
|
11891
|
-
before?: boolean
|
|
11892
|
-
after?: boolean
|
|
11893
|
-
}
|
|
11894
|
-
enum?: {
|
|
11895
|
-
before?: boolean
|
|
11896
|
-
after?: boolean
|
|
11897
|
-
}
|
|
11898
|
-
export?: {
|
|
11899
|
-
before?: boolean
|
|
11900
|
-
after?: boolean
|
|
11901
|
-
}
|
|
11902
|
-
extends?: {
|
|
11903
|
-
before?: boolean
|
|
11904
|
-
after?: boolean
|
|
11905
|
-
}
|
|
11906
|
-
false?: {
|
|
11907
|
-
before?: boolean
|
|
11908
|
-
after?: boolean
|
|
11909
|
-
}
|
|
11910
|
-
final?: {
|
|
11911
|
-
before?: boolean
|
|
11912
|
-
after?: boolean
|
|
11913
|
-
}
|
|
11914
|
-
finally?: {
|
|
11915
|
-
before?: boolean
|
|
11916
|
-
after?: boolean
|
|
11917
|
-
}
|
|
11918
|
-
float?: {
|
|
11919
|
-
before?: boolean
|
|
11920
|
-
after?: boolean
|
|
11921
|
-
}
|
|
11922
|
-
for?: {
|
|
11923
|
-
before?: boolean
|
|
11924
|
-
after?: boolean
|
|
11925
|
-
}
|
|
11926
|
-
from?: {
|
|
11927
|
-
before?: boolean
|
|
11928
|
-
after?: boolean
|
|
11929
|
-
}
|
|
11930
|
-
function?: {
|
|
11931
|
-
before?: boolean
|
|
11932
|
-
after?: boolean
|
|
11933
|
-
}
|
|
11934
|
-
get?: {
|
|
11935
|
-
before?: boolean
|
|
11936
|
-
after?: boolean
|
|
11937
|
-
}
|
|
11938
|
-
goto?: {
|
|
11939
|
-
before?: boolean
|
|
11940
|
-
after?: boolean
|
|
11941
|
-
}
|
|
11942
|
-
if?: {
|
|
11943
|
-
before?: boolean
|
|
11944
|
-
after?: boolean
|
|
11945
|
-
}
|
|
11946
|
-
implements?: {
|
|
11947
|
-
before?: boolean
|
|
11948
|
-
after?: boolean
|
|
11949
|
-
}
|
|
11950
|
-
import?: {
|
|
11951
|
-
before?: boolean
|
|
11952
|
-
after?: boolean
|
|
11953
|
-
}
|
|
11954
|
-
in?: {
|
|
11955
|
-
before?: boolean
|
|
11956
|
-
after?: boolean
|
|
11957
|
-
}
|
|
11958
|
-
instanceof?: {
|
|
11959
|
-
before?: boolean
|
|
11960
|
-
after?: boolean
|
|
11961
|
-
}
|
|
11962
|
-
int?: {
|
|
11963
|
-
before?: boolean
|
|
11964
|
-
after?: boolean
|
|
11965
|
-
}
|
|
11966
|
-
interface?: {
|
|
11967
|
-
before?: boolean
|
|
11968
|
-
after?: boolean
|
|
11969
|
-
}
|
|
11970
|
-
let?: {
|
|
11971
|
-
before?: boolean
|
|
11972
|
-
after?: boolean
|
|
11973
|
-
}
|
|
11974
|
-
long?: {
|
|
11975
|
-
before?: boolean
|
|
11976
|
-
after?: boolean
|
|
11977
|
-
}
|
|
11978
|
-
native?: {
|
|
11979
|
-
before?: boolean
|
|
11980
|
-
after?: boolean
|
|
11981
|
-
}
|
|
11982
|
-
new?: {
|
|
11983
|
-
before?: boolean
|
|
11984
|
-
after?: boolean
|
|
11985
|
-
}
|
|
11986
|
-
null?: {
|
|
11987
|
-
before?: boolean
|
|
11988
|
-
after?: boolean
|
|
11989
|
-
}
|
|
11990
|
-
of?: {
|
|
11991
|
-
before?: boolean
|
|
11992
|
-
after?: boolean
|
|
11993
|
-
}
|
|
11994
|
-
package?: {
|
|
11995
|
-
before?: boolean
|
|
11996
|
-
after?: boolean
|
|
11997
|
-
}
|
|
11998
|
-
private?: {
|
|
11999
|
-
before?: boolean
|
|
12000
|
-
after?: boolean
|
|
12001
|
-
}
|
|
12002
|
-
protected?: {
|
|
12003
|
-
before?: boolean
|
|
12004
|
-
after?: boolean
|
|
12005
|
-
}
|
|
12006
|
-
public?: {
|
|
12007
|
-
before?: boolean
|
|
12008
|
-
after?: boolean
|
|
12009
|
-
}
|
|
12010
|
-
return?: {
|
|
12011
|
-
before?: boolean
|
|
12012
|
-
after?: boolean
|
|
12013
|
-
}
|
|
12014
|
-
set?: {
|
|
12015
|
-
before?: boolean
|
|
12016
|
-
after?: boolean
|
|
12017
|
-
}
|
|
12018
|
-
short?: {
|
|
12019
|
-
before?: boolean
|
|
12020
|
-
after?: boolean
|
|
12021
|
-
}
|
|
12022
|
-
static?: {
|
|
12023
|
-
before?: boolean
|
|
12024
|
-
after?: boolean
|
|
12025
|
-
}
|
|
12026
|
-
super?: {
|
|
12027
|
-
before?: boolean
|
|
12028
|
-
after?: boolean
|
|
12029
|
-
}
|
|
12030
|
-
switch?: {
|
|
12031
|
-
before?: boolean
|
|
12032
|
-
after?: boolean
|
|
12033
|
-
}
|
|
12034
|
-
synchronized?: {
|
|
12035
|
-
before?: boolean
|
|
12036
|
-
after?: boolean
|
|
12037
|
-
}
|
|
12038
|
-
this?: {
|
|
12039
|
-
before?: boolean
|
|
12040
|
-
after?: boolean
|
|
12041
|
-
}
|
|
12042
|
-
throw?: {
|
|
12043
|
-
before?: boolean
|
|
12044
|
-
after?: boolean
|
|
12045
|
-
}
|
|
12046
|
-
throws?: {
|
|
12047
|
-
before?: boolean
|
|
12048
|
-
after?: boolean
|
|
12049
|
-
}
|
|
12050
|
-
transient?: {
|
|
12051
|
-
before?: boolean
|
|
12052
|
-
after?: boolean
|
|
12053
|
-
}
|
|
12054
|
-
true?: {
|
|
12055
|
-
before?: boolean
|
|
12056
|
-
after?: boolean
|
|
12057
|
-
}
|
|
12058
|
-
try?: {
|
|
12059
|
-
before?: boolean
|
|
12060
|
-
after?: boolean
|
|
12061
|
-
}
|
|
12062
|
-
typeof?: {
|
|
12063
|
-
before?: boolean
|
|
12064
|
-
after?: boolean
|
|
12065
|
-
}
|
|
12066
|
-
var?: {
|
|
12067
|
-
before?: boolean
|
|
12068
|
-
after?: boolean
|
|
12069
|
-
}
|
|
12070
|
-
void?: {
|
|
12071
|
-
before?: boolean
|
|
12072
|
-
after?: boolean
|
|
12073
|
-
}
|
|
12074
|
-
volatile?: {
|
|
12075
|
-
before?: boolean
|
|
12076
|
-
after?: boolean
|
|
12077
|
-
}
|
|
12078
|
-
while?: {
|
|
12079
|
-
before?: boolean
|
|
12080
|
-
after?: boolean
|
|
12081
|
-
}
|
|
12082
|
-
with?: {
|
|
12083
|
-
before?: boolean
|
|
12084
|
-
after?: boolean
|
|
12085
|
-
}
|
|
12086
|
-
yield?: {
|
|
12087
|
-
before?: boolean
|
|
12088
|
-
after?: boolean
|
|
12089
|
-
}
|
|
12090
|
-
type?: {
|
|
12091
|
-
before?: boolean
|
|
12092
|
-
after?: boolean
|
|
12093
|
-
}
|
|
12094
|
-
}
|
|
12095
|
-
}]
|
|
12096
|
-
// ----- ts/lines-around-comment -----
|
|
12097
|
-
type TsLinesAroundComment = []|[{
|
|
12098
|
-
beforeBlockComment?: boolean
|
|
12099
|
-
afterBlockComment?: boolean
|
|
12100
|
-
beforeLineComment?: boolean
|
|
12101
|
-
afterLineComment?: boolean
|
|
12102
|
-
allowBlockStart?: boolean
|
|
12103
|
-
allowBlockEnd?: boolean
|
|
12104
|
-
allowClassStart?: boolean
|
|
12105
|
-
allowClassEnd?: boolean
|
|
12106
|
-
allowObjectStart?: boolean
|
|
12107
|
-
allowObjectEnd?: boolean
|
|
12108
|
-
allowArrayStart?: boolean
|
|
12109
|
-
allowArrayEnd?: boolean
|
|
12110
|
-
allowInterfaceStart?: boolean
|
|
12111
|
-
allowInterfaceEnd?: boolean
|
|
12112
|
-
allowTypeStart?: boolean
|
|
12113
|
-
allowTypeEnd?: boolean
|
|
12114
|
-
allowEnumStart?: boolean
|
|
12115
|
-
allowEnumEnd?: boolean
|
|
12116
|
-
allowModuleStart?: boolean
|
|
12117
|
-
allowModuleEnd?: boolean
|
|
12118
|
-
ignorePattern?: string
|
|
12119
|
-
applyDefaultIgnorePatterns?: boolean
|
|
12120
|
-
}]
|
|
12121
|
-
// ----- ts/lines-between-class-members -----
|
|
12122
|
-
type TsLinesBetweenClassMembers = []|[({
|
|
12123
|
-
|
|
12124
|
-
enforce: [{
|
|
12125
|
-
blankLine: ("always" | "never")
|
|
12126
|
-
prev: ("method" | "field" | "*")
|
|
12127
|
-
next: ("method" | "field" | "*")
|
|
12128
|
-
}, ...({
|
|
12129
|
-
blankLine: ("always" | "never")
|
|
12130
|
-
prev: ("method" | "field" | "*")
|
|
12131
|
-
next: ("method" | "field" | "*")
|
|
12132
|
-
})[]]
|
|
12133
|
-
} | ("always" | "never"))]|[({
|
|
12134
|
-
|
|
12135
|
-
enforce: [{
|
|
12136
|
-
blankLine: ("always" | "never")
|
|
12137
|
-
prev: ("method" | "field" | "*")
|
|
12138
|
-
next: ("method" | "field" | "*")
|
|
12139
|
-
}, ...({
|
|
12140
|
-
blankLine: ("always" | "never")
|
|
12141
|
-
prev: ("method" | "field" | "*")
|
|
12142
|
-
next: ("method" | "field" | "*")
|
|
12143
|
-
})[]]
|
|
12144
|
-
} | ("always" | "never")), {
|
|
12145
|
-
exceptAfterSingleLine?: boolean
|
|
12146
|
-
exceptAfterOverload?: boolean
|
|
12147
|
-
}]
|
|
12148
|
-
// ----- ts/max-params -----
|
|
12149
|
-
type TsMaxParams = []|[{
|
|
12150
|
-
maximum?: number
|
|
12151
|
-
max?: number
|
|
12152
|
-
countVoidThis?: boolean
|
|
12153
|
-
}]
|
|
12154
|
-
// ----- ts/member-delimiter-style -----
|
|
12155
|
-
type TsMemberDelimiterStyle = []|[{
|
|
12156
|
-
multiline?: {
|
|
12157
|
-
delimiter?: ("none" | "semi" | "comma")
|
|
12158
|
-
requireLast?: boolean
|
|
12159
|
-
}
|
|
12160
|
-
singleline?: {
|
|
12161
|
-
delimiter?: ("semi" | "comma")
|
|
12162
|
-
requireLast?: boolean
|
|
12163
|
-
}
|
|
12164
|
-
overrides?: {
|
|
12165
|
-
interface?: _TsMemberDelimiterStyle_DelimiterConfig
|
|
12166
|
-
typeLiteral?: _TsMemberDelimiterStyle_DelimiterConfig
|
|
12167
|
-
}
|
|
12168
|
-
multilineDetection?: ("brackets" | "last-member")
|
|
12169
|
-
}]
|
|
12170
|
-
interface _TsMemberDelimiterStyle_DelimiterConfig {
|
|
12171
|
-
multiline?: {
|
|
12172
|
-
delimiter?: ("none" | "semi" | "comma")
|
|
12173
|
-
requireLast?: boolean
|
|
12174
|
-
}
|
|
12175
|
-
singleline?: {
|
|
12176
|
-
delimiter?: ("semi" | "comma")
|
|
12177
|
-
requireLast?: boolean
|
|
12178
|
-
}
|
|
12179
|
-
}
|
|
12180
|
-
// ----- ts/member-ordering -----
|
|
12181
|
-
type TsMemberOrdering = []|[{
|
|
12182
|
-
default?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
12183
|
-
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
12184
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12185
|
-
optionalityOrder?: ("optional-first" | "required-first")
|
|
12186
|
-
})
|
|
12187
|
-
classes?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
12188
|
-
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
12189
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12190
|
-
optionalityOrder?: ("optional-first" | "required-first")
|
|
12191
|
-
})
|
|
12192
|
-
classExpressions?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
12193
|
-
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
12194
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12195
|
-
optionalityOrder?: ("optional-first" | "required-first")
|
|
12196
|
-
})
|
|
12197
|
-
interfaces?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
12198
|
-
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | "never")
|
|
12199
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12200
|
-
optionalityOrder?: ("optional-first" | "required-first")
|
|
12201
|
-
})
|
|
12202
|
-
typeLiterals?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
12203
|
-
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | "never")
|
|
12204
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12205
|
-
optionalityOrder?: ("optional-first" | "required-first")
|
|
12206
|
-
})
|
|
12207
|
-
}]
|
|
12208
|
-
// ----- ts/method-signature-style -----
|
|
12209
|
-
type TsMethodSignatureStyle = []|[("property" | "method")]
|
|
12210
|
-
// ----- ts/naming-convention -----
|
|
12211
|
-
type _TsNamingConventionFormatOptionsConfig = (_TsNamingConventionPredefinedFormats[] | null)
|
|
12212
|
-
type _TsNamingConventionPredefinedFormats = ("camelCase" | "strictCamelCase" | "PascalCase" | "StrictPascalCase" | "snake_case" | "UPPER_CASE")
|
|
12213
|
-
type _TsNamingConventionUnderscoreOptions = ("forbid" | "allow" | "require" | "requireDouble" | "allowDouble" | "allowSingleOrDouble")
|
|
12214
|
-
type _TsNamingConvention_PrefixSuffixConfig = string[]
|
|
12215
|
-
type _TsNamingConventionTypeModifiers = ("boolean" | "string" | "number" | "function" | "array")
|
|
12216
|
-
type TsNamingConvention = ({
|
|
12217
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12218
|
-
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12219
|
-
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12220
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12221
|
-
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12222
|
-
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12223
|
-
failureMessage?: string
|
|
12224
|
-
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12225
|
-
selector: ("default" | "variableLike" | "memberLike" | "typeLike" | "method" | "property" | "accessor" | "variable" | "function" | "parameter" | "parameterProperty" | "classicAccessor" | "enumMember" | "classMethod" | "objectLiteralMethod" | "typeMethod" | "classProperty" | "objectLiteralProperty" | "typeProperty" | "autoAccessor" | "class" | "interface" | "typeAlias" | "enum" | "typeParameter" | "import")[]
|
|
12226
|
-
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[]
|
|
12227
|
-
types?: _TsNamingConventionTypeModifiers[]
|
|
11615
|
+
classes?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
11616
|
+
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
11617
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
11618
|
+
optionalityOrder?: ("optional-first" | "required-first")
|
|
11619
|
+
})
|
|
11620
|
+
classExpressions?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
11621
|
+
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
11622
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
11623
|
+
optionalityOrder?: ("optional-first" | "required-first")
|
|
11624
|
+
})
|
|
11625
|
+
interfaces?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
11626
|
+
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | "never")
|
|
11627
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
11628
|
+
optionalityOrder?: ("optional-first" | "required-first")
|
|
11629
|
+
})
|
|
11630
|
+
typeLiterals?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
11631
|
+
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | "never")
|
|
11632
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
11633
|
+
optionalityOrder?: ("optional-first" | "required-first")
|
|
11634
|
+
})
|
|
11635
|
+
}]
|
|
11636
|
+
// ----- ts/method-signature-style -----
|
|
11637
|
+
type TsMethodSignatureStyle = []|[("property" | "method")]
|
|
11638
|
+
// ----- ts/naming-convention -----
|
|
11639
|
+
type _TsNamingConventionFormatOptionsConfig = (_TsNamingConventionPredefinedFormats[] | null)
|
|
11640
|
+
type _TsNamingConventionPredefinedFormats = ("camelCase" | "strictCamelCase" | "PascalCase" | "StrictPascalCase" | "snake_case" | "UPPER_CASE")
|
|
11641
|
+
type _TsNamingConventionUnderscoreOptions = ("forbid" | "allow" | "require" | "requireDouble" | "allowDouble" | "allowSingleOrDouble")
|
|
11642
|
+
type _TsNamingConvention_PrefixSuffixConfig = string[]
|
|
11643
|
+
type _TsNamingConventionTypeModifiers = ("boolean" | "string" | "number" | "function" | "array")
|
|
11644
|
+
type TsNamingConvention = ({
|
|
11645
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
11646
|
+
custom?: _TsNamingConvention_MatchRegexConfig
|
|
11647
|
+
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11648
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
11649
|
+
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11650
|
+
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
11651
|
+
failureMessage?: string
|
|
11652
|
+
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
11653
|
+
selector: ("default" | "variableLike" | "memberLike" | "typeLike" | "method" | "property" | "accessor" | "variable" | "function" | "parameter" | "parameterProperty" | "classicAccessor" | "enumMember" | "classMethod" | "objectLiteralMethod" | "typeMethod" | "classProperty" | "objectLiteralProperty" | "typeProperty" | "autoAccessor" | "class" | "interface" | "typeAlias" | "enum" | "typeParameter" | "import")[]
|
|
11654
|
+
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[]
|
|
11655
|
+
types?: _TsNamingConventionTypeModifiers[]
|
|
12228
11656
|
} | {
|
|
12229
11657
|
format: _TsNamingConventionFormatOptionsConfig
|
|
12230
11658
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
@@ -12548,6 +11976,12 @@ type TsNoEmptyFunction = []|[{
|
|
|
12548
11976
|
type TsNoEmptyInterface = []|[{
|
|
12549
11977
|
allowSingleExtends?: boolean
|
|
12550
11978
|
}]
|
|
11979
|
+
// ----- ts/no-empty-object-type -----
|
|
11980
|
+
type TsNoEmptyObjectType = []|[{
|
|
11981
|
+
allowInterfaces?: ("always" | "never" | "with-single-extends")
|
|
11982
|
+
allowObjectTypes?: ("always" | "never")
|
|
11983
|
+
allowWithName?: string
|
|
11984
|
+
}]
|
|
12551
11985
|
// ----- ts/no-explicit-any -----
|
|
12552
11986
|
type TsNoExplicitAny = []|[{
|
|
12553
11987
|
|
|
@@ -12555,19 +11989,6 @@ type TsNoExplicitAny = []|[{
|
|
|
12555
11989
|
|
|
12556
11990
|
ignoreRestArgs?: boolean
|
|
12557
11991
|
}]
|
|
12558
|
-
// ----- ts/no-extra-parens -----
|
|
12559
|
-
type TsNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
12560
|
-
conditionalAssign?: boolean
|
|
12561
|
-
ternaryOperandBinaryExpressions?: boolean
|
|
12562
|
-
nestedBinaryExpressions?: boolean
|
|
12563
|
-
returnAssign?: boolean
|
|
12564
|
-
ignoreJSX?: ("none" | "all" | "single-line" | "multi-line")
|
|
12565
|
-
enforceForArrowConditionals?: boolean
|
|
12566
|
-
enforceForSequenceExpressions?: boolean
|
|
12567
|
-
enforceForNewInMemberExpressions?: boolean
|
|
12568
|
-
enforceForFunctionPrototypeMethods?: boolean
|
|
12569
|
-
allowParensAfterCommentPattern?: string
|
|
12570
|
-
}])
|
|
12571
11992
|
// ----- ts/no-extraneous-class -----
|
|
12572
11993
|
type TsNoExtraneousClass = []|[{
|
|
12573
11994
|
|
|
@@ -12597,6 +12018,18 @@ type TsNoFloatingPromises = []|[{
|
|
|
12597
12018
|
name: (string | [string, ...(string)[]])
|
|
12598
12019
|
package: string
|
|
12599
12020
|
})[]
|
|
12021
|
+
allowForKnownSafeCalls?: (string | {
|
|
12022
|
+
from: "file"
|
|
12023
|
+
name: (string | [string, ...(string)[]])
|
|
12024
|
+
path?: string
|
|
12025
|
+
} | {
|
|
12026
|
+
from: "lib"
|
|
12027
|
+
name: (string | [string, ...(string)[]])
|
|
12028
|
+
} | {
|
|
12029
|
+
from: "package"
|
|
12030
|
+
name: (string | [string, ...(string)[]])
|
|
12031
|
+
package: string
|
|
12032
|
+
})[]
|
|
12600
12033
|
}]
|
|
12601
12034
|
// ----- ts/no-inferrable-types -----
|
|
12602
12035
|
type TsNoInferrableTypes = []|[{
|
|
@@ -12657,6 +12090,8 @@ type TsNoRedeclare = []|[{
|
|
|
12657
12090
|
type TsNoRequireImports = []|[{
|
|
12658
12091
|
|
|
12659
12092
|
allow?: string[]
|
|
12093
|
+
|
|
12094
|
+
allowAsImport?: boolean
|
|
12660
12095
|
}]
|
|
12661
12096
|
// ----- ts/no-restricted-imports -----
|
|
12662
12097
|
type TsNoRestrictedImports = ((string | {
|
|
@@ -12690,6 +12125,19 @@ type TsNoRestrictedImports = ((string | {
|
|
|
12690
12125
|
allowTypeImports?: boolean
|
|
12691
12126
|
}[])
|
|
12692
12127
|
}])
|
|
12128
|
+
// ----- ts/no-restricted-types -----
|
|
12129
|
+
type TsNoRestrictedTypes = []|[{
|
|
12130
|
+
types?: {
|
|
12131
|
+
[k: string]: (true | string | {
|
|
12132
|
+
|
|
12133
|
+
message?: string
|
|
12134
|
+
|
|
12135
|
+
fixWith?: string
|
|
12136
|
+
|
|
12137
|
+
suggest?: string[]
|
|
12138
|
+
}) | undefined
|
|
12139
|
+
}
|
|
12140
|
+
}]
|
|
12693
12141
|
// ----- ts/no-shadow -----
|
|
12694
12142
|
type TsNoShadow = []|[{
|
|
12695
12143
|
builtinGlobals?: boolean
|
|
@@ -12706,11 +12154,6 @@ type TsNoThisAlias = []|[{
|
|
|
12706
12154
|
|
|
12707
12155
|
allowedNames?: string[]
|
|
12708
12156
|
}]
|
|
12709
|
-
// ----- ts/no-throw-literal -----
|
|
12710
|
-
type TsNoThrowLiteral = []|[{
|
|
12711
|
-
allowThrowingAny?: boolean
|
|
12712
|
-
allowThrowingUnknown?: boolean
|
|
12713
|
-
}]
|
|
12714
12157
|
// ----- ts/no-type-alias -----
|
|
12715
12158
|
type TsNoTypeAlias = []|[{
|
|
12716
12159
|
|
|
@@ -12766,6 +12209,8 @@ type TsNoUnusedVars = []|[(("all" | "local") | {
|
|
|
12766
12209
|
caughtErrors?: ("all" | "none")
|
|
12767
12210
|
caughtErrorsIgnorePattern?: string
|
|
12768
12211
|
destructuredArrayIgnorePattern?: string
|
|
12212
|
+
ignoreClassWithStaticInitBlock?: boolean
|
|
12213
|
+
reportUsedIgnorePattern?: boolean
|
|
12769
12214
|
})]
|
|
12770
12215
|
// ----- ts/no-use-before-define -----
|
|
12771
12216
|
type TsNoUseBeforeDefine = []|[("nofunc" | {
|
|
@@ -12782,24 +12227,11 @@ type TsNoVarRequires = []|[{
|
|
|
12782
12227
|
|
|
12783
12228
|
allow?: string[]
|
|
12784
12229
|
}]
|
|
12785
|
-
// ----- ts/object-curly-spacing -----
|
|
12786
|
-
type TsObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
12787
|
-
arraysInObjects?: boolean
|
|
12788
|
-
objectsInObjects?: boolean
|
|
12789
|
-
}]
|
|
12790
12230
|
// ----- ts/only-throw-error -----
|
|
12791
12231
|
type TsOnlyThrowError = []|[{
|
|
12792
12232
|
allowThrowingAny?: boolean
|
|
12793
12233
|
allowThrowingUnknown?: boolean
|
|
12794
12234
|
}]
|
|
12795
|
-
// ----- ts/padding-line-between-statements -----
|
|
12796
|
-
type _TsPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
|
|
12797
|
-
type _TsPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type"))[]])
|
|
12798
|
-
type TsPaddingLineBetweenStatements = {
|
|
12799
|
-
blankLine: _TsPaddingLineBetweenStatementsPaddingType
|
|
12800
|
-
prev: _TsPaddingLineBetweenStatementsStatementType
|
|
12801
|
-
next: _TsPaddingLineBetweenStatementsStatementType
|
|
12802
|
-
}[]
|
|
12803
12235
|
// ----- ts/parameter-properties -----
|
|
12804
12236
|
type TsParameterProperties = []|[{
|
|
12805
12237
|
allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[]
|
|
@@ -12914,11 +12346,6 @@ type TsPromiseFunctionAsync = []|[{
|
|
|
12914
12346
|
checkFunctionExpressions?: boolean
|
|
12915
12347
|
checkMethodDeclarations?: boolean
|
|
12916
12348
|
}]
|
|
12917
|
-
// ----- ts/quotes -----
|
|
12918
|
-
type TsQuotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "backtick"), ("avoid-escape" | {
|
|
12919
|
-
avoidEscape?: boolean
|
|
12920
|
-
allowTemplateLiterals?: boolean
|
|
12921
|
-
})]
|
|
12922
12349
|
// ----- ts/require-array-sort-compare -----
|
|
12923
12350
|
type TsRequireArraySortCompare = []|[{
|
|
12924
12351
|
|
|
@@ -12958,13 +12385,6 @@ type TsRestrictTemplateExpressions = []|[{
|
|
|
12958
12385
|
}]
|
|
12959
12386
|
// ----- ts/return-await -----
|
|
12960
12387
|
type TsReturnAwait = []|[("in-try-catch" | "always" | "never")]
|
|
12961
|
-
// ----- ts/semi -----
|
|
12962
|
-
type TsSemi = ([]|["never"]|["never", {
|
|
12963
|
-
beforeStatementContinuationChars?: ("always" | "any" | "never")
|
|
12964
|
-
}] | []|["always"]|["always", {
|
|
12965
|
-
omitLastInOneLineBlock?: boolean
|
|
12966
|
-
omitLastInOneLineClassBody?: boolean
|
|
12967
|
-
}])
|
|
12968
12388
|
// ----- ts/sort-type-constituents -----
|
|
12969
12389
|
type TsSortTypeConstituents = []|[{
|
|
12970
12390
|
|
|
@@ -12976,22 +12396,6 @@ type TsSortTypeConstituents = []|[{
|
|
|
12976
12396
|
|
|
12977
12397
|
groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
|
|
12978
12398
|
}]
|
|
12979
|
-
// ----- ts/space-before-blocks -----
|
|
12980
|
-
type TsSpaceBeforeBlocks = []|[(("always" | "never") | {
|
|
12981
|
-
keywords?: ("always" | "never" | "off")
|
|
12982
|
-
functions?: ("always" | "never" | "off")
|
|
12983
|
-
classes?: ("always" | "never" | "off")
|
|
12984
|
-
})]
|
|
12985
|
-
// ----- ts/space-before-function-paren -----
|
|
12986
|
-
type TsSpaceBeforeFunctionParen = []|[(("always" | "never") | {
|
|
12987
|
-
anonymous?: ("always" | "never" | "ignore")
|
|
12988
|
-
named?: ("always" | "never" | "ignore")
|
|
12989
|
-
asyncArrow?: ("always" | "never" | "ignore")
|
|
12990
|
-
})]
|
|
12991
|
-
// ----- ts/space-infix-ops -----
|
|
12992
|
-
type TsSpaceInfixOps = []|[{
|
|
12993
|
-
int32Hint?: boolean
|
|
12994
|
-
}]
|
|
12995
12399
|
// ----- ts/strict-boolean-expressions -----
|
|
12996
12400
|
type TsStrictBooleanExpressions = []|[{
|
|
12997
12401
|
allowString?: boolean
|
|
@@ -13017,23 +12421,6 @@ type TsTripleSlashReference = []|[{
|
|
|
13017
12421
|
path?: ("always" | "never")
|
|
13018
12422
|
types?: ("always" | "never" | "prefer-import")
|
|
13019
12423
|
}]
|
|
13020
|
-
// ----- ts/type-annotation-spacing -----
|
|
13021
|
-
type TsTypeAnnotationSpacing = []|[{
|
|
13022
|
-
before?: boolean
|
|
13023
|
-
after?: boolean
|
|
13024
|
-
overrides?: {
|
|
13025
|
-
colon?: _TsTypeAnnotationSpacing_SpacingConfig
|
|
13026
|
-
arrow?: _TsTypeAnnotationSpacing_SpacingConfig
|
|
13027
|
-
variable?: _TsTypeAnnotationSpacing_SpacingConfig
|
|
13028
|
-
parameter?: _TsTypeAnnotationSpacing_SpacingConfig
|
|
13029
|
-
property?: _TsTypeAnnotationSpacing_SpacingConfig
|
|
13030
|
-
returnType?: _TsTypeAnnotationSpacing_SpacingConfig
|
|
13031
|
-
}
|
|
13032
|
-
}]
|
|
13033
|
-
interface _TsTypeAnnotationSpacing_SpacingConfig {
|
|
13034
|
-
before?: boolean
|
|
13035
|
-
after?: boolean
|
|
13036
|
-
}
|
|
13037
12424
|
// ----- ts/typedef -----
|
|
13038
12425
|
type TsTypedef = []|[{
|
|
13039
12426
|
arrayDestructuring?: boolean
|
|
@@ -13270,6 +12657,8 @@ type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
|
|
|
13270
12657
|
caughtErrors?: ("all" | "none")
|
|
13271
12658
|
caughtErrorsIgnorePattern?: string
|
|
13272
12659
|
destructuredArrayIgnorePattern?: string
|
|
12660
|
+
ignoreClassWithStaticInitBlock?: boolean
|
|
12661
|
+
reportUsedIgnorePattern?: boolean
|
|
13273
12662
|
})]
|
|
13274
12663
|
// ----- unused-imports/no-unused-vars -----
|
|
13275
12664
|
type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
@@ -13281,6 +12670,8 @@ type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
|
13281
12670
|
caughtErrors?: ("all" | "none")
|
|
13282
12671
|
caughtErrorsIgnorePattern?: string
|
|
13283
12672
|
destructuredArrayIgnorePattern?: string
|
|
12673
|
+
ignoreClassWithStaticInitBlock?: boolean
|
|
12674
|
+
reportUsedIgnorePattern?: boolean
|
|
13284
12675
|
})]
|
|
13285
12676
|
// ----- use-isnan -----
|
|
13286
12677
|
type UseIsnan = []|[{
|
|
@@ -13308,6 +12699,7 @@ type VueArrayElementNewline = []|[(_VueArrayElementNewlineBasicConfig | {
|
|
|
13308
12699
|
ArrayPattern?: _VueArrayElementNewlineBasicConfig
|
|
13309
12700
|
})]
|
|
13310
12701
|
type _VueArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
|
|
12702
|
+
consistent?: boolean
|
|
13311
12703
|
multiline?: boolean
|
|
13312
12704
|
minItems?: (number | null)
|
|
13313
12705
|
})
|
|
@@ -14282,6 +13674,16 @@ type VueObjectCurlyNewline = []|[((("always" | "never") | {
|
|
|
14282
13674
|
minProperties?: number
|
|
14283
13675
|
consistent?: boolean
|
|
14284
13676
|
})
|
|
13677
|
+
TSTypeLiteral?: (("always" | "never") | {
|
|
13678
|
+
multiline?: boolean
|
|
13679
|
+
minProperties?: number
|
|
13680
|
+
consistent?: boolean
|
|
13681
|
+
})
|
|
13682
|
+
TSInterfaceBody?: (("always" | "never") | {
|
|
13683
|
+
multiline?: boolean
|
|
13684
|
+
minProperties?: number
|
|
13685
|
+
consistent?: boolean
|
|
13686
|
+
})
|
|
14285
13687
|
})]
|
|
14286
13688
|
// ----- vue/object-curly-spacing -----
|
|
14287
13689
|
type VueObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -14669,7 +14071,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
14669
14071
|
onlyEquality?: boolean
|
|
14670
14072
|
}]
|
|
14671
14073
|
// Names of all the configs
|
|
14672
|
-
type ConfigNames = 'vinicunca/eslint-comments' | 'vinicunca/formatter/setup' | 'vinicunca/imports/rules' | 'vinicunca/javascript/rules' | 'vinicunca/javascript/disables' | 'vinicunca/jsdoc/rules' | 'vinicunca/jsonc/setup' | 'vinicunca/jsonc/rules' | 'vinicunca/markdown/setup' | 'vinicunca/markdown/processor' | 'vinicunca/markdown/parser' | 'vinicunca/markdown/disables' | 'vinicunca/perfectionist/rules' | 'vinicunca/node/rules' | 'vinicunca/react/setup' | 'vinicunca/react/rules' | 'vinicunca/regexp/rules' | 'vinicunca/sort/package-json' | 'vinicunca/stylistic/rules' | 'vinicunca/test/setup' | 'vinicunca/test/rules' | 'vinicunca/typescript/setup' | 'vinicunca/typescript/parser' | 'vinicunca/typescript/rules' | 'vinicunca/typescript/rules-type-aware' | 'vinicunca/typescript/disables/dts' | 'vinicunca/typescript/disables/tests' | 'vinicunca/typescript/disables/javascript' | 'vinicunca/unicorn/rules' | 'vinicunca/unocss' | 'vinicunca/vue/setup' | 'vinicunca/vue/rules' | 'vinicunca/yaml/setup' | 'vinicunca/yaml/rules'
|
|
14074
|
+
type ConfigNames = 'vinicunca/eslint-comments' | 'vinicunca/formatter/setup' | 'vinicunca/imports/rules' | 'vinicunca/javascript/setup' | 'vinicunca/javascript/rules' | 'vinicunca/javascript/disables' | 'vinicunca/jsdoc/rules' | 'vinicunca/jsonc/setup' | 'vinicunca/jsonc/rules' | 'vinicunca/markdown/setup' | 'vinicunca/markdown/processor' | 'vinicunca/markdown/parser' | 'vinicunca/markdown/disables' | 'vinicunca/perfectionist/rules' | 'vinicunca/node/rules' | 'vinicunca/react/setup' | 'vinicunca/react/rules' | 'vinicunca/regexp/rules' | 'vinicunca/sort/package-json' | 'vinicunca/stylistic/rules' | 'vinicunca/test/setup' | 'vinicunca/test/rules' | 'vinicunca/typescript/setup' | 'vinicunca/typescript/parser' | 'vinicunca/typescript/rules' | 'vinicunca/typescript/rules-type-aware' | 'vinicunca/typescript/disables/dts' | 'vinicunca/typescript/disables/tests' | 'vinicunca/typescript/disables/javascript' | 'vinicunca/unicorn/rules' | 'vinicunca/unocss' | 'vinicunca/vue/setup' | 'vinicunca/vue/rules' | 'vinicunca/yaml/setup' | 'vinicunca/yaml/rules'
|
|
14673
14075
|
|
|
14674
14076
|
/**
|
|
14675
14077
|
* Vendor types from Prettier so we don't rely on the dependency.
|
|
@@ -14856,6 +14258,11 @@ interface OptionsTypeScriptParserOptions {
|
|
|
14856
14258
|
* @default ['**\/*.{ts,tsx}']
|
|
14857
14259
|
*/
|
|
14858
14260
|
filesTypeAware?: Array<string>;
|
|
14261
|
+
/**
|
|
14262
|
+
* Glob patterns for files that should not be type aware.
|
|
14263
|
+
* @default ['**\/*.md\/**', '**\/*.astro/*.ts']
|
|
14264
|
+
*/
|
|
14265
|
+
ignoresTypeAware?: Array<string>;
|
|
14859
14266
|
/**
|
|
14860
14267
|
* Additional parser options for TypeScript.
|
|
14861
14268
|
*/
|
|
@@ -15051,7 +14458,9 @@ declare function jsdoc(options?: OptionsStylistic): Promise<Array<TypedFlatConfi
|
|
|
15051
14458
|
|
|
15052
14459
|
declare function jsonc(options?: OptionsFiles & OptionsStylistic & OptionsOverrides): Promise<Array<TypedFlatConfigItem>>;
|
|
15053
14460
|
|
|
15054
|
-
declare function
|
|
14461
|
+
declare function jsx(): Promise<Array<TypedFlatConfigItem>>;
|
|
14462
|
+
|
|
14463
|
+
declare function markdown(options?: OptionsComponentExts & OptionsFiles & OptionsOverrides): Promise<Array<TypedFlatConfigItem>>;
|
|
15055
14464
|
|
|
15056
14465
|
declare function node(): Promise<Array<TypedFlatConfigItem>>;
|
|
15057
14466
|
|
|
@@ -15096,6 +14505,30 @@ declare function vue(options?: OptionsVue & OptionsHasTypeScript & OptionsOverri
|
|
|
15096
14505
|
|
|
15097
14506
|
declare function yaml(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<Array<TypedFlatConfigItem>>;
|
|
15098
14507
|
|
|
14508
|
+
declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
14509
|
+
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
14510
|
+
declare const GLOB_JS = "**/*.?([cm])js";
|
|
14511
|
+
declare const GLOB_JSX = "**/*.?([cm])jsx";
|
|
14512
|
+
declare const GLOB_TS = "**/*.?([cm])ts";
|
|
14513
|
+
declare const GLOB_TSX = "**/*.?([cm])tsx";
|
|
14514
|
+
declare const GLOB_STYLE = "**/*.{c,le,sc}ss";
|
|
14515
|
+
declare const GLOB_CSS = "**/*.css";
|
|
14516
|
+
declare const GLOB_POSTCSS = "**/*.{p,post}css";
|
|
14517
|
+
declare const GLOB_LESS = "**/*.less";
|
|
14518
|
+
declare const GLOB_SCSS = "**/*.scss";
|
|
14519
|
+
declare const GLOB_JSON = "**/*.json";
|
|
14520
|
+
declare const GLOB_JSON5 = "**/*.json5";
|
|
14521
|
+
declare const GLOB_JSONC = "**/*.jsonc";
|
|
14522
|
+
declare const GLOB_MARKDOWN = "**/*.md";
|
|
14523
|
+
declare const GLOB_MARKDOWN_IN_MARKDOWN = "**/*.md/*.md";
|
|
14524
|
+
declare const GLOB_VUE = "**/*.vue";
|
|
14525
|
+
declare const GLOB_YAML = "**/*.y?(a)ml";
|
|
14526
|
+
declare const GLOB_HTML = "**/*.htm?(l)";
|
|
14527
|
+
declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
|
|
14528
|
+
declare const GLOB_TESTS: string[];
|
|
14529
|
+
declare const GLOB_ALL_SRC: string[];
|
|
14530
|
+
declare const GLOB_EXCLUDE: string[];
|
|
14531
|
+
|
|
15099
14532
|
/**
|
|
15100
14533
|
* Combine array and non-array configs into a single array.
|
|
15101
14534
|
*/
|
|
@@ -15166,28 +14599,4 @@ declare const parserPlain: {
|
|
|
15166
14599
|
};
|
|
15167
14600
|
declare function toArray<T>(value: Array<T> | T): Array<T>;
|
|
15168
14601
|
|
|
15169
|
-
|
|
15170
|
-
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
15171
|
-
declare const GLOB_JS = "**/*.?([cm])js";
|
|
15172
|
-
declare const GLOB_JSX = "**/*.?([cm])jsx";
|
|
15173
|
-
declare const GLOB_TS = "**/*.?([cm])ts";
|
|
15174
|
-
declare const GLOB_TSX = "**/*.?([cm])tsx";
|
|
15175
|
-
declare const GLOB_STYLE = "**/*.{c,le,sc}ss";
|
|
15176
|
-
declare const GLOB_CSS = "**/*.css";
|
|
15177
|
-
declare const GLOB_POSTCSS = "**/*.{p,post}css";
|
|
15178
|
-
declare const GLOB_LESS = "**/*.less";
|
|
15179
|
-
declare const GLOB_SCSS = "**/*.scss";
|
|
15180
|
-
declare const GLOB_JSON = "**/*.json";
|
|
15181
|
-
declare const GLOB_JSON5 = "**/*.json5";
|
|
15182
|
-
declare const GLOB_JSONC = "**/*.jsonc";
|
|
15183
|
-
declare const GLOB_MARKDOWN = "**/*.md";
|
|
15184
|
-
declare const GLOB_MARKDOWN_IN_MARKDOWN = "**/*.md/*.md";
|
|
15185
|
-
declare const GLOB_VUE = "**/*.vue";
|
|
15186
|
-
declare const GLOB_YAML = "**/*.y?(a)ml";
|
|
15187
|
-
declare const GLOB_HTML = "**/*.htm?(l)";
|
|
15188
|
-
declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
|
|
15189
|
-
declare const GLOB_TESTS: string[];
|
|
15190
|
-
declare const GLOB_ALL_SRC: string[];
|
|
15191
|
-
declare const GLOB_EXCLUDE: string[];
|
|
15192
|
-
|
|
15193
|
-
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnoCSS, type OptionsVue, type Rules, STYLISTIC_CONFIG_DEFAULTS, type StylisticConfig, type TypedFlatConfigItem, combineConfigs, comments, defaultPluginRenaming, formatters, ignores, imports, interopDefault, javascript, jsdoc, jsonc, markdown, node, parserPlain, perfectionist, react, regexp, renamePluginInConfigs, renameRules, sonar, sortPackageJson, sortTsconfig, stylistic, test, toArray, typescript, unicorn, unocss, vinicuncaESLint, vue, yaml };
|
|
14602
|
+
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnoCSS, type OptionsVue, type Rules, STYLISTIC_CONFIG_DEFAULTS, type StylisticConfig, type TypedFlatConfigItem, combineConfigs, comments, defaultPluginRenaming, formatters, ignores, imports, interopDefault, javascript, jsdoc, jsonc, jsx, markdown, node, parserPlain, perfectionist, react, regexp, renamePluginInConfigs, renameRules, sonar, sortPackageJson, sortTsconfig, stylistic, test, toArray, typescript, unicorn, unocss, vinicuncaESLint, vue, yaml };
|