@kirklin/eslint-config 2.6.0 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +6 -4
- package/README.zh-cn.md +3 -1
- package/dist/cli.cjs +141 -139
- package/dist/cli.js +141 -139
- package/dist/index.cjs +231 -181
- package/dist/index.d.cts +1271 -559
- package/dist/index.d.ts +1271 -559
- package/dist/index.js +240 -191
- package/package.json +55 -56
package/dist/index.d.ts
CHANGED
|
@@ -1,128 +1,9 @@
|
|
|
1
|
-
import { FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
2
1
|
import { Linter } from 'eslint';
|
|
3
|
-
import {
|
|
2
|
+
import { StylisticCustomizeOptions } from '@stylistic/eslint-plugin';
|
|
4
3
|
import { ParserOptions } from '@typescript-eslint/parser';
|
|
4
|
+
import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
|
|
5
5
|
import { Options } from 'eslint-processor-vue-blocks';
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Vendor types from Prettier so we don't rely on the dependency.
|
|
10
|
-
*/
|
|
11
|
-
type VendoredPrettierOptions = Partial<VendoredPrettierOptionsRequired>;
|
|
12
|
-
interface VendoredPrettierOptionsRequired {
|
|
13
|
-
/**
|
|
14
|
-
* Specify the line length that the printer will wrap on.
|
|
15
|
-
* @default 120
|
|
16
|
-
*/
|
|
17
|
-
printWidth: number;
|
|
18
|
-
/**
|
|
19
|
-
* Specify the number of spaces per indentation-level.
|
|
20
|
-
*/
|
|
21
|
-
tabWidth: number;
|
|
22
|
-
/**
|
|
23
|
-
* Indent lines with tabs instead of spaces
|
|
24
|
-
*/
|
|
25
|
-
useTabs?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Print semicolons at the ends of statements.
|
|
28
|
-
*/
|
|
29
|
-
semi: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Use single quotes instead of double quotes.
|
|
32
|
-
*/
|
|
33
|
-
singleQuote: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Use single quotes in JSX.
|
|
36
|
-
*/
|
|
37
|
-
jsxSingleQuote: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Print trailing commas wherever possible.
|
|
40
|
-
*/
|
|
41
|
-
trailingComma: "none" | "es5" | "all";
|
|
42
|
-
/**
|
|
43
|
-
* Print spaces between brackets in object literals.
|
|
44
|
-
*/
|
|
45
|
-
bracketSpacing: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Put the `>` of a multi-line HTML (HTML, XML, JSX, Vue, Angular) element at the end of the last line instead of being
|
|
48
|
-
* alone on the next line (does not apply to self closing elements).
|
|
49
|
-
*/
|
|
50
|
-
bracketSameLine: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Put the `>` of a multi-line JSX element at the end of the last line instead of being alone on the next line.
|
|
53
|
-
* @deprecated use bracketSameLine instead
|
|
54
|
-
*/
|
|
55
|
-
jsxBracketSameLine: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Format only a segment of a file.
|
|
58
|
-
*/
|
|
59
|
-
rangeStart: number;
|
|
60
|
-
/**
|
|
61
|
-
* Format only a segment of a file.
|
|
62
|
-
* @default Number.POSITIVE_INFINITY
|
|
63
|
-
*/
|
|
64
|
-
rangeEnd: number;
|
|
65
|
-
/**
|
|
66
|
-
* By default, Prettier will wrap markdown text as-is since some services use a linebreak-sensitive renderer.
|
|
67
|
-
* In some cases you may want to rely on editor/viewer soft wrapping instead, so this option allows you to opt out.
|
|
68
|
-
* @default "preserve"
|
|
69
|
-
*/
|
|
70
|
-
proseWrap: "always" | "never" | "preserve";
|
|
71
|
-
/**
|
|
72
|
-
* Include parentheses around a sole arrow function parameter.
|
|
73
|
-
* @default "always"
|
|
74
|
-
*/
|
|
75
|
-
arrowParens: "avoid" | "always";
|
|
76
|
-
/**
|
|
77
|
-
* Provide ability to support new languages to prettier.
|
|
78
|
-
*/
|
|
79
|
-
plugins: Array<string | any>;
|
|
80
|
-
/**
|
|
81
|
-
* How to handle whitespaces in HTML.
|
|
82
|
-
* @default "css"
|
|
83
|
-
*/
|
|
84
|
-
htmlWhitespaceSensitivity: "css" | "strict" | "ignore";
|
|
85
|
-
/**
|
|
86
|
-
* Which end of line characters to apply.
|
|
87
|
-
* @default "lf"
|
|
88
|
-
*/
|
|
89
|
-
endOfLine: "auto" | "lf" | "crlf" | "cr";
|
|
90
|
-
/**
|
|
91
|
-
* Change when properties in objects are quoted.
|
|
92
|
-
* @default "as-needed"
|
|
93
|
-
*/
|
|
94
|
-
quoteProps: "as-needed" | "consistent" | "preserve";
|
|
95
|
-
/**
|
|
96
|
-
* Whether or not to indent the code inside <script> and <style> tags in Vue files.
|
|
97
|
-
* @default false
|
|
98
|
-
*/
|
|
99
|
-
vueIndentScriptAndStyle: boolean;
|
|
100
|
-
/**
|
|
101
|
-
* Enforce single attribute per line in HTML, XML, Vue and JSX.
|
|
102
|
-
* @default false
|
|
103
|
-
*/
|
|
104
|
-
singleAttributePerLine: boolean;
|
|
105
|
-
/**
|
|
106
|
-
* How to handle whitespaces in XML.
|
|
107
|
-
* @default "preserve"
|
|
108
|
-
*/
|
|
109
|
-
xmlQuoteAttributes: "single" | "double" | "preserve";
|
|
110
|
-
/**
|
|
111
|
-
* Whether to put a space inside the brackets of self-closing XML elements.
|
|
112
|
-
* @default true
|
|
113
|
-
*/
|
|
114
|
-
xmlSelfClosingSpace: boolean;
|
|
115
|
-
/**
|
|
116
|
-
* Whether to sort attributes by key in XML elements.
|
|
117
|
-
* @default false
|
|
118
|
-
*/
|
|
119
|
-
xmlSortAttributesByKey: boolean;
|
|
120
|
-
/**
|
|
121
|
-
* How to handle whitespaces in XML.
|
|
122
|
-
* @default "ignore"
|
|
123
|
-
*/
|
|
124
|
-
xmlWhitespaceSensitivity: "ignore" | "strict" | "preserve";
|
|
125
|
-
}
|
|
6
|
+
import { FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
126
7
|
|
|
127
8
|
/* eslint-disable */
|
|
128
9
|
/* prettier-ignore */
|
|
@@ -429,6 +310,11 @@ interface RuleOptions {
|
|
|
429
310
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/semi/
|
|
430
311
|
*/
|
|
431
312
|
'astro/semi'?: Linter.RuleEntry<AstroSemi>
|
|
313
|
+
/**
|
|
314
|
+
* enforce sorting of attributes
|
|
315
|
+
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/sort-attributes/
|
|
316
|
+
*/
|
|
317
|
+
'astro/sort-attributes'?: Linter.RuleEntry<AstroSortAttributes>
|
|
432
318
|
/**
|
|
433
319
|
* disallow warnings when compiling.
|
|
434
320
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/valid-compile/
|
|
@@ -711,228 +597,233 @@ interface RuleOptions {
|
|
|
711
597
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
712
598
|
/**
|
|
713
599
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
714
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
600
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/consistent-type-specifier-style.md
|
|
715
601
|
*/
|
|
716
602
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
717
603
|
/**
|
|
718
604
|
* Ensure a default export is present, given a default import.
|
|
719
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
605
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/default.md
|
|
720
606
|
*/
|
|
721
607
|
'import/default'?: Linter.RuleEntry<[]>
|
|
722
608
|
/**
|
|
723
609
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
724
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
610
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/dynamic-import-chunkname.md
|
|
725
611
|
*/
|
|
726
612
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
727
613
|
/**
|
|
728
614
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
729
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
615
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/export.md
|
|
730
616
|
*/
|
|
731
617
|
'import/export'?: Linter.RuleEntry<[]>
|
|
732
618
|
/**
|
|
733
619
|
* Ensure all exports appear after other statements.
|
|
734
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
620
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/exports-last.md
|
|
735
621
|
*/
|
|
736
622
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
737
623
|
/**
|
|
738
624
|
* Ensure consistent use of file extension within the import path.
|
|
739
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
625
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/extensions.md
|
|
740
626
|
*/
|
|
741
627
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
742
628
|
/**
|
|
743
629
|
* Ensure all imports appear before other statements.
|
|
744
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
630
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/first.md
|
|
745
631
|
*/
|
|
746
632
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
747
633
|
/**
|
|
748
634
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
749
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
635
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/group-exports.md
|
|
750
636
|
*/
|
|
751
637
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
752
638
|
/**
|
|
753
639
|
* Replaced by `import-x/first`.
|
|
754
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
640
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/imports-first.md
|
|
755
641
|
* @deprecated
|
|
756
642
|
*/
|
|
757
643
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
758
644
|
/**
|
|
759
645
|
* Enforce the maximum number of dependencies a module can have.
|
|
760
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
646
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/max-dependencies.md
|
|
761
647
|
*/
|
|
762
648
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
763
649
|
/**
|
|
764
650
|
* Ensure named imports correspond to a named export in the remote file.
|
|
765
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
651
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/named.md
|
|
766
652
|
*/
|
|
767
653
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
768
654
|
/**
|
|
769
655
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
770
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
656
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/namespace.md
|
|
771
657
|
*/
|
|
772
658
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
773
659
|
/**
|
|
774
660
|
* Enforce a newline after import statements.
|
|
775
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
661
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/newline-after-import.md
|
|
776
662
|
*/
|
|
777
663
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
778
664
|
/**
|
|
779
665
|
* Forbid import of modules using absolute paths.
|
|
780
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
666
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-absolute-path.md
|
|
781
667
|
*/
|
|
782
668
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
783
669
|
/**
|
|
784
670
|
* Forbid AMD `require` and `define` calls.
|
|
785
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
671
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-amd.md
|
|
786
672
|
*/
|
|
787
673
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
788
674
|
/**
|
|
789
675
|
* Forbid anonymous values as default exports.
|
|
790
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
676
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-anonymous-default-export.md
|
|
791
677
|
*/
|
|
792
678
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
793
679
|
/**
|
|
794
680
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
795
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
681
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-commonjs.md
|
|
796
682
|
*/
|
|
797
683
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
798
684
|
/**
|
|
799
685
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
800
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
686
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-cycle.md
|
|
801
687
|
*/
|
|
802
688
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
803
689
|
/**
|
|
804
690
|
* Forbid default exports.
|
|
805
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
691
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-default-export.md
|
|
806
692
|
*/
|
|
807
693
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
808
694
|
/**
|
|
809
695
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
810
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
696
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-deprecated.md
|
|
811
697
|
*/
|
|
812
698
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
813
699
|
/**
|
|
814
700
|
* Forbid repeated import of the same module in multiple places.
|
|
815
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
701
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-duplicates.md
|
|
816
702
|
*/
|
|
817
703
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
818
704
|
/**
|
|
819
705
|
* Forbid `require()` calls with expressions.
|
|
820
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
706
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-dynamic-require.md
|
|
821
707
|
*/
|
|
822
708
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
823
709
|
/**
|
|
824
710
|
* Forbid empty named import blocks.
|
|
825
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
711
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-empty-named-blocks.md
|
|
826
712
|
*/
|
|
827
713
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
828
714
|
/**
|
|
829
715
|
* Forbid the use of extraneous packages.
|
|
830
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
716
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-extraneous-dependencies.md
|
|
831
717
|
*/
|
|
832
718
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
833
719
|
/**
|
|
834
720
|
* Forbid import statements with CommonJS module.exports.
|
|
835
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
721
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-import-module-exports.md
|
|
836
722
|
*/
|
|
837
723
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
838
724
|
/**
|
|
839
725
|
* Forbid importing the submodules of other modules.
|
|
840
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
726
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-internal-modules.md
|
|
841
727
|
*/
|
|
842
728
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
843
729
|
/**
|
|
844
730
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
845
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
731
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-mutable-exports.md
|
|
846
732
|
*/
|
|
847
733
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
848
734
|
/**
|
|
849
735
|
* Forbid use of exported name as identifier of default export.
|
|
850
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
736
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-as-default.md
|
|
851
737
|
*/
|
|
852
738
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
853
739
|
/**
|
|
854
740
|
* Forbid use of exported name as property of default export.
|
|
855
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
741
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-as-default-member.md
|
|
856
742
|
*/
|
|
857
743
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
858
744
|
/**
|
|
859
745
|
* Forbid named default exports.
|
|
860
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
746
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-default.md
|
|
861
747
|
*/
|
|
862
748
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
863
749
|
/**
|
|
864
750
|
* Forbid named exports.
|
|
865
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
751
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-export.md
|
|
866
752
|
*/
|
|
867
753
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
868
754
|
/**
|
|
869
755
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
870
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
756
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-namespace.md
|
|
871
757
|
*/
|
|
872
758
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
873
759
|
/**
|
|
874
760
|
* Forbid Node.js builtin modules.
|
|
875
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
761
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-nodejs-modules.md
|
|
876
762
|
*/
|
|
877
763
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
878
764
|
/**
|
|
879
765
|
* Forbid importing packages through relative paths.
|
|
880
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
766
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-relative-packages.md
|
|
881
767
|
*/
|
|
882
768
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
883
769
|
/**
|
|
884
770
|
* Forbid importing modules from parent directories.
|
|
885
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
771
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-relative-parent-imports.md
|
|
886
772
|
*/
|
|
887
773
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
774
|
+
/**
|
|
775
|
+
* Forbid importing a default export by a different name.
|
|
776
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-rename-default.md
|
|
777
|
+
*/
|
|
778
|
+
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
888
779
|
/**
|
|
889
780
|
* Enforce which files can be imported in a given folder.
|
|
890
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
781
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-restricted-paths.md
|
|
891
782
|
*/
|
|
892
783
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
893
784
|
/**
|
|
894
785
|
* Forbid a module from importing itself.
|
|
895
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
786
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-self-import.md
|
|
896
787
|
*/
|
|
897
788
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
898
789
|
/**
|
|
899
790
|
* Forbid unassigned imports.
|
|
900
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
791
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unassigned-import.md
|
|
901
792
|
*/
|
|
902
793
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
903
794
|
/**
|
|
904
795
|
* Ensure imports point to a file/module that can be resolved.
|
|
905
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
796
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unresolved.md
|
|
906
797
|
*/
|
|
907
798
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
908
799
|
/**
|
|
909
800
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
910
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
801
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unused-modules.md
|
|
911
802
|
*/
|
|
912
803
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
913
804
|
/**
|
|
914
805
|
* Forbid unnecessary path segments in import and require statements.
|
|
915
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
806
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-useless-path-segments.md
|
|
916
807
|
*/
|
|
917
808
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
918
809
|
/**
|
|
919
810
|
* Forbid webpack loader syntax in imports.
|
|
920
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
811
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-webpack-loader-syntax.md
|
|
921
812
|
*/
|
|
922
813
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
923
814
|
/**
|
|
924
815
|
* Enforce a convention in module import order.
|
|
925
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
816
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/order.md
|
|
926
817
|
*/
|
|
927
818
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
928
819
|
/**
|
|
929
820
|
* Prefer a default export if module exports a single name or multiple names.
|
|
930
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
821
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/prefer-default-export.md
|
|
931
822
|
*/
|
|
932
823
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
933
824
|
/**
|
|
934
825
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
935
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
826
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/unambiguous.md
|
|
936
827
|
*/
|
|
937
828
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
938
829
|
/**
|
|
@@ -1083,6 +974,7 @@ interface RuleOptions {
|
|
|
1083
974
|
*/
|
|
1084
975
|
'jsdoc/no-missing-syntax'?: Linter.RuleEntry<JsdocNoMissingSyntax>
|
|
1085
976
|
/**
|
|
977
|
+
* Prevents use of multiple asterisks at the beginning of lines.
|
|
1086
978
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-multi-asterisks.md#repos-sticky-header
|
|
1087
979
|
*/
|
|
1088
980
|
'jsdoc/no-multi-asterisks'?: Linter.RuleEntry<JsdocNoMultiAsterisks>
|
|
@@ -1227,6 +1119,7 @@ interface RuleOptions {
|
|
|
1227
1119
|
*/
|
|
1228
1120
|
'jsdoc/tag-lines'?: Linter.RuleEntry<JsdocTagLines>
|
|
1229
1121
|
/**
|
|
1122
|
+
* Auto-escape certain characters that are input within block and tag descriptions.
|
|
1230
1123
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/text-escaping.md#repos-sticky-header
|
|
1231
1124
|
*/
|
|
1232
1125
|
'jsdoc/text-escaping'?: Linter.RuleEntry<JsdocTextEscaping>
|
|
@@ -1473,6 +1366,11 @@ interface RuleOptions {
|
|
|
1473
1366
|
* @deprecated
|
|
1474
1367
|
*/
|
|
1475
1368
|
'keyword-spacing'?: Linter.RuleEntry<KeywordSpacing>
|
|
1369
|
+
/**
|
|
1370
|
+
* Having line breaks styles to object, array and named imports
|
|
1371
|
+
* @see https://github.com/kirklin/eslint-plugin-kirklin/blob/main/src/rules/consistent-chaining.md
|
|
1372
|
+
*/
|
|
1373
|
+
'kirklin/consistent-chaining'?: Linter.RuleEntry<KirklinConsistentChaining>
|
|
1476
1374
|
/**
|
|
1477
1375
|
* Having line breaks styles to object, array and named imports
|
|
1478
1376
|
* @see https://github.com/kirklin/eslint-plugin-kirklin/blob/main/src/rules/consistent-list-newline.md
|
|
@@ -1490,7 +1388,7 @@ interface RuleOptions {
|
|
|
1490
1388
|
'kirklin/import-dedupe'?: Linter.RuleEntry<[]>
|
|
1491
1389
|
/**
|
|
1492
1390
|
* Enforce consistent indentation in `unindent` template tag
|
|
1493
|
-
* @see https://github.com/kirklin/eslint-plugin-kirklin/blob/main/src/rules/indent-unindent.
|
|
1391
|
+
* @see https://github.com/kirklin/eslint-plugin-kirklin/blob/main/src/rules/indent-unindent.md
|
|
1494
1392
|
*/
|
|
1495
1393
|
'kirklin/indent-unindent'?: Linter.RuleEntry<KirklinIndentUnindent>
|
|
1496
1394
|
/**
|
|
@@ -1503,6 +1401,11 @@ interface RuleOptions {
|
|
|
1503
1401
|
* @see https://github.com/kirklin/eslint-plugin-kirklin/blob/main/src/rules/no-import-node-modules-by-path.test.ts
|
|
1504
1402
|
*/
|
|
1505
1403
|
'kirklin/no-import-node-modules-by-path'?: Linter.RuleEntry<[]>
|
|
1404
|
+
/**
|
|
1405
|
+
* Prevent using top-level await
|
|
1406
|
+
* @see https://github.com/kirklin/eslint-plugin-kirklin/blob/main/src/rules/no-top-level-await.test.ts
|
|
1407
|
+
*/
|
|
1408
|
+
'kirklin/no-top-level-await'?: Linter.RuleEntry<[]>
|
|
1506
1409
|
/**
|
|
1507
1410
|
* Do not use `exports =`
|
|
1508
1411
|
* @see https://github.com/kirklin/eslint-plugin-kirklin/blob/main/src/rules/no-ts-export-equal.test.ts
|
|
@@ -1548,6 +1451,34 @@ interface RuleOptions {
|
|
|
1548
1451
|
* @see https://eslint.org/docs/latest/rules/logical-assignment-operators
|
|
1549
1452
|
*/
|
|
1550
1453
|
'logical-assignment-operators'?: Linter.RuleEntry<LogicalAssignmentOperators>
|
|
1454
|
+
/**
|
|
1455
|
+
* Require languages for fenced code blocks.
|
|
1456
|
+
*/
|
|
1457
|
+
'markdown/fenced-code-language'?: Linter.RuleEntry<MarkdownFencedCodeLanguage>
|
|
1458
|
+
/**
|
|
1459
|
+
* Enforce heading levels increment by one.
|
|
1460
|
+
*/
|
|
1461
|
+
'markdown/heading-increment'?: Linter.RuleEntry<[]>
|
|
1462
|
+
/**
|
|
1463
|
+
* Disallow duplicate headings in the same document.
|
|
1464
|
+
*/
|
|
1465
|
+
'markdown/no-duplicate-headings'?: Linter.RuleEntry<[]>
|
|
1466
|
+
/**
|
|
1467
|
+
* Disallow empty links.
|
|
1468
|
+
*/
|
|
1469
|
+
'markdown/no-empty-links'?: Linter.RuleEntry<[]>
|
|
1470
|
+
/**
|
|
1471
|
+
* Disallow HTML tags.
|
|
1472
|
+
*/
|
|
1473
|
+
'markdown/no-html'?: Linter.RuleEntry<MarkdownNoHtml>
|
|
1474
|
+
/**
|
|
1475
|
+
* Disallow invalid label references.
|
|
1476
|
+
*/
|
|
1477
|
+
'markdown/no-invalid-label-refs'?: Linter.RuleEntry<[]>
|
|
1478
|
+
/**
|
|
1479
|
+
* Disallow missing label references.
|
|
1480
|
+
*/
|
|
1481
|
+
'markdown/no-missing-label-refs'?: Linter.RuleEntry<[]>
|
|
1551
1482
|
/**
|
|
1552
1483
|
* Enforce a maximum number of classes per file
|
|
1553
1484
|
* @see https://eslint.org/docs/latest/rules/max-classes-per-file
|
|
@@ -2527,7 +2458,7 @@ interface RuleOptions {
|
|
|
2527
2458
|
* disallow the use of `process.env`
|
|
2528
2459
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-process-env.md
|
|
2529
2460
|
*/
|
|
2530
|
-
'node/no-process-env'?: Linter.RuleEntry<
|
|
2461
|
+
'node/no-process-env'?: Linter.RuleEntry<NodeNoProcessEnv>
|
|
2531
2462
|
/**
|
|
2532
2463
|
* disallow the use of `process.exit()`
|
|
2533
2464
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-process-exit.md
|
|
@@ -2710,6 +2641,7 @@ interface RuleOptions {
|
|
|
2710
2641
|
/**
|
|
2711
2642
|
* Enforce sorted Astro attributes.
|
|
2712
2643
|
* @see https://perfectionist.dev/rules/sort-astro-attributes
|
|
2644
|
+
* @deprecated
|
|
2713
2645
|
*/
|
|
2714
2646
|
'perfectionist/sort-astro-attributes'?: Linter.RuleEntry<PerfectionistSortAstroAttributes>
|
|
2715
2647
|
/**
|
|
@@ -2772,9 +2704,15 @@ interface RuleOptions {
|
|
|
2772
2704
|
* @see https://perfectionist.dev/rules/sort-objects
|
|
2773
2705
|
*/
|
|
2774
2706
|
'perfectionist/sort-objects'?: Linter.RuleEntry<PerfectionistSortObjects>
|
|
2707
|
+
/**
|
|
2708
|
+
* Enforce sorted sets.
|
|
2709
|
+
* @see https://perfectionist.dev/rules/sort-sets
|
|
2710
|
+
*/
|
|
2711
|
+
'perfectionist/sort-sets'?: Linter.RuleEntry<PerfectionistSortSets>
|
|
2775
2712
|
/**
|
|
2776
2713
|
* Enforce sorted Svelte attributes.
|
|
2777
2714
|
* @see https://perfectionist.dev/rules/sort-svelte-attributes
|
|
2715
|
+
* @deprecated
|
|
2778
2716
|
*/
|
|
2779
2717
|
'perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>
|
|
2780
2718
|
/**
|
|
@@ -2795,6 +2733,7 @@ interface RuleOptions {
|
|
|
2795
2733
|
/**
|
|
2796
2734
|
* Enforce sorted Vue attributes.
|
|
2797
2735
|
* @see https://perfectionist.dev/rules/sort-vue-attributes
|
|
2736
|
+
* @deprecated
|
|
2798
2737
|
*/
|
|
2799
2738
|
'perfectionist/sort-vue-attributes'?: Linter.RuleEntry<PerfectionistSortVueAttributes>
|
|
2800
2739
|
/**
|
|
@@ -2941,18 +2880,13 @@ interface RuleOptions {
|
|
|
2941
2880
|
*/
|
|
2942
2881
|
'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
|
|
2943
2882
|
/**
|
|
2944
|
-
* enforce custom hooks
|
|
2945
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-
|
|
2883
|
+
* enforce custom hooks to use at least one other hook inside
|
|
2884
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-redundant-custom-hook
|
|
2946
2885
|
*/
|
|
2947
2886
|
'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>
|
|
2948
2887
|
/**
|
|
2949
|
-
*
|
|
2950
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-
|
|
2951
|
-
*/
|
|
2952
|
-
'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>
|
|
2953
|
-
/**
|
|
2954
|
-
* enforce 'useMemo' has non-empty dependencies array
|
|
2955
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-use-memo-has-non-empty-deps
|
|
2888
|
+
* disallow unnecessary usage of 'useMemo'
|
|
2889
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
|
|
2956
2890
|
*/
|
|
2957
2891
|
'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: Linter.RuleEntry<[]>
|
|
2958
2892
|
/**
|
|
@@ -2965,6 +2899,21 @@ interface RuleOptions {
|
|
|
2965
2899
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
|
|
2966
2900
|
*/
|
|
2967
2901
|
'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
|
|
2902
|
+
/**
|
|
2903
|
+
* enforce custom hooks to use at least one other hook inside
|
|
2904
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-redundant-custom-hook
|
|
2905
|
+
*/
|
|
2906
|
+
'react-hooks-extra/no-redundant-custom-hook'?: Linter.RuleEntry<[]>
|
|
2907
|
+
/**
|
|
2908
|
+
* disallow unnecessary usage of 'useCallback'
|
|
2909
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
|
|
2910
|
+
*/
|
|
2911
|
+
'react-hooks-extra/no-unnecessary-use-callback'?: Linter.RuleEntry<[]>
|
|
2912
|
+
/**
|
|
2913
|
+
* disallow unnecessary usage of 'useMemo'
|
|
2914
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
|
|
2915
|
+
*/
|
|
2916
|
+
'react-hooks-extra/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>
|
|
2968
2917
|
/**
|
|
2969
2918
|
* disallow function calls in 'useState' that aren't wrapped in an initializer function
|
|
2970
2919
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
|
|
@@ -3210,12 +3159,17 @@ interface RuleOptions {
|
|
|
3210
3159
|
* disallow unnecessary fragments
|
|
3211
3160
|
* @see https://eslint-react.xyz/docs/rules/no-useless-fragment
|
|
3212
3161
|
*/
|
|
3213
|
-
'react/no-useless-fragment'?: Linter.RuleEntry<
|
|
3162
|
+
'react/no-useless-fragment'?: Linter.RuleEntry<ReactNoUselessFragment>
|
|
3214
3163
|
/**
|
|
3215
3164
|
* enforce using destructuring assignment in component props and context
|
|
3216
3165
|
* @see https://eslint-react.xyz/docs/rules/prefer-destructuring-assignment
|
|
3217
3166
|
*/
|
|
3218
3167
|
'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
|
|
3168
|
+
/**
|
|
3169
|
+
* enforce React is imported via a namespace import
|
|
3170
|
+
* @see https://eslint-react.xyz/docs/rules/prefer-react-namespace-import
|
|
3171
|
+
*/
|
|
3172
|
+
'react/prefer-react-namespace-import'?: Linter.RuleEntry<[]>
|
|
3219
3173
|
/**
|
|
3220
3174
|
* enforce read-only props in components
|
|
3221
3175
|
* @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
|
|
@@ -3655,7 +3609,7 @@ interface RuleOptions {
|
|
|
3655
3609
|
* Enforce the use of `u` or `v` flag on RegExp
|
|
3656
3610
|
* @see https://eslint.org/docs/latest/rules/require-unicode-regexp
|
|
3657
3611
|
*/
|
|
3658
|
-
'require-unicode-regexp'?: Linter.RuleEntry<
|
|
3612
|
+
'require-unicode-regexp'?: Linter.RuleEntry<RequireUnicodeRegexp>
|
|
3659
3613
|
/**
|
|
3660
3614
|
* Require generator functions to contain `yield`
|
|
3661
3615
|
* @see https://eslint.org/docs/latest/rules/require-yield
|
|
@@ -3897,6 +3851,11 @@ interface RuleOptions {
|
|
|
3897
3851
|
* @see https://eslint.style/rules/js/computed-property-spacing
|
|
3898
3852
|
*/
|
|
3899
3853
|
'style/computed-property-spacing'?: Linter.RuleEntry<StyleComputedPropertySpacing>
|
|
3854
|
+
/**
|
|
3855
|
+
* Enforce consistent line breaks after opening and before closing braces
|
|
3856
|
+
* @see https://eslint.style/rules/plus/curly-newline
|
|
3857
|
+
*/
|
|
3858
|
+
'style/curly-newline'?: Linter.RuleEntry<StyleCurlyNewline>
|
|
3900
3859
|
/**
|
|
3901
3860
|
* Enforce consistent newlines before and after dots
|
|
3902
3861
|
* @see https://eslint.style/rules/js/dot-location
|
|
@@ -3961,7 +3920,7 @@ interface RuleOptions {
|
|
|
3961
3920
|
* Enforce closing tag location for multiline JSX
|
|
3962
3921
|
* @see https://eslint.style/rules/jsx/jsx-closing-tag-location
|
|
3963
3922
|
*/
|
|
3964
|
-
'style/jsx-closing-tag-location'?: Linter.RuleEntry<
|
|
3923
|
+
'style/jsx-closing-tag-location'?: Linter.RuleEntry<StyleJsxClosingTagLocation>
|
|
3965
3924
|
/**
|
|
3966
3925
|
* Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes
|
|
3967
3926
|
* @see https://eslint.style/rules/jsx/jsx-curly-brace-presence
|
|
@@ -4359,6 +4318,11 @@ interface RuleOptions {
|
|
|
4359
4318
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/first-attribute-linebreak/
|
|
4360
4319
|
*/
|
|
4361
4320
|
'svelte/first-attribute-linebreak'?: Linter.RuleEntry<SvelteFirstAttributeLinebreak>
|
|
4321
|
+
/**
|
|
4322
|
+
* Require or disallow a line break before tag's closing brackets
|
|
4323
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/html-closing-bracket-new-line/
|
|
4324
|
+
*/
|
|
4325
|
+
'svelte/html-closing-bracket-new-line'?: Linter.RuleEntry<SvelteHtmlClosingBracketNewLine>
|
|
4362
4326
|
/**
|
|
4363
4327
|
* require or disallow a space before tag's closing brackets
|
|
4364
4328
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/html-closing-bracket-spacing/
|
|
@@ -4469,6 +4433,11 @@ interface RuleOptions {
|
|
|
4469
4433
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-inner-declarations/
|
|
4470
4434
|
*/
|
|
4471
4435
|
'svelte/no-inner-declarations'?: Linter.RuleEntry<SvelteNoInnerDeclarations>
|
|
4436
|
+
/**
|
|
4437
|
+
* Warns against the use of `$inspect` directive
|
|
4438
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-inspect/
|
|
4439
|
+
*/
|
|
4440
|
+
'svelte/no-inspect'?: Linter.RuleEntry<[]>
|
|
4472
4441
|
/**
|
|
4473
4442
|
* disallow use of not function in event handler
|
|
4474
4443
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-not-function-handler/
|
|
@@ -4659,108 +4628,103 @@ interface RuleOptions {
|
|
|
4659
4628
|
'template-tag-spacing'?: Linter.RuleEntry<TemplateTagSpacing>
|
|
4660
4629
|
/**
|
|
4661
4630
|
* require .spec test file pattern
|
|
4662
|
-
* @see https://github.com/
|
|
4631
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-filename.md
|
|
4663
4632
|
*/
|
|
4664
4633
|
'test/consistent-test-filename'?: Linter.RuleEntry<TestConsistentTestFilename>
|
|
4665
4634
|
/**
|
|
4666
4635
|
* enforce using test or it but not both
|
|
4667
|
-
* @see https://github.com/
|
|
4636
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-it.md
|
|
4668
4637
|
*/
|
|
4669
4638
|
'test/consistent-test-it'?: Linter.RuleEntry<TestConsistentTestIt>
|
|
4670
4639
|
/**
|
|
4671
4640
|
* enforce having expectation in test body
|
|
4672
|
-
* @see https://github.com/
|
|
4641
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
|
|
4673
4642
|
*/
|
|
4674
4643
|
'test/expect-expect'?: Linter.RuleEntry<TestExpectExpect>
|
|
4675
|
-
/**
|
|
4676
|
-
* Enforce padding around afterAll blocks
|
|
4677
|
-
* @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/index.md
|
|
4678
|
-
*/
|
|
4679
|
-
'test/index'?: Linter.RuleEntry<[]>
|
|
4680
4644
|
/**
|
|
4681
4645
|
* enforce a maximum number of expect per test
|
|
4682
|
-
* @see https://github.com/
|
|
4646
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
|
|
4683
4647
|
*/
|
|
4684
4648
|
'test/max-expects'?: Linter.RuleEntry<TestMaxExpects>
|
|
4685
4649
|
/**
|
|
4686
4650
|
* require describe block to be less than set max value or default value
|
|
4687
|
-
* @see https://github.com/
|
|
4651
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-nested-describe.md
|
|
4688
4652
|
*/
|
|
4689
4653
|
'test/max-nested-describe'?: Linter.RuleEntry<TestMaxNestedDescribe>
|
|
4690
4654
|
/**
|
|
4691
4655
|
* disallow alias methods
|
|
4692
|
-
* @see https://github.com/
|
|
4656
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-alias-methods.md
|
|
4693
4657
|
*/
|
|
4694
4658
|
'test/no-alias-methods'?: Linter.RuleEntry<[]>
|
|
4695
4659
|
/**
|
|
4696
4660
|
* disallow commented out tests
|
|
4697
|
-
* @see https://github.com/
|
|
4661
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-commented-out-tests.md
|
|
4698
4662
|
*/
|
|
4699
4663
|
'test/no-commented-out-tests'?: Linter.RuleEntry<[]>
|
|
4700
4664
|
/**
|
|
4701
4665
|
* disallow conditional expects
|
|
4702
|
-
* @see https://github.com/
|
|
4666
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-expect.md
|
|
4703
4667
|
*/
|
|
4704
4668
|
'test/no-conditional-expect'?: Linter.RuleEntry<[]>
|
|
4705
4669
|
/**
|
|
4706
4670
|
* disallow conditional tests
|
|
4707
|
-
* @see https://github.com/
|
|
4671
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-in-test.md
|
|
4708
4672
|
*/
|
|
4709
4673
|
'test/no-conditional-in-test'?: Linter.RuleEntry<[]>
|
|
4710
4674
|
/**
|
|
4711
4675
|
* disallow conditional tests
|
|
4712
|
-
* @see https://github.com/
|
|
4676
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-conditional-tests.md
|
|
4713
4677
|
*/
|
|
4714
4678
|
'test/no-conditional-tests'?: Linter.RuleEntry<[]>
|
|
4715
4679
|
/**
|
|
4716
4680
|
* disallow disabled tests
|
|
4717
|
-
* @see https://github.com/
|
|
4681
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-disabled-tests.md
|
|
4718
4682
|
*/
|
|
4719
4683
|
'test/no-disabled-tests'?: Linter.RuleEntry<[]>
|
|
4720
4684
|
/**
|
|
4721
4685
|
* disallow using a callback in asynchronous tests and hooks
|
|
4722
|
-
* @see https://github.com/
|
|
4686
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-done-callback.md
|
|
4723
4687
|
* @deprecated
|
|
4724
4688
|
*/
|
|
4725
4689
|
'test/no-done-callback'?: Linter.RuleEntry<[]>
|
|
4726
4690
|
/**
|
|
4727
4691
|
* disallow duplicate hooks and teardown hooks
|
|
4728
|
-
* @see https://github.com/
|
|
4692
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-duplicate-hooks.md
|
|
4729
4693
|
*/
|
|
4730
4694
|
'test/no-duplicate-hooks'?: Linter.RuleEntry<[]>
|
|
4731
4695
|
/**
|
|
4732
4696
|
* disallow focused tests
|
|
4733
|
-
* @see https://github.com/
|
|
4697
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-focused-tests.md
|
|
4734
4698
|
*/
|
|
4735
4699
|
'test/no-focused-tests'?: Linter.RuleEntry<TestNoFocusedTests>
|
|
4736
4700
|
/**
|
|
4737
4701
|
* disallow setup and teardown hooks
|
|
4738
|
-
* @see https://github.com/
|
|
4702
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-hooks.md
|
|
4739
4703
|
*/
|
|
4740
4704
|
'test/no-hooks'?: Linter.RuleEntry<TestNoHooks>
|
|
4741
4705
|
/**
|
|
4742
4706
|
* disallow identical titles
|
|
4743
|
-
* @see https://github.com/
|
|
4707
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-identical-title.md
|
|
4744
4708
|
*/
|
|
4745
4709
|
'test/no-identical-title'?: Linter.RuleEntry<[]>
|
|
4746
4710
|
/**
|
|
4747
4711
|
* disallow importing `node:test`
|
|
4748
|
-
* @see https://github.com/
|
|
4712
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-import-node-test.md
|
|
4749
4713
|
*/
|
|
4750
4714
|
'test/no-import-node-test'?: Linter.RuleEntry<[]>
|
|
4751
4715
|
/**
|
|
4752
4716
|
* disallow string interpolation in snapshots
|
|
4753
|
-
* @see https://github.com/
|
|
4717
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-interpolation-in-snapshots.md
|
|
4754
4718
|
*/
|
|
4755
4719
|
'test/no-interpolation-in-snapshots'?: Linter.RuleEntry<[]>
|
|
4756
4720
|
/**
|
|
4757
4721
|
* disallow large snapshots
|
|
4758
|
-
* @see https://github.com/
|
|
4722
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-large-snapshots.md
|
|
4759
4723
|
*/
|
|
4760
4724
|
'test/no-large-snapshots'?: Linter.RuleEntry<TestNoLargeSnapshots>
|
|
4761
4725
|
/**
|
|
4762
4726
|
* disallow importing from __mocks__ directory
|
|
4763
|
-
* @see https://github.com/
|
|
4727
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-mocks-import.md
|
|
4764
4728
|
*/
|
|
4765
4729
|
'test/no-mocks-import'?: Linter.RuleEntry<[]>
|
|
4766
4730
|
/**
|
|
@@ -4770,162 +4734,207 @@ interface RuleOptions {
|
|
|
4770
4734
|
'test/no-only-tests'?: Linter.RuleEntry<TestNoOnlyTests>
|
|
4771
4735
|
/**
|
|
4772
4736
|
* disallow the use of certain matchers
|
|
4773
|
-
* @see https://github.com/
|
|
4737
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-restricted-matchers.md
|
|
4774
4738
|
*/
|
|
4775
4739
|
'test/no-restricted-matchers'?: Linter.RuleEntry<TestNoRestrictedMatchers>
|
|
4776
4740
|
/**
|
|
4777
4741
|
* disallow specific `vi.` methods
|
|
4778
|
-
* @see https://github.com/
|
|
4742
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-restricted-vi-methods.md
|
|
4779
4743
|
*/
|
|
4780
4744
|
'test/no-restricted-vi-methods'?: Linter.RuleEntry<TestNoRestrictedViMethods>
|
|
4781
4745
|
/**
|
|
4782
4746
|
* disallow using `expect` outside of `it` or `test` blocks
|
|
4783
|
-
* @see https://github.com/
|
|
4747
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-standalone-expect.md
|
|
4784
4748
|
*/
|
|
4785
4749
|
'test/no-standalone-expect'?: Linter.RuleEntry<TestNoStandaloneExpect>
|
|
4786
4750
|
/**
|
|
4787
4751
|
* disallow using `test` as a prefix
|
|
4788
|
-
* @see https://github.com/
|
|
4752
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md
|
|
4789
4753
|
*/
|
|
4790
4754
|
'test/no-test-prefixes'?: Linter.RuleEntry<[]>
|
|
4791
4755
|
/**
|
|
4792
4756
|
* disallow return statements in tests
|
|
4793
|
-
* @see https://github.com/
|
|
4757
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-return-statement.md
|
|
4794
4758
|
*/
|
|
4795
4759
|
'test/no-test-return-statement'?: Linter.RuleEntry<[]>
|
|
4760
|
+
/**
|
|
4761
|
+
* Enforce padding around `afterAll` blocks
|
|
4762
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-all-blocks.md
|
|
4763
|
+
*/
|
|
4764
|
+
'test/padding-around-after-all-blocks'?: Linter.RuleEntry<[]>
|
|
4765
|
+
/**
|
|
4766
|
+
* Enforce padding around `afterEach` blocks
|
|
4767
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-after-each-blocks.md
|
|
4768
|
+
*/
|
|
4769
|
+
'test/padding-around-after-each-blocks'?: Linter.RuleEntry<[]>
|
|
4770
|
+
/**
|
|
4771
|
+
* Enforce padding around vitest functions
|
|
4772
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-all.md
|
|
4773
|
+
*/
|
|
4774
|
+
'test/padding-around-all'?: Linter.RuleEntry<[]>
|
|
4775
|
+
/**
|
|
4776
|
+
* Enforce padding around `beforeAll` blocks
|
|
4777
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-before-all-blocks.md
|
|
4778
|
+
*/
|
|
4779
|
+
'test/padding-around-before-all-blocks'?: Linter.RuleEntry<[]>
|
|
4780
|
+
/**
|
|
4781
|
+
* Enforce padding around `beforeEach` blocks
|
|
4782
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-before-each-blocks.md
|
|
4783
|
+
*/
|
|
4784
|
+
'test/padding-around-before-each-blocks'?: Linter.RuleEntry<[]>
|
|
4785
|
+
/**
|
|
4786
|
+
* Enforce padding around `describe` blocks
|
|
4787
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-describe-blocks.md
|
|
4788
|
+
*/
|
|
4789
|
+
'test/padding-around-describe-blocks'?: Linter.RuleEntry<[]>
|
|
4790
|
+
/**
|
|
4791
|
+
* Enforce padding around `expect` groups
|
|
4792
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-expect-groups.md
|
|
4793
|
+
*/
|
|
4794
|
+
'test/padding-around-expect-groups'?: Linter.RuleEntry<[]>
|
|
4795
|
+
/**
|
|
4796
|
+
* Enforce padding around afterAll blocks
|
|
4797
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
|
|
4798
|
+
*/
|
|
4799
|
+
'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>
|
|
4796
4800
|
/**
|
|
4797
4801
|
* enforce using `toBeCalledWith()` or `toHaveBeenCalledWith()`
|
|
4798
|
-
* @see https://github.com/
|
|
4802
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-with.md
|
|
4799
4803
|
*/
|
|
4800
4804
|
'test/prefer-called-with'?: Linter.RuleEntry<[]>
|
|
4801
4805
|
/**
|
|
4802
4806
|
* enforce using the built-in comparison matchers
|
|
4803
|
-
* @see https://github.com/
|
|
4807
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-comparison-matcher.md
|
|
4804
4808
|
*/
|
|
4805
4809
|
'test/prefer-comparison-matcher'?: Linter.RuleEntry<[]>
|
|
4806
4810
|
/**
|
|
4807
4811
|
* enforce using `each` rather than manual loops
|
|
4808
|
-
* @see https://github.com/
|
|
4812
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-each.md
|
|
4809
4813
|
*/
|
|
4810
4814
|
'test/prefer-each'?: Linter.RuleEntry<[]>
|
|
4811
4815
|
/**
|
|
4812
4816
|
* enforce using the built-in quality matchers
|
|
4813
|
-
* @see https://github.com/
|
|
4817
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-equality-matcher.md
|
|
4814
4818
|
*/
|
|
4815
4819
|
'test/prefer-equality-matcher'?: Linter.RuleEntry<[]>
|
|
4816
4820
|
/**
|
|
4817
4821
|
* enforce using expect assertions instead of callbacks
|
|
4818
|
-
* @see https://github.com/
|
|
4822
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-assertions.md
|
|
4819
4823
|
*/
|
|
4820
4824
|
'test/prefer-expect-assertions'?: Linter.RuleEntry<TestPreferExpectAssertions>
|
|
4821
4825
|
/**
|
|
4822
4826
|
* enforce using `expect().resolves` over `expect(await ...)` syntax
|
|
4823
|
-
* @see https://github.com/
|
|
4827
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-resolves.md
|
|
4824
4828
|
*/
|
|
4825
4829
|
'test/prefer-expect-resolves'?: Linter.RuleEntry<[]>
|
|
4826
4830
|
/**
|
|
4827
4831
|
* enforce having hooks in consistent order
|
|
4828
|
-
* @see https://github.com/
|
|
4832
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-in-order.md
|
|
4829
4833
|
*/
|
|
4830
4834
|
'test/prefer-hooks-in-order'?: Linter.RuleEntry<[]>
|
|
4831
4835
|
/**
|
|
4832
4836
|
* enforce having hooks before any test cases
|
|
4833
|
-
* @see https://github.com/
|
|
4837
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
|
|
4834
4838
|
*/
|
|
4835
4839
|
'test/prefer-hooks-on-top'?: Linter.RuleEntry<[]>
|
|
4836
4840
|
/**
|
|
4837
4841
|
* enforce lowercase titles
|
|
4838
|
-
* @see https://github.com/
|
|
4842
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-lowercase-title.md
|
|
4839
4843
|
*/
|
|
4840
4844
|
'test/prefer-lowercase-title'?: Linter.RuleEntry<TestPreferLowercaseTitle>
|
|
4841
4845
|
/**
|
|
4842
4846
|
* enforce mock resolved/rejected shorthands for promises
|
|
4843
|
-
* @see https://github.com/
|
|
4847
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-mock-promise-shorthand.md
|
|
4844
4848
|
*/
|
|
4845
4849
|
'test/prefer-mock-promise-shorthand'?: Linter.RuleEntry<[]>
|
|
4846
4850
|
/**
|
|
4847
4851
|
* enforce including a hint with external snapshots
|
|
4848
|
-
* @see https://github.com/
|
|
4852
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-snapshot-hint.md
|
|
4849
4853
|
*/
|
|
4850
4854
|
'test/prefer-snapshot-hint'?: Linter.RuleEntry<TestPreferSnapshotHint>
|
|
4851
4855
|
/**
|
|
4852
4856
|
* enforce using `vi.spyOn`
|
|
4853
|
-
* @see https://github.com/
|
|
4857
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-spy-on.md
|
|
4854
4858
|
*/
|
|
4855
4859
|
'test/prefer-spy-on'?: Linter.RuleEntry<[]>
|
|
4856
4860
|
/**
|
|
4857
4861
|
* enforce strict equal over equal
|
|
4858
|
-
* @see https://github.com/
|
|
4862
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-equal.md
|
|
4859
4863
|
*/
|
|
4860
4864
|
'test/prefer-strict-equal'?: Linter.RuleEntry<[]>
|
|
4861
4865
|
/**
|
|
4862
4866
|
* enforce using toBe()
|
|
4863
|
-
* @see https://github.com/
|
|
4867
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be.md
|
|
4864
4868
|
*/
|
|
4865
4869
|
'test/prefer-to-be'?: Linter.RuleEntry<[]>
|
|
4866
4870
|
/**
|
|
4867
4871
|
* enforce using toBeFalsy()
|
|
4868
|
-
* @see https://github.com/
|
|
4872
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-falsy.md
|
|
4869
4873
|
*/
|
|
4870
4874
|
'test/prefer-to-be-falsy'?: Linter.RuleEntry<[]>
|
|
4871
4875
|
/**
|
|
4872
4876
|
* enforce using toBeObject()
|
|
4873
|
-
* @see https://github.com/
|
|
4877
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-object.md
|
|
4874
4878
|
*/
|
|
4875
4879
|
'test/prefer-to-be-object'?: Linter.RuleEntry<[]>
|
|
4876
4880
|
/**
|
|
4877
4881
|
* enforce using `toBeTruthy`
|
|
4878
|
-
* @see https://github.com/
|
|
4882
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-be-truthy.md
|
|
4879
4883
|
*/
|
|
4880
4884
|
'test/prefer-to-be-truthy'?: Linter.RuleEntry<[]>
|
|
4881
4885
|
/**
|
|
4882
4886
|
* enforce using toContain()
|
|
4883
|
-
* @see https://github.com/
|
|
4887
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-contain.md
|
|
4884
4888
|
*/
|
|
4885
4889
|
'test/prefer-to-contain'?: Linter.RuleEntry<[]>
|
|
4886
4890
|
/**
|
|
4887
4891
|
* enforce using toHaveLength()
|
|
4888
|
-
* @see https://github.com/
|
|
4892
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-to-have-length.md
|
|
4889
4893
|
*/
|
|
4890
4894
|
'test/prefer-to-have-length'?: Linter.RuleEntry<[]>
|
|
4891
4895
|
/**
|
|
4892
4896
|
* enforce using `test.todo`
|
|
4893
|
-
* @see https://github.com/
|
|
4897
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-todo.md
|
|
4894
4898
|
*/
|
|
4895
4899
|
'test/prefer-todo'?: Linter.RuleEntry<[]>
|
|
4900
|
+
/**
|
|
4901
|
+
* Prefer `vi.mocked()` over `fn as Mock`
|
|
4902
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-vi-mocked.md
|
|
4903
|
+
*/
|
|
4904
|
+
'test/prefer-vi-mocked'?: Linter.RuleEntry<[]>
|
|
4896
4905
|
/**
|
|
4897
4906
|
* require setup and teardown to be within a hook
|
|
4898
|
-
* @see https://github.com/
|
|
4907
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-hook.md
|
|
4899
4908
|
*/
|
|
4900
4909
|
'test/require-hook'?: Linter.RuleEntry<TestRequireHook>
|
|
4901
4910
|
/**
|
|
4902
4911
|
* require local Test Context for concurrent snapshot tests
|
|
4903
|
-
* @see https://github.com/
|
|
4912
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
|
|
4904
4913
|
*/
|
|
4905
4914
|
'test/require-local-test-context-for-concurrent-snapshots'?: Linter.RuleEntry<[]>
|
|
4906
4915
|
/**
|
|
4907
4916
|
* require toThrow() to be called with an error message
|
|
4908
|
-
* @see https://github.com/
|
|
4917
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
|
|
4909
4918
|
*/
|
|
4910
4919
|
'test/require-to-throw-message'?: Linter.RuleEntry<[]>
|
|
4911
4920
|
/**
|
|
4912
4921
|
* enforce that all tests are in a top-level describe
|
|
4913
|
-
* @see https://github.com/
|
|
4922
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-top-level-describe.md
|
|
4914
4923
|
*/
|
|
4915
4924
|
'test/require-top-level-describe'?: Linter.RuleEntry<TestRequireTopLevelDescribe>
|
|
4916
4925
|
/**
|
|
4917
4926
|
* enforce valid describe callback
|
|
4918
|
-
* @see https://github.com/
|
|
4927
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-describe-callback.md
|
|
4919
4928
|
*/
|
|
4920
4929
|
'test/valid-describe-callback'?: Linter.RuleEntry<[]>
|
|
4921
4930
|
/**
|
|
4922
4931
|
* enforce valid `expect()` usage
|
|
4923
|
-
* @see https://github.com/
|
|
4932
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect.md
|
|
4924
4933
|
*/
|
|
4925
4934
|
'test/valid-expect'?: Linter.RuleEntry<TestValidExpect>
|
|
4926
4935
|
/**
|
|
4927
4936
|
* enforce valid titles
|
|
4928
|
-
* @see https://github.com/
|
|
4937
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
|
|
4929
4938
|
*/
|
|
4930
4939
|
'test/valid-title'?: Linter.RuleEntry<TestValidTitle>
|
|
4931
4940
|
/**
|
|
@@ -5170,7 +5179,7 @@ interface RuleOptions {
|
|
|
5170
5179
|
*/
|
|
5171
5180
|
'ts/no-array-delete'?: Linter.RuleEntry<[]>
|
|
5172
5181
|
/**
|
|
5173
|
-
* Require `.toString()` to only be called on objects which provide useful information when stringified
|
|
5182
|
+
* Require `.toString()` and `.toLocaleString()` to only be called on objects which provide useful information when stringified
|
|
5174
5183
|
* @see https://typescript-eslint.io/rules/no-base-to-string
|
|
5175
5184
|
*/
|
|
5176
5185
|
'ts/no-base-to-string'?: Linter.RuleEntry<TsNoBaseToString>
|
|
@@ -5687,687 +5696,702 @@ interface RuleOptions {
|
|
|
5687
5696
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
5688
5697
|
/**
|
|
5689
5698
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
5690
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5699
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/better-regex.md
|
|
5691
5700
|
*/
|
|
5692
5701
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
5693
5702
|
/**
|
|
5694
5703
|
* Enforce a specific parameter name in catch clauses.
|
|
5695
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5704
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/catch-error-name.md
|
|
5696
5705
|
*/
|
|
5697
5706
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
5698
5707
|
/**
|
|
5699
5708
|
* Use destructured variables over properties.
|
|
5700
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5709
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-destructuring.md
|
|
5701
5710
|
*/
|
|
5702
5711
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
5703
5712
|
/**
|
|
5704
5713
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
5705
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5714
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-empty-array-spread.md
|
|
5706
5715
|
*/
|
|
5707
5716
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
5717
|
+
/**
|
|
5718
|
+
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
5719
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-existence-index-check.md
|
|
5720
|
+
*/
|
|
5721
|
+
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
5708
5722
|
/**
|
|
5709
5723
|
* Move function definitions to the highest possible scope.
|
|
5710
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5724
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-function-scoping.md
|
|
5711
5725
|
*/
|
|
5712
5726
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
5713
5727
|
/**
|
|
5714
5728
|
* Enforce correct `Error` subclassing.
|
|
5715
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5729
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/custom-error-definition.md
|
|
5716
5730
|
*/
|
|
5717
5731
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
5718
5732
|
/**
|
|
5719
5733
|
* Enforce no spaces between braces.
|
|
5720
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5734
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/empty-brace-spaces.md
|
|
5721
5735
|
*/
|
|
5722
5736
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
5723
5737
|
/**
|
|
5724
5738
|
* Enforce passing a `message` value when creating a built-in error.
|
|
5725
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5739
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/error-message.md
|
|
5726
5740
|
*/
|
|
5727
5741
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
5728
5742
|
/**
|
|
5729
5743
|
* Require escape sequences to use uppercase values.
|
|
5730
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5744
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/escape-case.md
|
|
5731
5745
|
*/
|
|
5732
5746
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
5733
5747
|
/**
|
|
5734
5748
|
* Add expiration conditions to TODO comments.
|
|
5735
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5749
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/expiring-todo-comments.md
|
|
5736
5750
|
*/
|
|
5737
5751
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
5738
5752
|
/**
|
|
5739
5753
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
5740
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5754
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/explicit-length-check.md
|
|
5741
5755
|
*/
|
|
5742
5756
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
5743
5757
|
/**
|
|
5744
5758
|
* Enforce a case style for filenames.
|
|
5745
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5759
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/filename-case.md
|
|
5746
5760
|
*/
|
|
5747
5761
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
5748
5762
|
/**
|
|
5749
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5763
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#import-index
|
|
5750
5764
|
* @deprecated
|
|
5751
5765
|
*/
|
|
5752
5766
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
5753
5767
|
/**
|
|
5754
5768
|
* Enforce specific import styles per module.
|
|
5755
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5769
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/import-style.md
|
|
5756
5770
|
*/
|
|
5757
5771
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
5758
5772
|
/**
|
|
5759
5773
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
5760
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5774
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/new-for-builtins.md
|
|
5761
5775
|
*/
|
|
5762
5776
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
5763
5777
|
/**
|
|
5764
5778
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
5765
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5779
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
5766
5780
|
*/
|
|
5767
5781
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
5768
5782
|
/**
|
|
5769
5783
|
* Disallow anonymous functions and classes as the default export.
|
|
5770
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5784
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-anonymous-default-export.md
|
|
5771
5785
|
*/
|
|
5772
5786
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
5773
5787
|
/**
|
|
5774
5788
|
* Prevent passing a function reference directly to iterator methods.
|
|
5775
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5789
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-callback-reference.md
|
|
5776
5790
|
*/
|
|
5777
5791
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
5778
5792
|
/**
|
|
5779
5793
|
* Prefer `for…of` over the `forEach` method.
|
|
5780
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5794
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-for-each.md
|
|
5781
5795
|
*/
|
|
5782
5796
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
5783
5797
|
/**
|
|
5784
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5798
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-array-instanceof
|
|
5785
5799
|
* @deprecated
|
|
5786
5800
|
*/
|
|
5787
5801
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
5788
5802
|
/**
|
|
5789
5803
|
* Disallow using the `this` argument in array methods.
|
|
5790
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5804
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-method-this-argument.md
|
|
5791
5805
|
*/
|
|
5792
5806
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
5793
5807
|
/**
|
|
5794
5808
|
* Enforce combining multiple `Array#push()` into one call.
|
|
5795
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5809
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-push-push.md
|
|
5796
5810
|
*/
|
|
5797
5811
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
5798
5812
|
/**
|
|
5799
5813
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5800
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5814
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-reduce.md
|
|
5801
5815
|
*/
|
|
5802
5816
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
5803
5817
|
/**
|
|
5804
5818
|
* Disallow member access from await expression.
|
|
5805
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5819
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-await-expression-member.md
|
|
5806
5820
|
*/
|
|
5807
5821
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
5808
5822
|
/**
|
|
5809
5823
|
* Disallow using `await` in `Promise` method parameters.
|
|
5810
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5824
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-await-in-promise-methods.md
|
|
5811
5825
|
*/
|
|
5812
5826
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5813
5827
|
/**
|
|
5814
5828
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5815
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5829
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-console-spaces.md
|
|
5816
5830
|
*/
|
|
5817
5831
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
5818
5832
|
/**
|
|
5819
5833
|
* Do not use `document.cookie` directly.
|
|
5820
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5834
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-document-cookie.md
|
|
5821
5835
|
*/
|
|
5822
5836
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
5823
5837
|
/**
|
|
5824
5838
|
* Disallow empty files.
|
|
5825
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5839
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-empty-file.md
|
|
5826
5840
|
*/
|
|
5827
5841
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
5828
5842
|
/**
|
|
5829
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5843
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
5830
5844
|
* @deprecated
|
|
5831
5845
|
*/
|
|
5832
5846
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
5833
5847
|
/**
|
|
5834
5848
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
5835
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5849
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-for-loop.md
|
|
5836
5850
|
*/
|
|
5837
5851
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
5838
5852
|
/**
|
|
5839
5853
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5840
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5854
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-hex-escape.md
|
|
5841
5855
|
*/
|
|
5842
5856
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
5843
5857
|
/**
|
|
5844
5858
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
5845
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5859
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-instanceof-array.md
|
|
5846
5860
|
*/
|
|
5847
5861
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
5848
5862
|
/**
|
|
5849
5863
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5850
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5864
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-invalid-fetch-options.md
|
|
5851
5865
|
*/
|
|
5852
5866
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
5853
5867
|
/**
|
|
5854
5868
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5855
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5869
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
5856
5870
|
*/
|
|
5857
5871
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
5858
5872
|
/**
|
|
5859
5873
|
* Disallow identifiers starting with `new` or `class`.
|
|
5860
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5874
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-keyword-prefix.md
|
|
5861
5875
|
*/
|
|
5862
5876
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
5863
5877
|
/**
|
|
5864
5878
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
5865
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5879
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-length-as-slice-end.md
|
|
5866
5880
|
*/
|
|
5867
5881
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
5868
5882
|
/**
|
|
5869
5883
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5870
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5884
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-lonely-if.md
|
|
5871
5885
|
*/
|
|
5872
5886
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
5873
5887
|
/**
|
|
5874
5888
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5875
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5889
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
5876
5890
|
*/
|
|
5877
5891
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
5878
5892
|
/**
|
|
5879
5893
|
* Disallow negated conditions.
|
|
5880
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5894
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-negated-condition.md
|
|
5881
5895
|
*/
|
|
5882
5896
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
5883
5897
|
/**
|
|
5884
5898
|
* Disallow negated expression in equality check.
|
|
5885
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5899
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-negation-in-equality-check.md
|
|
5886
5900
|
*/
|
|
5887
5901
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
5888
5902
|
/**
|
|
5889
5903
|
* Disallow nested ternary expressions.
|
|
5890
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5904
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-nested-ternary.md
|
|
5891
5905
|
*/
|
|
5892
5906
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
5893
5907
|
/**
|
|
5894
5908
|
* Disallow `new Array()`.
|
|
5895
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5909
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-new-array.md
|
|
5896
5910
|
*/
|
|
5897
5911
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
5898
5912
|
/**
|
|
5899
5913
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
5900
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5914
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-new-buffer.md
|
|
5901
5915
|
*/
|
|
5902
5916
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
5903
5917
|
/**
|
|
5904
5918
|
* Disallow the use of the `null` literal.
|
|
5905
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5919
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-null.md
|
|
5906
5920
|
*/
|
|
5907
5921
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
5908
5922
|
/**
|
|
5909
5923
|
* Disallow the use of objects as default parameters.
|
|
5910
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5924
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-object-as-default-parameter.md
|
|
5911
5925
|
*/
|
|
5912
5926
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
5913
5927
|
/**
|
|
5914
5928
|
* Disallow `process.exit()`.
|
|
5915
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5929
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-process-exit.md
|
|
5916
5930
|
*/
|
|
5917
5931
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
5918
5932
|
/**
|
|
5919
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5933
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-reduce
|
|
5920
5934
|
* @deprecated
|
|
5921
5935
|
*/
|
|
5922
5936
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
5923
5937
|
/**
|
|
5924
5938
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5925
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5939
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
5926
5940
|
*/
|
|
5927
5941
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5928
5942
|
/**
|
|
5929
5943
|
* Disallow classes that only have static members.
|
|
5930
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5944
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-static-only-class.md
|
|
5931
5945
|
*/
|
|
5932
5946
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
5933
5947
|
/**
|
|
5934
5948
|
* Disallow `then` property.
|
|
5935
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5949
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-thenable.md
|
|
5936
5950
|
*/
|
|
5937
5951
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
5938
5952
|
/**
|
|
5939
5953
|
* Disallow assigning `this` to a variable.
|
|
5940
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5954
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-this-assignment.md
|
|
5941
5955
|
*/
|
|
5942
5956
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
5943
5957
|
/**
|
|
5944
5958
|
* Disallow comparing `undefined` using `typeof`.
|
|
5945
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5959
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-typeof-undefined.md
|
|
5946
5960
|
*/
|
|
5947
5961
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
5948
5962
|
/**
|
|
5949
5963
|
* Disallow awaiting non-promise values.
|
|
5950
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5964
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unnecessary-await.md
|
|
5951
5965
|
*/
|
|
5952
5966
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
5953
5967
|
/**
|
|
5954
5968
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5955
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5969
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
5956
5970
|
*/
|
|
5957
5971
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
5958
5972
|
/**
|
|
5959
5973
|
* Disallow unreadable array destructuring.
|
|
5960
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5974
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
5961
5975
|
*/
|
|
5962
5976
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
5963
5977
|
/**
|
|
5964
5978
|
* Disallow unreadable IIFEs.
|
|
5965
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5979
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unreadable-iife.md
|
|
5966
5980
|
*/
|
|
5967
5981
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
5968
5982
|
/**
|
|
5969
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5983
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-unsafe-regex
|
|
5970
5984
|
* @deprecated
|
|
5971
5985
|
*/
|
|
5972
5986
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
5973
5987
|
/**
|
|
5974
5988
|
* Disallow unused object properties.
|
|
5975
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5989
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unused-properties.md
|
|
5976
5990
|
*/
|
|
5977
5991
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
5978
5992
|
/**
|
|
5979
5993
|
* Disallow useless fallback when spreading in object literals.
|
|
5980
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5994
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
5981
5995
|
*/
|
|
5982
5996
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
5983
5997
|
/**
|
|
5984
5998
|
* Disallow useless array length check.
|
|
5985
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5999
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-length-check.md
|
|
5986
6000
|
*/
|
|
5987
6001
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
5988
6002
|
/**
|
|
5989
6003
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5990
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6004
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
5991
6005
|
*/
|
|
5992
6006
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
5993
6007
|
/**
|
|
5994
6008
|
* Disallow unnecessary spread.
|
|
5995
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6009
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-spread.md
|
|
5996
6010
|
*/
|
|
5997
6011
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
5998
6012
|
/**
|
|
5999
6013
|
* Disallow useless case in switch statements.
|
|
6000
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6014
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-switch-case.md
|
|
6001
6015
|
*/
|
|
6002
6016
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
6003
6017
|
/**
|
|
6004
6018
|
* Disallow useless `undefined`.
|
|
6005
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6019
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-undefined.md
|
|
6006
6020
|
*/
|
|
6007
6021
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
6008
6022
|
/**
|
|
6009
6023
|
* Disallow number literals with zero fractions or dangling dots.
|
|
6010
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6024
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-zero-fractions.md
|
|
6011
6025
|
*/
|
|
6012
6026
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
6013
6027
|
/**
|
|
6014
6028
|
* Enforce proper case for numeric literals.
|
|
6015
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6029
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/number-literal-case.md
|
|
6016
6030
|
*/
|
|
6017
6031
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
6018
6032
|
/**
|
|
6019
6033
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
6020
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6034
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/numeric-separators-style.md
|
|
6021
6035
|
*/
|
|
6022
6036
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
6023
6037
|
/**
|
|
6024
6038
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
6025
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6039
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-add-event-listener.md
|
|
6026
6040
|
*/
|
|
6027
6041
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
6028
6042
|
/**
|
|
6029
6043
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
6030
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6044
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-find.md
|
|
6031
6045
|
*/
|
|
6032
6046
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
6033
6047
|
/**
|
|
6034
6048
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
6035
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6049
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-flat.md
|
|
6036
6050
|
*/
|
|
6037
6051
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
6038
6052
|
/**
|
|
6039
6053
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
6040
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6054
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-flat-map.md
|
|
6041
6055
|
*/
|
|
6042
6056
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
6043
6057
|
/**
|
|
6044
6058
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
6045
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6059
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-index-of.md
|
|
6046
6060
|
*/
|
|
6047
6061
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
6048
6062
|
/**
|
|
6049
6063
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
6050
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6064
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-some.md
|
|
6051
6065
|
*/
|
|
6052
6066
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
6053
6067
|
/**
|
|
6054
6068
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
6055
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6069
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-at.md
|
|
6056
6070
|
*/
|
|
6057
6071
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
6058
6072
|
/**
|
|
6059
6073
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
6060
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6074
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
6061
6075
|
*/
|
|
6062
6076
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
6063
6077
|
/**
|
|
6064
6078
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
6065
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6079
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-code-point.md
|
|
6066
6080
|
*/
|
|
6067
6081
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
6068
6082
|
/**
|
|
6069
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6083
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-dataset
|
|
6070
6084
|
* @deprecated
|
|
6071
6085
|
*/
|
|
6072
6086
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
6073
6087
|
/**
|
|
6074
6088
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
6075
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6089
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-date-now.md
|
|
6076
6090
|
*/
|
|
6077
6091
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
6078
6092
|
/**
|
|
6079
6093
|
* Prefer default parameters over reassignment.
|
|
6080
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6094
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-default-parameters.md
|
|
6081
6095
|
*/
|
|
6082
6096
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
6083
6097
|
/**
|
|
6084
6098
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
6085
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6099
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-append.md
|
|
6086
6100
|
*/
|
|
6087
6101
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
6088
6102
|
/**
|
|
6089
6103
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
6090
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6104
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
6091
6105
|
*/
|
|
6092
6106
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
6093
6107
|
/**
|
|
6094
6108
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
6095
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6109
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-remove.md
|
|
6096
6110
|
*/
|
|
6097
6111
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
6098
6112
|
/**
|
|
6099
6113
|
* Prefer `.textContent` over `.innerText`.
|
|
6100
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6114
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
6101
6115
|
*/
|
|
6102
6116
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
6103
6117
|
/**
|
|
6104
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6118
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-event-key
|
|
6105
6119
|
* @deprecated
|
|
6106
6120
|
*/
|
|
6107
6121
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
6108
6122
|
/**
|
|
6109
6123
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
6110
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6124
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-event-target.md
|
|
6111
6125
|
*/
|
|
6112
6126
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
6113
6127
|
/**
|
|
6114
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6128
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
6115
6129
|
* @deprecated
|
|
6116
6130
|
*/
|
|
6117
6131
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
6118
6132
|
/**
|
|
6119
6133
|
* Prefer `export…from` when re-exporting.
|
|
6120
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6134
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-export-from.md
|
|
6121
6135
|
*/
|
|
6122
6136
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
6123
6137
|
/**
|
|
6124
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6138
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-flat-map
|
|
6125
6139
|
* @deprecated
|
|
6126
6140
|
*/
|
|
6127
6141
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
6142
|
+
/**
|
|
6143
|
+
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
6144
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-global-this.md
|
|
6145
|
+
*/
|
|
6146
|
+
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
6128
6147
|
/**
|
|
6129
6148
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
6130
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6149
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-includes.md
|
|
6131
6150
|
*/
|
|
6132
6151
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
6133
6152
|
/**
|
|
6134
6153
|
* Prefer reading a JSON file as a buffer.
|
|
6135
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6154
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
6136
6155
|
*/
|
|
6137
6156
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
6138
6157
|
/**
|
|
6139
6158
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
6140
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6159
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
6141
6160
|
*/
|
|
6142
6161
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
6143
6162
|
/**
|
|
6144
6163
|
* Prefer using a logical operator over a ternary.
|
|
6145
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6164
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
6146
6165
|
*/
|
|
6147
6166
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
6167
|
+
/**
|
|
6168
|
+
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
6169
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-math-min-max.md
|
|
6170
|
+
*/
|
|
6171
|
+
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
6148
6172
|
/**
|
|
6149
6173
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
6150
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6174
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-math-trunc.md
|
|
6151
6175
|
*/
|
|
6152
6176
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
6153
6177
|
/**
|
|
6154
6178
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
6155
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6179
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
6156
6180
|
*/
|
|
6157
6181
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
6158
6182
|
/**
|
|
6159
6183
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
6160
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6184
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-modern-math-apis.md
|
|
6161
6185
|
*/
|
|
6162
6186
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
6163
6187
|
/**
|
|
6164
6188
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
6165
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6189
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-module.md
|
|
6166
6190
|
*/
|
|
6167
6191
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
6168
6192
|
/**
|
|
6169
6193
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
6170
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6194
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
6171
6195
|
*/
|
|
6172
6196
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
6173
6197
|
/**
|
|
6174
6198
|
* Prefer negative index over `.length - index` when possible.
|
|
6175
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6199
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-negative-index.md
|
|
6176
6200
|
*/
|
|
6177
6201
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
6178
6202
|
/**
|
|
6179
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6203
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-node-append
|
|
6180
6204
|
* @deprecated
|
|
6181
6205
|
*/
|
|
6182
6206
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
6183
6207
|
/**
|
|
6184
6208
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
6185
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6209
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-node-protocol.md
|
|
6186
6210
|
*/
|
|
6187
6211
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
6188
6212
|
/**
|
|
6189
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6213
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-node-remove
|
|
6190
6214
|
* @deprecated
|
|
6191
6215
|
*/
|
|
6192
6216
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
6193
6217
|
/**
|
|
6194
6218
|
* Prefer `Number` static properties over global ones.
|
|
6195
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6219
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-number-properties.md
|
|
6196
6220
|
*/
|
|
6197
6221
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
6198
6222
|
/**
|
|
6199
6223
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
6200
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6224
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-object-from-entries.md
|
|
6201
6225
|
*/
|
|
6202
6226
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
6203
6227
|
/**
|
|
6204
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6228
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-object-has-own
|
|
6205
6229
|
* @deprecated
|
|
6206
6230
|
*/
|
|
6207
6231
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
6208
6232
|
/**
|
|
6209
6233
|
* Prefer omitting the `catch` binding parameter.
|
|
6210
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6234
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
6211
6235
|
*/
|
|
6212
6236
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
6213
6237
|
/**
|
|
6214
6238
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
6215
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6239
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-prototype-methods.md
|
|
6216
6240
|
*/
|
|
6217
6241
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
6218
6242
|
/**
|
|
6219
|
-
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
|
|
6220
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6243
|
+
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
6244
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-query-selector.md
|
|
6221
6245
|
*/
|
|
6222
6246
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
6223
6247
|
/**
|
|
6224
6248
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
6225
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6249
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-reflect-apply.md
|
|
6226
6250
|
*/
|
|
6227
6251
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
6228
6252
|
/**
|
|
6229
6253
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
6230
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6254
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-regexp-test.md
|
|
6231
6255
|
*/
|
|
6232
6256
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
6233
6257
|
/**
|
|
6234
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6258
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-replace-all
|
|
6235
6259
|
* @deprecated
|
|
6236
6260
|
*/
|
|
6237
6261
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
6238
6262
|
/**
|
|
6239
6263
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
6240
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6264
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-set-has.md
|
|
6241
6265
|
*/
|
|
6242
6266
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
6243
6267
|
/**
|
|
6244
6268
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
6245
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6269
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-set-size.md
|
|
6246
6270
|
*/
|
|
6247
6271
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
6248
6272
|
/**
|
|
6249
6273
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
6250
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6274
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-spread.md
|
|
6251
6275
|
*/
|
|
6252
6276
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
6253
6277
|
/**
|
|
6254
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6278
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
6255
6279
|
* @deprecated
|
|
6256
6280
|
*/
|
|
6257
6281
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
6258
6282
|
/**
|
|
6259
6283
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
6260
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6284
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-raw.md
|
|
6261
6285
|
*/
|
|
6262
6286
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
6263
6287
|
/**
|
|
6264
6288
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
6265
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6289
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-replace-all.md
|
|
6266
6290
|
*/
|
|
6267
6291
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
6268
6292
|
/**
|
|
6269
6293
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
6270
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6294
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-slice.md
|
|
6271
6295
|
*/
|
|
6272
6296
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
6273
6297
|
/**
|
|
6274
6298
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
6275
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6299
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
6276
6300
|
*/
|
|
6277
6301
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
6278
6302
|
/**
|
|
6279
6303
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
6280
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6304
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
6281
6305
|
*/
|
|
6282
6306
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
6283
6307
|
/**
|
|
6284
6308
|
* Prefer using `structuredClone` to create a deep clone.
|
|
6285
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6309
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-structured-clone.md
|
|
6286
6310
|
*/
|
|
6287
6311
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
6288
6312
|
/**
|
|
6289
6313
|
* Prefer `switch` over multiple `else-if`.
|
|
6290
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6314
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-switch.md
|
|
6291
6315
|
*/
|
|
6292
6316
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
6293
6317
|
/**
|
|
6294
6318
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
6295
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6319
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-ternary.md
|
|
6296
6320
|
*/
|
|
6297
6321
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
6298
6322
|
/**
|
|
6299
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6323
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-text-content
|
|
6300
6324
|
* @deprecated
|
|
6301
6325
|
*/
|
|
6302
6326
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
6303
6327
|
/**
|
|
6304
6328
|
* Prefer top-level await over top-level promises and async function calls.
|
|
6305
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6329
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-top-level-await.md
|
|
6306
6330
|
*/
|
|
6307
6331
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
6308
6332
|
/**
|
|
6309
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6333
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-trim-start-end
|
|
6310
6334
|
* @deprecated
|
|
6311
6335
|
*/
|
|
6312
6336
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
6313
6337
|
/**
|
|
6314
6338
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
6315
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6339
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-type-error.md
|
|
6316
6340
|
*/
|
|
6317
6341
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
6318
6342
|
/**
|
|
6319
6343
|
* Prevent abbreviations.
|
|
6320
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6344
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prevent-abbreviations.md
|
|
6321
6345
|
*/
|
|
6322
6346
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
6323
6347
|
/**
|
|
6324
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6348
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#regex-shorthand
|
|
6325
6349
|
* @deprecated
|
|
6326
6350
|
*/
|
|
6327
6351
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
6328
6352
|
/**
|
|
6329
6353
|
* Enforce consistent relative URL style.
|
|
6330
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6354
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/relative-url-style.md
|
|
6331
6355
|
*/
|
|
6332
6356
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
6333
6357
|
/**
|
|
6334
6358
|
* Enforce using the separator argument with `Array#join()`.
|
|
6335
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6359
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/require-array-join-separator.md
|
|
6336
6360
|
*/
|
|
6337
6361
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
6338
6362
|
/**
|
|
6339
6363
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
6340
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6364
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
6341
6365
|
*/
|
|
6342
6366
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
6343
6367
|
/**
|
|
6344
6368
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
6345
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6369
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/require-post-message-target-origin.md
|
|
6346
6370
|
*/
|
|
6347
6371
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
6348
6372
|
/**
|
|
6349
6373
|
* Enforce better string content.
|
|
6350
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6374
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/string-content.md
|
|
6351
6375
|
*/
|
|
6352
6376
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
6353
6377
|
/**
|
|
6354
6378
|
* Enforce consistent brace style for `case` clauses.
|
|
6355
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6379
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/switch-case-braces.md
|
|
6356
6380
|
*/
|
|
6357
6381
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
6358
6382
|
/**
|
|
6359
6383
|
* Fix whitespace-insensitive template indentation.
|
|
6360
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6384
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/template-indent.md
|
|
6361
6385
|
*/
|
|
6362
6386
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
6363
6387
|
/**
|
|
6364
6388
|
* Enforce consistent case for text encoding identifiers.
|
|
6365
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6389
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/text-encoding-identifier-case.md
|
|
6366
6390
|
*/
|
|
6367
6391
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
6368
6392
|
/**
|
|
6369
6393
|
* Require `new` when creating an error.
|
|
6370
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6394
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/throw-new-error.md
|
|
6371
6395
|
*/
|
|
6372
6396
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
6373
6397
|
/**
|
|
@@ -6532,7 +6556,7 @@ interface RuleOptions {
|
|
|
6532
6556
|
*/
|
|
6533
6557
|
'vue/define-emits-declaration'?: Linter.RuleEntry<VueDefineEmitsDeclaration>
|
|
6534
6558
|
/**
|
|
6535
|
-
* enforce order of
|
|
6559
|
+
* enforce order of compiler macros (`defineProps`, `defineEmits`, etc.)
|
|
6536
6560
|
* @see https://eslint.vuejs.org/rules/define-macros-order.html
|
|
6537
6561
|
*/
|
|
6538
6562
|
'vue/define-macros-order'?: Linter.RuleEntry<VueDefineMacrosOrder>
|
|
@@ -6627,7 +6651,7 @@ interface RuleOptions {
|
|
|
6627
6651
|
*/
|
|
6628
6652
|
'vue/jsx-uses-vars'?: Linter.RuleEntry<[]>
|
|
6629
6653
|
/**
|
|
6630
|
-
* Enforce consistent spacing between
|
|
6654
|
+
* Enforce consistent spacing between property names and type annotations in types and interfaces in `<template>`
|
|
6631
6655
|
* @see https://eslint.vuejs.org/rules/key-spacing.html
|
|
6632
6656
|
*/
|
|
6633
6657
|
'vue/key-spacing'?: Linter.RuleEntry<VueKeySpacing>
|
|
@@ -6661,6 +6685,16 @@ interface RuleOptions {
|
|
|
6661
6685
|
* @see https://eslint.vuejs.org/rules/max-lines-per-block.html
|
|
6662
6686
|
*/
|
|
6663
6687
|
'vue/max-lines-per-block'?: Linter.RuleEntry<VueMaxLinesPerBlock>
|
|
6688
|
+
/**
|
|
6689
|
+
* enforce maximum number of props in Vue component
|
|
6690
|
+
* @see https://eslint.vuejs.org/rules/max-props.html
|
|
6691
|
+
*/
|
|
6692
|
+
'vue/max-props'?: Linter.RuleEntry<VueMaxProps>
|
|
6693
|
+
/**
|
|
6694
|
+
* enforce maximum depth of template
|
|
6695
|
+
* @see https://eslint.vuejs.org/rules/max-template-depth.html
|
|
6696
|
+
*/
|
|
6697
|
+
'vue/max-template-depth'?: Linter.RuleEntry<VueMaxTemplateDepth>
|
|
6664
6698
|
/**
|
|
6665
6699
|
* require component names to be always multi-word
|
|
6666
6700
|
* @see https://eslint.vuejs.org/rules/multi-word-component-names.html
|
|
@@ -6717,7 +6751,7 @@ interface RuleOptions {
|
|
|
6717
6751
|
*/
|
|
6718
6752
|
'vue/no-child-content'?: Linter.RuleEntry<VueNoChildContent>
|
|
6719
6753
|
/**
|
|
6720
|
-
* disallow accessing computed properties in `data
|
|
6754
|
+
* disallow accessing computed properties in `data`
|
|
6721
6755
|
* @see https://eslint.vuejs.org/rules/no-computed-properties-in-data.html
|
|
6722
6756
|
*/
|
|
6723
6757
|
'vue/no-computed-properties-in-data'?: Linter.RuleEntry<[]>
|
|
@@ -6741,6 +6775,11 @@ interface RuleOptions {
|
|
|
6741
6775
|
* @see https://eslint.vuejs.org/rules/no-deprecated-data-object-declaration.html
|
|
6742
6776
|
*/
|
|
6743
6777
|
'vue/no-deprecated-data-object-declaration'?: Linter.RuleEntry<[]>
|
|
6778
|
+
/**
|
|
6779
|
+
* disallow using deprecated `$delete` and `$set` (in Vue.js 3.0.0+)
|
|
6780
|
+
* @see https://eslint.vuejs.org/rules/no-deprecated-delete-set.html
|
|
6781
|
+
*/
|
|
6782
|
+
'vue/no-deprecated-delete-set'?: Linter.RuleEntry<[]>
|
|
6744
6783
|
/**
|
|
6745
6784
|
* disallow using deprecated `destroyed` and `beforeDestroy` lifecycle hooks (in Vue.js 3.0.0+)
|
|
6746
6785
|
* @see https://eslint.vuejs.org/rules/no-deprecated-destroyed-lifecycle.html
|
|
@@ -7265,7 +7304,7 @@ interface RuleOptions {
|
|
|
7265
7304
|
*/
|
|
7266
7305
|
'vue/padding-lines-in-component-definition'?: Linter.RuleEntry<VuePaddingLinesInComponentDefinition>
|
|
7267
7306
|
/**
|
|
7268
|
-
* enforce use of `defineOptions` instead of default export
|
|
7307
|
+
* enforce use of `defineOptions` instead of default export
|
|
7269
7308
|
* @see https://eslint.vuejs.org/rules/prefer-define-options.html
|
|
7270
7309
|
*/
|
|
7271
7310
|
'vue/prefer-define-options'?: Linter.RuleEntry<[]>
|
|
@@ -7300,7 +7339,7 @@ interface RuleOptions {
|
|
|
7300
7339
|
*/
|
|
7301
7340
|
'vue/prop-name-casing'?: Linter.RuleEntry<VuePropNameCasing>
|
|
7302
7341
|
/**
|
|
7303
|
-
* Require quotes around object literal property names in `<template>`
|
|
7342
|
+
* Require quotes around object literal, type literal, interfaces and enums property names in `<template>`
|
|
7304
7343
|
* @see https://eslint.vuejs.org/rules/quote-props.html
|
|
7305
7344
|
*/
|
|
7306
7345
|
'vue/quote-props'?: Linter.RuleEntry<VueQuoteProps>
|
|
@@ -7309,6 +7348,11 @@ interface RuleOptions {
|
|
|
7309
7348
|
* @see https://eslint.vuejs.org/rules/require-component-is.html
|
|
7310
7349
|
*/
|
|
7311
7350
|
'vue/require-component-is'?: Linter.RuleEntry<[]>
|
|
7351
|
+
/**
|
|
7352
|
+
* require components to be the default export
|
|
7353
|
+
* @see https://eslint.vuejs.org/rules/require-default-export.html
|
|
7354
|
+
*/
|
|
7355
|
+
'vue/require-default-export'?: Linter.RuleEntry<[]>
|
|
7312
7356
|
/**
|
|
7313
7357
|
* require default value for props
|
|
7314
7358
|
* @see https://eslint.vuejs.org/rules/require-default-prop.html
|
|
@@ -7378,7 +7422,7 @@ interface RuleOptions {
|
|
|
7378
7422
|
* require control the display of the content inside `<transition>`
|
|
7379
7423
|
* @see https://eslint.vuejs.org/rules/require-toggle-inside-transition.html
|
|
7380
7424
|
*/
|
|
7381
|
-
'vue/require-toggle-inside-transition'?: Linter.RuleEntry<
|
|
7425
|
+
'vue/require-toggle-inside-transition'?: Linter.RuleEntry<VueRequireToggleInsideTransition>
|
|
7382
7426
|
/**
|
|
7383
7427
|
* enforce adding type declarations to object props
|
|
7384
7428
|
* @see https://eslint.vuejs.org/rules/require-typed-object-prop.html
|
|
@@ -7848,6 +7892,12 @@ type AstroSemi = ([]|["never"]|["never", {
|
|
|
7848
7892
|
omitLastInOneLineBlock?: boolean
|
|
7849
7893
|
omitLastInOneLineClassBody?: boolean
|
|
7850
7894
|
}])
|
|
7895
|
+
// ----- astro/sort-attributes -----
|
|
7896
|
+
type AstroSortAttributes = []|[{
|
|
7897
|
+
type?: ("alphabetical" | "line-length")
|
|
7898
|
+
ignoreCase?: boolean
|
|
7899
|
+
order?: ("asc" | "desc")
|
|
7900
|
+
}]
|
|
7851
7901
|
// ----- block-spacing -----
|
|
7852
7902
|
type BlockSpacing = []|[("always" | "never")]
|
|
7853
7903
|
// ----- brace-style -----
|
|
@@ -7912,6 +7962,7 @@ type CommaStyle = []|[("first" | "last")]|[("first" | "last"), {
|
|
|
7912
7962
|
type Complexity = []|[(number | {
|
|
7913
7963
|
maximum?: number
|
|
7914
7964
|
max?: number
|
|
7965
|
+
variant?: ("classic" | "modified")
|
|
7915
7966
|
})]
|
|
7916
7967
|
// ----- computed-property-spacing -----
|
|
7917
7968
|
type ComputedPropertySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -8060,12 +8111,14 @@ type ImportExtensions = ([]|[("always" | "ignorePackages" | "never")] | []|[("al
|
|
|
8060
8111
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
8061
8112
|
}
|
|
8062
8113
|
ignorePackages?: boolean
|
|
8114
|
+
checkTypeImports?: boolean
|
|
8063
8115
|
[k: string]: unknown | undefined
|
|
8064
8116
|
}] | []|[{
|
|
8065
8117
|
pattern?: {
|
|
8066
8118
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
8067
8119
|
}
|
|
8068
8120
|
ignorePackages?: boolean
|
|
8121
|
+
checkTypeImports?: boolean
|
|
8069
8122
|
[k: string]: unknown | undefined
|
|
8070
8123
|
}] | []|[{
|
|
8071
8124
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
@@ -8160,6 +8213,7 @@ type ImportNoExtraneousDependencies = []|[{
|
|
|
8160
8213
|
packageDir?: (string | unknown[])
|
|
8161
8214
|
includeInternal?: boolean
|
|
8162
8215
|
includeTypes?: boolean
|
|
8216
|
+
whitelist?: unknown[]
|
|
8163
8217
|
}]
|
|
8164
8218
|
// ----- import/no-import-module-exports -----
|
|
8165
8219
|
type ImportNoImportModuleExports = []|[{
|
|
@@ -8196,6 +8250,11 @@ type ImportNoRelativeParentImports = []|[{
|
|
|
8196
8250
|
|
|
8197
8251
|
ignore?: [string, ...(string)[]]
|
|
8198
8252
|
}]
|
|
8253
|
+
// ----- import/no-rename-default -----
|
|
8254
|
+
type ImportNoRenameDefault = []|[{
|
|
8255
|
+
commonjs?: boolean
|
|
8256
|
+
preventRenamingBindings?: boolean
|
|
8257
|
+
}]
|
|
8199
8258
|
// ----- import/no-restricted-paths -----
|
|
8200
8259
|
type ImportNoRestrictedPaths = []|[{
|
|
8201
8260
|
|
|
@@ -8655,6 +8714,7 @@ type JsdocRequireParam = []|[{
|
|
|
8655
8714
|
enableRestElementFixer?: boolean
|
|
8656
8715
|
enableRootFixer?: boolean
|
|
8657
8716
|
exemptedBy?: string[]
|
|
8717
|
+
ignoreWhenAllParamsMissing?: boolean
|
|
8658
8718
|
unnamedRootBase?: string[]
|
|
8659
8719
|
useDefaultObjectProperties?: boolean
|
|
8660
8720
|
}]
|
|
@@ -9379,25 +9439,33 @@ type KeywordSpacing = []|[{
|
|
|
9379
9439
|
}
|
|
9380
9440
|
}
|
|
9381
9441
|
}]
|
|
9442
|
+
// ----- kirklin/consistent-chaining -----
|
|
9443
|
+
type KirklinConsistentChaining = []|[{
|
|
9444
|
+
|
|
9445
|
+
allowLeadingPropertyAccess?: boolean
|
|
9446
|
+
}]
|
|
9382
9447
|
// ----- kirklin/consistent-list-newline -----
|
|
9383
9448
|
type KirklinConsistentListNewline = []|[{
|
|
9384
9449
|
ArrayExpression?: boolean
|
|
9450
|
+
ArrayPattern?: boolean
|
|
9385
9451
|
ArrowFunctionExpression?: boolean
|
|
9386
9452
|
CallExpression?: boolean
|
|
9387
9453
|
ExportNamedDeclaration?: boolean
|
|
9388
9454
|
FunctionDeclaration?: boolean
|
|
9389
9455
|
FunctionExpression?: boolean
|
|
9390
9456
|
ImportDeclaration?: boolean
|
|
9457
|
+
JSONArrayExpression?: boolean
|
|
9458
|
+
JSONObjectExpression?: boolean
|
|
9459
|
+
JSXOpeningElement?: boolean
|
|
9391
9460
|
NewExpression?: boolean
|
|
9392
9461
|
ObjectExpression?: boolean
|
|
9462
|
+
ObjectPattern?: boolean
|
|
9463
|
+
TSFunctionType?: boolean
|
|
9393
9464
|
TSInterfaceDeclaration?: boolean
|
|
9394
9465
|
TSTupleType?: boolean
|
|
9395
9466
|
TSTypeLiteral?: boolean
|
|
9396
9467
|
TSTypeParameterDeclaration?: boolean
|
|
9397
9468
|
TSTypeParameterInstantiation?: boolean
|
|
9398
|
-
ObjectPattern?: boolean
|
|
9399
|
-
ArrayPattern?: boolean
|
|
9400
|
-
JSXOpeningElement?: boolean
|
|
9401
9469
|
}]
|
|
9402
9470
|
// ----- kirklin/indent-unindent -----
|
|
9403
9471
|
type KirklinIndentUnindent = []|[{
|
|
@@ -9466,6 +9534,14 @@ type LinesBetweenClassMembers = []|[({
|
|
|
9466
9534
|
type LogicalAssignmentOperators = (([]|["always"]|["always", {
|
|
9467
9535
|
enforceForIfStatements?: boolean
|
|
9468
9536
|
}] | ["never"]) & unknown[])
|
|
9537
|
+
// ----- markdown/fenced-code-language -----
|
|
9538
|
+
type MarkdownFencedCodeLanguage = []|[{
|
|
9539
|
+
required?: string[]
|
|
9540
|
+
}]
|
|
9541
|
+
// ----- markdown/no-html -----
|
|
9542
|
+
type MarkdownNoHtml = []|[{
|
|
9543
|
+
allowed?: string[]
|
|
9544
|
+
}]
|
|
9469
9545
|
// ----- max-classes-per-file -----
|
|
9470
9546
|
type MaxClassesPerFile = []|[(number | {
|
|
9471
9547
|
ignoreExpressions?: boolean
|
|
@@ -10004,7 +10080,7 @@ type NodeHashbang = []|[{
|
|
|
10004
10080
|
// ----- node/no-deprecated-api -----
|
|
10005
10081
|
type NodeNoDeprecatedApi = []|[{
|
|
10006
10082
|
version?: string
|
|
10007
|
-
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext")[]
|
|
10083
|
+
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[]
|
|
10008
10084
|
ignoreGlobalItems?: ("Buffer()" | "new Buffer()" | "COUNTER_NET_SERVER_CONNECTION" | "COUNTER_NET_SERVER_CONNECTION_CLOSE" | "COUNTER_HTTP_SERVER_REQUEST" | "COUNTER_HTTP_SERVER_RESPONSE" | "COUNTER_HTTP_CLIENT_REQUEST" | "COUNTER_HTTP_CLIENT_RESPONSE" | "GLOBAL" | "Intl.v8BreakIterator" | "require.extensions" | "root" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport")[]
|
|
10009
10085
|
ignoreIndirectDependencies?: boolean
|
|
10010
10086
|
}]
|
|
@@ -10062,6 +10138,7 @@ type NodeNoMissingImport = []|[{
|
|
|
10062
10138
|
allowModules?: string[]
|
|
10063
10139
|
resolvePaths?: string[]
|
|
10064
10140
|
tryExtensions?: string[]
|
|
10141
|
+
ignoreTypeImport?: boolean
|
|
10065
10142
|
tsconfigPath?: string
|
|
10066
10143
|
typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"))
|
|
10067
10144
|
}]
|
|
@@ -10078,6 +10155,10 @@ type NodeNoMixedRequires = []|[(boolean | {
|
|
|
10078
10155
|
grouping?: boolean
|
|
10079
10156
|
allowCall?: boolean
|
|
10080
10157
|
})]
|
|
10158
|
+
// ----- node/no-process-env -----
|
|
10159
|
+
type NodeNoProcessEnv = []|[{
|
|
10160
|
+
allowedVariables?: string[]
|
|
10161
|
+
}]
|
|
10081
10162
|
// ----- node/no-restricted-import -----
|
|
10082
10163
|
type NodeNoRestrictedImport = []|[(string | {
|
|
10083
10164
|
name: (string | string[])
|
|
@@ -10172,7 +10253,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
10172
10253
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
10173
10254
|
version?: string
|
|
10174
10255
|
allowExperimental?: boolean
|
|
10175
|
-
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.MockFunctionContext" | "test.MockModuleContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.snapshot" | "test.test.MockFunctionContext" | "test.test.MockModuleContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
10256
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.Network.loadingFinished" | "inspector.Network.loadingFailed" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.MockFunctionContext" | "test.MockModuleContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.snapshot" | "test.test.MockFunctionContext" | "test.test.MockModuleContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
|
|
10176
10257
|
}]
|
|
10177
10258
|
// ----- node/prefer-global/buffer -----
|
|
10178
10259
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -10319,9 +10400,17 @@ type PerfectionistSortArrayIncludes = []|[{
|
|
|
10319
10400
|
|
|
10320
10401
|
order?: ("asc" | "desc")
|
|
10321
10402
|
|
|
10403
|
+
matcher?: ("minimatch" | "regex")
|
|
10404
|
+
|
|
10322
10405
|
ignoreCase?: boolean
|
|
10323
10406
|
|
|
10407
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10408
|
+
|
|
10324
10409
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
10410
|
+
|
|
10411
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10412
|
+
|
|
10413
|
+
partitionByNewLine?: boolean
|
|
10325
10414
|
}]
|
|
10326
10415
|
// ----- perfectionist/sort-astro-attributes -----
|
|
10327
10416
|
type PerfectionistSortAstroAttributes = []|[{
|
|
@@ -10330,8 +10419,12 @@ type PerfectionistSortAstroAttributes = []|[{
|
|
|
10330
10419
|
|
|
10331
10420
|
order?: ("asc" | "desc")
|
|
10332
10421
|
|
|
10422
|
+
matcher?: ("minimatch" | "regex")
|
|
10423
|
+
|
|
10333
10424
|
ignoreCase?: boolean
|
|
10334
10425
|
|
|
10426
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10427
|
+
|
|
10335
10428
|
groups?: (string | string[])[]
|
|
10336
10429
|
|
|
10337
10430
|
customGroups?: {
|
|
@@ -10345,15 +10438,55 @@ type PerfectionistSortClasses = []|[{
|
|
|
10345
10438
|
|
|
10346
10439
|
order?: ("asc" | "desc")
|
|
10347
10440
|
|
|
10441
|
+
matcher?: ("minimatch" | "regex")
|
|
10442
|
+
|
|
10348
10443
|
ignoreCase?: boolean
|
|
10349
10444
|
|
|
10445
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10446
|
+
|
|
10350
10447
|
partitionByComment?: (string[] | boolean | string)
|
|
10351
10448
|
|
|
10352
10449
|
groups?: (string | string[])[]
|
|
10353
10450
|
|
|
10354
|
-
customGroups?: {
|
|
10451
|
+
customGroups?: ({
|
|
10355
10452
|
[k: string]: (string | string[]) | undefined
|
|
10356
|
-
}
|
|
10453
|
+
} | ({
|
|
10454
|
+
|
|
10455
|
+
groupName?: string
|
|
10456
|
+
|
|
10457
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10458
|
+
|
|
10459
|
+
order?: ("desc" | "asc")
|
|
10460
|
+
anyOf?: {
|
|
10461
|
+
|
|
10462
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
10463
|
+
|
|
10464
|
+
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10465
|
+
|
|
10466
|
+
elementNamePattern?: string
|
|
10467
|
+
|
|
10468
|
+
elementValuePattern?: string
|
|
10469
|
+
|
|
10470
|
+
decoratorNamePattern?: string
|
|
10471
|
+
}[]
|
|
10472
|
+
} | {
|
|
10473
|
+
|
|
10474
|
+
groupName?: string
|
|
10475
|
+
|
|
10476
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10477
|
+
|
|
10478
|
+
order?: ("desc" | "asc")
|
|
10479
|
+
|
|
10480
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
10481
|
+
|
|
10482
|
+
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10483
|
+
|
|
10484
|
+
elementNamePattern?: string
|
|
10485
|
+
|
|
10486
|
+
elementValuePattern?: string
|
|
10487
|
+
|
|
10488
|
+
decoratorNamePattern?: string
|
|
10489
|
+
})[])
|
|
10357
10490
|
}]
|
|
10358
10491
|
// ----- perfectionist/sort-enums -----
|
|
10359
10492
|
type PerfectionistSortEnums = []|[{
|
|
@@ -10362,14 +10495,20 @@ type PerfectionistSortEnums = []|[{
|
|
|
10362
10495
|
|
|
10363
10496
|
order?: ("asc" | "desc")
|
|
10364
10497
|
|
|
10498
|
+
matcher?: ("minimatch" | "regex")
|
|
10499
|
+
|
|
10365
10500
|
ignoreCase?: boolean
|
|
10366
10501
|
|
|
10502
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10503
|
+
|
|
10367
10504
|
sortByValue?: boolean
|
|
10368
10505
|
|
|
10369
10506
|
forceNumericSort?: boolean
|
|
10370
10507
|
|
|
10371
10508
|
partitionByComment?: (string[] | boolean | string)
|
|
10372
|
-
|
|
10509
|
+
|
|
10510
|
+
partitionByNewLine?: boolean
|
|
10511
|
+
}]
|
|
10373
10512
|
// ----- perfectionist/sort-exports -----
|
|
10374
10513
|
type PerfectionistSortExports = []|[{
|
|
10375
10514
|
|
|
@@ -10377,7 +10516,17 @@ type PerfectionistSortExports = []|[{
|
|
|
10377
10516
|
|
|
10378
10517
|
order?: ("asc" | "desc")
|
|
10379
10518
|
|
|
10519
|
+
matcher?: ("minimatch" | "regex")
|
|
10520
|
+
|
|
10380
10521
|
ignoreCase?: boolean
|
|
10522
|
+
|
|
10523
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10524
|
+
|
|
10525
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10526
|
+
|
|
10527
|
+
partitionByNewLine?: boolean
|
|
10528
|
+
|
|
10529
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10381
10530
|
}]
|
|
10382
10531
|
// ----- perfectionist/sort-imports -----
|
|
10383
10532
|
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
@@ -10387,10 +10536,16 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
10387
10536
|
|
|
10388
10537
|
order?: ("asc" | "desc")
|
|
10389
10538
|
|
|
10539
|
+
matcher?: ("minimatch" | "regex")
|
|
10540
|
+
|
|
10390
10541
|
ignoreCase?: boolean
|
|
10391
10542
|
|
|
10543
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10544
|
+
|
|
10392
10545
|
internalPattern?: string[]
|
|
10393
10546
|
|
|
10547
|
+
sortSideEffects?: boolean
|
|
10548
|
+
|
|
10394
10549
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10395
10550
|
|
|
10396
10551
|
maxLineLength?: number
|
|
@@ -10422,10 +10577,16 @@ type PerfectionistSortInterfaces = []|[{
|
|
|
10422
10577
|
|
|
10423
10578
|
order?: ("asc" | "desc")
|
|
10424
10579
|
|
|
10580
|
+
matcher?: ("minimatch" | "regex")
|
|
10581
|
+
|
|
10425
10582
|
ignoreCase?: boolean
|
|
10426
10583
|
|
|
10584
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10585
|
+
|
|
10427
10586
|
ignorePattern?: string[]
|
|
10428
10587
|
|
|
10588
|
+
partitionByComment?: (boolean | string | string[])
|
|
10589
|
+
|
|
10429
10590
|
partitionByNewLine?: boolean
|
|
10430
10591
|
|
|
10431
10592
|
groupKind?: ("mixed" | "optional-first" | "required-first")
|
|
@@ -10443,9 +10604,17 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
10443
10604
|
|
|
10444
10605
|
order?: ("asc" | "desc")
|
|
10445
10606
|
|
|
10607
|
+
matcher?: ("minimatch" | "regex")
|
|
10608
|
+
|
|
10446
10609
|
ignoreCase?: boolean
|
|
10447
10610
|
|
|
10611
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10612
|
+
|
|
10448
10613
|
groups?: (string | string[])[]
|
|
10614
|
+
|
|
10615
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10616
|
+
|
|
10617
|
+
partitionByNewLine?: boolean
|
|
10449
10618
|
}]
|
|
10450
10619
|
// ----- perfectionist/sort-jsx-props -----
|
|
10451
10620
|
type PerfectionistSortJsxProps = []|[{
|
|
@@ -10454,8 +10623,12 @@ type PerfectionistSortJsxProps = []|[{
|
|
|
10454
10623
|
|
|
10455
10624
|
order?: ("asc" | "desc")
|
|
10456
10625
|
|
|
10626
|
+
matcher?: ("minimatch" | "regex")
|
|
10627
|
+
|
|
10457
10628
|
ignoreCase?: boolean
|
|
10458
10629
|
|
|
10630
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10631
|
+
|
|
10459
10632
|
ignorePattern?: string[]
|
|
10460
10633
|
|
|
10461
10634
|
groups?: (string | string[])[]
|
|
@@ -10471,7 +10644,15 @@ type PerfectionistSortMaps = []|[{
|
|
|
10471
10644
|
|
|
10472
10645
|
order?: ("asc" | "desc")
|
|
10473
10646
|
|
|
10647
|
+
matcher?: ("minimatch" | "regex")
|
|
10648
|
+
|
|
10474
10649
|
ignoreCase?: boolean
|
|
10650
|
+
|
|
10651
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10652
|
+
|
|
10653
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10654
|
+
|
|
10655
|
+
partitionByNewLine?: boolean
|
|
10475
10656
|
}]
|
|
10476
10657
|
// ----- perfectionist/sort-named-exports -----
|
|
10477
10658
|
type PerfectionistSortNamedExports = []|[{
|
|
@@ -10480,9 +10661,17 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
10480
10661
|
|
|
10481
10662
|
order?: ("asc" | "desc")
|
|
10482
10663
|
|
|
10664
|
+
matcher?: ("minimatch" | "regex")
|
|
10665
|
+
|
|
10483
10666
|
ignoreCase?: boolean
|
|
10484
10667
|
|
|
10668
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10669
|
+
|
|
10485
10670
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10671
|
+
|
|
10672
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10673
|
+
|
|
10674
|
+
partitionByNewLine?: boolean
|
|
10486
10675
|
}]
|
|
10487
10676
|
// ----- perfectionist/sort-named-imports -----
|
|
10488
10677
|
type PerfectionistSortNamedImports = []|[{
|
|
@@ -10491,11 +10680,19 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
10491
10680
|
|
|
10492
10681
|
order?: ("asc" | "desc")
|
|
10493
10682
|
|
|
10683
|
+
matcher?: ("minimatch" | "regex")
|
|
10684
|
+
|
|
10494
10685
|
ignoreCase?: boolean
|
|
10495
10686
|
|
|
10687
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10688
|
+
|
|
10496
10689
|
ignoreAlias?: boolean
|
|
10497
10690
|
|
|
10498
10691
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10692
|
+
|
|
10693
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10694
|
+
|
|
10695
|
+
partitionByNewLine?: boolean
|
|
10499
10696
|
}]
|
|
10500
10697
|
// ----- perfectionist/sort-object-types -----
|
|
10501
10698
|
type PerfectionistSortObjectTypes = []|[{
|
|
@@ -10504,8 +10701,14 @@ type PerfectionistSortObjectTypes = []|[{
|
|
|
10504
10701
|
|
|
10505
10702
|
order?: ("asc" | "desc")
|
|
10506
10703
|
|
|
10704
|
+
matcher?: ("minimatch" | "regex")
|
|
10705
|
+
|
|
10507
10706
|
ignoreCase?: boolean
|
|
10508
10707
|
|
|
10708
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10709
|
+
|
|
10710
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10711
|
+
|
|
10509
10712
|
partitionByNewLine?: boolean
|
|
10510
10713
|
|
|
10511
10714
|
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
@@ -10523,8 +10726,12 @@ type PerfectionistSortObjects = []|[{
|
|
|
10523
10726
|
|
|
10524
10727
|
order?: ("asc" | "desc")
|
|
10525
10728
|
|
|
10729
|
+
matcher?: ("minimatch" | "regex")
|
|
10730
|
+
|
|
10526
10731
|
ignoreCase?: boolean
|
|
10527
10732
|
|
|
10733
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10734
|
+
|
|
10528
10735
|
partitionByComment?: (string[] | boolean | string)
|
|
10529
10736
|
|
|
10530
10737
|
partitionByNewLine?: boolean
|
|
@@ -10541,6 +10748,25 @@ type PerfectionistSortObjects = []|[{
|
|
|
10541
10748
|
[k: string]: (string | string[]) | undefined
|
|
10542
10749
|
}
|
|
10543
10750
|
}]
|
|
10751
|
+
// ----- perfectionist/sort-sets -----
|
|
10752
|
+
type PerfectionistSortSets = []|[{
|
|
10753
|
+
|
|
10754
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10755
|
+
|
|
10756
|
+
order?: ("asc" | "desc")
|
|
10757
|
+
|
|
10758
|
+
matcher?: ("minimatch" | "regex")
|
|
10759
|
+
|
|
10760
|
+
ignoreCase?: boolean
|
|
10761
|
+
|
|
10762
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10763
|
+
|
|
10764
|
+
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
10765
|
+
|
|
10766
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10767
|
+
|
|
10768
|
+
partitionByNewLine?: boolean
|
|
10769
|
+
}]
|
|
10544
10770
|
// ----- perfectionist/sort-svelte-attributes -----
|
|
10545
10771
|
type PerfectionistSortSvelteAttributes = []|[{
|
|
10546
10772
|
|
|
@@ -10548,8 +10774,12 @@ type PerfectionistSortSvelteAttributes = []|[{
|
|
|
10548
10774
|
|
|
10549
10775
|
order?: ("asc" | "desc")
|
|
10550
10776
|
|
|
10777
|
+
matcher?: ("minimatch" | "regex")
|
|
10778
|
+
|
|
10551
10779
|
ignoreCase?: boolean
|
|
10552
10780
|
|
|
10781
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10782
|
+
|
|
10553
10783
|
groups?: (string | string[])[]
|
|
10554
10784
|
|
|
10555
10785
|
customGroups?: {
|
|
@@ -10564,6 +10794,8 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
10564
10794
|
order?: ("asc" | "desc")
|
|
10565
10795
|
|
|
10566
10796
|
ignoreCase?: boolean
|
|
10797
|
+
|
|
10798
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10567
10799
|
}]
|
|
10568
10800
|
// ----- perfectionist/sort-union-types -----
|
|
10569
10801
|
type PerfectionistSortUnionTypes = []|[{
|
|
@@ -10572,9 +10804,17 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
10572
10804
|
|
|
10573
10805
|
order?: ("asc" | "desc")
|
|
10574
10806
|
|
|
10807
|
+
matcher?: ("minimatch" | "regex")
|
|
10808
|
+
|
|
10575
10809
|
ignoreCase?: boolean
|
|
10576
10810
|
|
|
10811
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10812
|
+
|
|
10577
10813
|
groups?: (string | string[])[]
|
|
10814
|
+
|
|
10815
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10816
|
+
|
|
10817
|
+
partitionByNewLine?: boolean
|
|
10578
10818
|
}]
|
|
10579
10819
|
// ----- perfectionist/sort-variable-declarations -----
|
|
10580
10820
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
@@ -10583,7 +10823,15 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
10583
10823
|
|
|
10584
10824
|
order?: ("asc" | "desc")
|
|
10585
10825
|
|
|
10826
|
+
matcher?: ("minimatch" | "regex")
|
|
10827
|
+
|
|
10586
10828
|
ignoreCase?: boolean
|
|
10829
|
+
|
|
10830
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10831
|
+
|
|
10832
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10833
|
+
|
|
10834
|
+
partitionByNewLine?: boolean
|
|
10587
10835
|
}]
|
|
10588
10836
|
// ----- perfectionist/sort-vue-attributes -----
|
|
10589
10837
|
type PerfectionistSortVueAttributes = []|[{
|
|
@@ -10592,8 +10840,12 @@ type PerfectionistSortVueAttributes = []|[{
|
|
|
10592
10840
|
|
|
10593
10841
|
order?: ("asc" | "desc")
|
|
10594
10842
|
|
|
10843
|
+
matcher?: ("minimatch" | "regex")
|
|
10844
|
+
|
|
10595
10845
|
ignoreCase?: boolean
|
|
10596
10846
|
|
|
10847
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10848
|
+
|
|
10597
10849
|
groups?: (string | string[])[]
|
|
10598
10850
|
|
|
10599
10851
|
customGroups?: {
|
|
@@ -10693,6 +10945,11 @@ type ReactRefreshOnlyExportComponents = []|[{
|
|
|
10693
10945
|
checkJS?: boolean
|
|
10694
10946
|
allowExportNames?: string[]
|
|
10695
10947
|
}]
|
|
10948
|
+
// ----- react/no-useless-fragment -----
|
|
10949
|
+
type ReactNoUselessFragment = []|[{
|
|
10950
|
+
|
|
10951
|
+
allowExpressions?: boolean
|
|
10952
|
+
}]
|
|
10696
10953
|
// ----- regexp/hexadecimal-escape -----
|
|
10697
10954
|
type RegexpHexadecimalEscape = []|[("always" | "never")]
|
|
10698
10955
|
// ----- regexp/letter-case -----
|
|
@@ -10815,6 +11072,10 @@ type RegexpUnicodeProperty = []|[{
|
|
|
10815
11072
|
type RequireAtomicUpdates = []|[{
|
|
10816
11073
|
allowProperties?: boolean
|
|
10817
11074
|
}]
|
|
11075
|
+
// ----- require-unicode-regexp -----
|
|
11076
|
+
type RequireUnicodeRegexp = []|[{
|
|
11077
|
+
requireFlag?: ("u" | "v")
|
|
11078
|
+
}]
|
|
10818
11079
|
// ----- rest-spread-spacing -----
|
|
10819
11080
|
type RestSpreadSpacing = []|[("always" | "never")]
|
|
10820
11081
|
// ----- semi -----
|
|
@@ -11015,6 +11276,127 @@ type StyleCommaStyle = []|[("first" | "last")]|[("first" | "last"), {
|
|
|
11015
11276
|
type StyleComputedPropertySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
11016
11277
|
enforceForClassMembers?: boolean
|
|
11017
11278
|
}]
|
|
11279
|
+
// ----- style/curly-newline -----
|
|
11280
|
+
type StyleCurlyNewline = []|[(("always" | "never") | {
|
|
11281
|
+
IfStatementConsequent?: (("always" | "never") | {
|
|
11282
|
+
multiline?: boolean
|
|
11283
|
+
minElements?: number
|
|
11284
|
+
consistent?: boolean
|
|
11285
|
+
})
|
|
11286
|
+
IfStatementAlternative?: (("always" | "never") | {
|
|
11287
|
+
multiline?: boolean
|
|
11288
|
+
minElements?: number
|
|
11289
|
+
consistent?: boolean
|
|
11290
|
+
})
|
|
11291
|
+
DoWhileStatement?: (("always" | "never") | {
|
|
11292
|
+
multiline?: boolean
|
|
11293
|
+
minElements?: number
|
|
11294
|
+
consistent?: boolean
|
|
11295
|
+
})
|
|
11296
|
+
ForInStatement?: (("always" | "never") | {
|
|
11297
|
+
multiline?: boolean
|
|
11298
|
+
minElements?: number
|
|
11299
|
+
consistent?: boolean
|
|
11300
|
+
})
|
|
11301
|
+
ForOfStatement?: (("always" | "never") | {
|
|
11302
|
+
multiline?: boolean
|
|
11303
|
+
minElements?: number
|
|
11304
|
+
consistent?: boolean
|
|
11305
|
+
})
|
|
11306
|
+
ForStatement?: (("always" | "never") | {
|
|
11307
|
+
multiline?: boolean
|
|
11308
|
+
minElements?: number
|
|
11309
|
+
consistent?: boolean
|
|
11310
|
+
})
|
|
11311
|
+
WhileStatement?: (("always" | "never") | {
|
|
11312
|
+
multiline?: boolean
|
|
11313
|
+
minElements?: number
|
|
11314
|
+
consistent?: boolean
|
|
11315
|
+
})
|
|
11316
|
+
SwitchStatement?: (("always" | "never") | {
|
|
11317
|
+
multiline?: boolean
|
|
11318
|
+
minElements?: number
|
|
11319
|
+
consistent?: boolean
|
|
11320
|
+
})
|
|
11321
|
+
SwitchCase?: (("always" | "never") | {
|
|
11322
|
+
multiline?: boolean
|
|
11323
|
+
minElements?: number
|
|
11324
|
+
consistent?: boolean
|
|
11325
|
+
})
|
|
11326
|
+
TryStatementBlock?: (("always" | "never") | {
|
|
11327
|
+
multiline?: boolean
|
|
11328
|
+
minElements?: number
|
|
11329
|
+
consistent?: boolean
|
|
11330
|
+
})
|
|
11331
|
+
TryStatementHandler?: (("always" | "never") | {
|
|
11332
|
+
multiline?: boolean
|
|
11333
|
+
minElements?: number
|
|
11334
|
+
consistent?: boolean
|
|
11335
|
+
})
|
|
11336
|
+
TryStatementFinalizer?: (("always" | "never") | {
|
|
11337
|
+
multiline?: boolean
|
|
11338
|
+
minElements?: number
|
|
11339
|
+
consistent?: boolean
|
|
11340
|
+
})
|
|
11341
|
+
BlockStatement?: (("always" | "never") | {
|
|
11342
|
+
multiline?: boolean
|
|
11343
|
+
minElements?: number
|
|
11344
|
+
consistent?: boolean
|
|
11345
|
+
})
|
|
11346
|
+
ArrowFunctionExpression?: (("always" | "never") | {
|
|
11347
|
+
multiline?: boolean
|
|
11348
|
+
minElements?: number
|
|
11349
|
+
consistent?: boolean
|
|
11350
|
+
})
|
|
11351
|
+
FunctionDeclaration?: (("always" | "never") | {
|
|
11352
|
+
multiline?: boolean
|
|
11353
|
+
minElements?: number
|
|
11354
|
+
consistent?: boolean
|
|
11355
|
+
})
|
|
11356
|
+
FunctionExpression?: (("always" | "never") | {
|
|
11357
|
+
multiline?: boolean
|
|
11358
|
+
minElements?: number
|
|
11359
|
+
consistent?: boolean
|
|
11360
|
+
})
|
|
11361
|
+
Property?: (("always" | "never") | {
|
|
11362
|
+
multiline?: boolean
|
|
11363
|
+
minElements?: number
|
|
11364
|
+
consistent?: boolean
|
|
11365
|
+
})
|
|
11366
|
+
ClassBody?: (("always" | "never") | {
|
|
11367
|
+
multiline?: boolean
|
|
11368
|
+
minElements?: number
|
|
11369
|
+
consistent?: boolean
|
|
11370
|
+
})
|
|
11371
|
+
StaticBlock?: (("always" | "never") | {
|
|
11372
|
+
multiline?: boolean
|
|
11373
|
+
minElements?: number
|
|
11374
|
+
consistent?: boolean
|
|
11375
|
+
})
|
|
11376
|
+
WithStatement?: (("always" | "never") | {
|
|
11377
|
+
multiline?: boolean
|
|
11378
|
+
minElements?: number
|
|
11379
|
+
consistent?: boolean
|
|
11380
|
+
})
|
|
11381
|
+
TSEnumBody?: (("always" | "never") | {
|
|
11382
|
+
multiline?: boolean
|
|
11383
|
+
minElements?: number
|
|
11384
|
+
consistent?: boolean
|
|
11385
|
+
})
|
|
11386
|
+
TSInterfaceBody?: (("always" | "never") | {
|
|
11387
|
+
multiline?: boolean
|
|
11388
|
+
minElements?: number
|
|
11389
|
+
consistent?: boolean
|
|
11390
|
+
})
|
|
11391
|
+
TSModuleBlock?: (("always" | "never") | {
|
|
11392
|
+
multiline?: boolean
|
|
11393
|
+
minElements?: number
|
|
11394
|
+
consistent?: boolean
|
|
11395
|
+
})
|
|
11396
|
+
multiline?: boolean
|
|
11397
|
+
minElements?: number
|
|
11398
|
+
consistent?: boolean
|
|
11399
|
+
})]
|
|
11018
11400
|
// ----- style/dot-location -----
|
|
11019
11401
|
type StyleDotLocation = []|[("object" | "property")]
|
|
11020
11402
|
// ----- style/eol-last -----
|
|
@@ -11083,6 +11465,7 @@ type StyleIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
|
11083
11465
|
offsetTernaryExpressions?: boolean
|
|
11084
11466
|
ignoredNodes?: string[]
|
|
11085
11467
|
ignoreComments?: boolean
|
|
11468
|
+
tabLength?: number
|
|
11086
11469
|
}]
|
|
11087
11470
|
// ----- style/indent-binary-ops -----
|
|
11088
11471
|
type StyleIndentBinaryOps = []|[(number | "tab")]
|
|
@@ -11093,6 +11476,8 @@ type StyleJsxClosingBracketLocation = []|[(("after-props" | "props-aligned" | "t
|
|
|
11093
11476
|
nonEmpty?: (("after-props" | "props-aligned" | "tag-aligned" | "line-aligned") | false)
|
|
11094
11477
|
selfClosing?: (("after-props" | "props-aligned" | "tag-aligned" | "line-aligned") | false)
|
|
11095
11478
|
})]
|
|
11479
|
+
// ----- style/jsx-closing-tag-location -----
|
|
11480
|
+
type StyleJsxClosingTagLocation = []|[("tag-aligned" | "line-aligned")]
|
|
11096
11481
|
// ----- style/jsx-curly-brace-presence -----
|
|
11097
11482
|
type StyleJsxCurlyBracePresence = []|[({
|
|
11098
11483
|
props?: ("always" | "never" | "ignore")
|
|
@@ -11457,6 +11842,10 @@ type StyleKeywordSpacing = []|[{
|
|
|
11457
11842
|
before?: boolean
|
|
11458
11843
|
after?: boolean
|
|
11459
11844
|
}
|
|
11845
|
+
satisfies?: {
|
|
11846
|
+
before?: boolean
|
|
11847
|
+
after?: boolean
|
|
11848
|
+
}
|
|
11460
11849
|
set?: {
|
|
11461
11850
|
before?: boolean
|
|
11462
11851
|
after?: boolean
|
|
@@ -11672,6 +12061,7 @@ type StyleMaxLen = []|[({
|
|
|
11672
12061
|
// ----- style/max-statements-per-line -----
|
|
11673
12062
|
type StyleMaxStatementsPerLine = []|[{
|
|
11674
12063
|
max?: number
|
|
12064
|
+
ignoredNodes?: ("BreakStatement" | "ClassDeclaration" | "ContinueStatement" | "DebuggerStatement" | "DoWhileStatement" | "ExpressionStatement" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "IfStatement" | "ImportDeclaration" | "LabeledStatement" | "ReturnStatement" | "SwitchStatement" | "ThrowStatement" | "TryStatement" | "VariableDeclaration" | "WhileStatement" | "WithStatement" | "ExportNamedDeclaration" | "ExportDefaultDeclaration" | "ExportAllDeclaration")[]
|
|
11675
12065
|
}]
|
|
11676
12066
|
// ----- style/member-delimiter-style -----
|
|
11677
12067
|
type StyleMemberDelimiterStyle = []|[{
|
|
@@ -11841,7 +12231,7 @@ type StylePaddedBlocks = []|[(("always" | "never") | {
|
|
|
11841
12231
|
}]
|
|
11842
12232
|
// ----- style/padding-line-between-statements -----
|
|
11843
12233
|
type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
|
|
11844
|
-
type _StylePaddingLineBetweenStatementsStatementType = (("*" | "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" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
12234
|
+
type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
11845
12235
|
type StylePaddingLineBetweenStatements = {
|
|
11846
12236
|
blankLine: _StylePaddingLineBetweenStatementsPaddingType
|
|
11847
12237
|
prev: _StylePaddingLineBetweenStatementsStatementType
|
|
@@ -11981,6 +12371,15 @@ type SvelteFirstAttributeLinebreak = []|[{
|
|
|
11981
12371
|
multiline?: ("below" | "beside")
|
|
11982
12372
|
singleline?: ("below" | "beside")
|
|
11983
12373
|
}]
|
|
12374
|
+
// ----- svelte/html-closing-bracket-new-line -----
|
|
12375
|
+
type SvelteHtmlClosingBracketNewLine = []|[{
|
|
12376
|
+
singleline?: ("always" | "never")
|
|
12377
|
+
multiline?: ("always" | "never")
|
|
12378
|
+
selfClosingTag?: {
|
|
12379
|
+
singleline?: ("always" | "never")
|
|
12380
|
+
multiline?: ("always" | "never")
|
|
12381
|
+
}
|
|
12382
|
+
}]
|
|
11984
12383
|
// ----- svelte/html-closing-bracket-spacing -----
|
|
11985
12384
|
type SvelteHtmlClosingBracketSpacing = []|[{
|
|
11986
12385
|
startTag?: ("always" | "never" | "ignore")
|
|
@@ -11999,6 +12398,7 @@ type SvelteHtmlQuotes = []|[{
|
|
|
11999
12398
|
type SvelteHtmlSelfClosing = []|[({
|
|
12000
12399
|
void?: ("never" | "always" | "ignore")
|
|
12001
12400
|
normal?: ("never" | "always" | "ignore")
|
|
12401
|
+
foreign?: ("never" | "always" | "ignore")
|
|
12002
12402
|
component?: ("never" | "always" | "ignore")
|
|
12003
12403
|
svelte?: ("never" | "always" | "ignore")
|
|
12004
12404
|
} | ("all" | "html" | "none"))]
|
|
@@ -12342,6 +12742,11 @@ type TsArrayType = []|[{
|
|
|
12342
12742
|
}]
|
|
12343
12743
|
// ----- ts/ban-ts-comment -----
|
|
12344
12744
|
type TsBanTsComment = []|[{
|
|
12745
|
+
|
|
12746
|
+
minimumDescriptionLength?: number
|
|
12747
|
+
"ts-check"?: (boolean | "allow-with-description" | {
|
|
12748
|
+
descriptionFormat?: string
|
|
12749
|
+
})
|
|
12345
12750
|
"ts-expect-error"?: (boolean | "allow-with-description" | {
|
|
12346
12751
|
descriptionFormat?: string
|
|
12347
12752
|
})
|
|
@@ -12351,23 +12756,19 @@ type TsBanTsComment = []|[{
|
|
|
12351
12756
|
"ts-nocheck"?: (boolean | "allow-with-description" | {
|
|
12352
12757
|
descriptionFormat?: string
|
|
12353
12758
|
})
|
|
12354
|
-
"ts-check"?: (boolean | "allow-with-description" | {
|
|
12355
|
-
descriptionFormat?: string
|
|
12356
|
-
})
|
|
12357
|
-
minimumDescriptionLength?: number
|
|
12358
12759
|
}]
|
|
12359
12760
|
// ----- ts/class-literal-property-style -----
|
|
12360
12761
|
type TsClassLiteralPropertyStyle = []|[("fields" | "getters")]
|
|
12361
12762
|
// ----- ts/class-methods-use-this -----
|
|
12362
12763
|
type TsClassMethodsUseThis = []|[{
|
|
12363
12764
|
|
|
12364
|
-
exceptMethods?: string[]
|
|
12365
|
-
|
|
12366
12765
|
enforceForClassFields?: boolean
|
|
12367
12766
|
|
|
12368
|
-
|
|
12767
|
+
exceptMethods?: string[]
|
|
12369
12768
|
|
|
12370
12769
|
ignoreClassesThatImplementAnInterface?: (boolean | "public-fields")
|
|
12770
|
+
|
|
12771
|
+
ignoreOverrideMethods?: boolean
|
|
12371
12772
|
}]
|
|
12372
12773
|
// ----- ts/consistent-generic-constructors -----
|
|
12373
12774
|
type TsConsistentGenericConstructors = []|[("type-annotation" | "constructor")]
|
|
@@ -12379,61 +12780,76 @@ type TsConsistentReturn = []|[{
|
|
|
12379
12780
|
}]
|
|
12380
12781
|
// ----- ts/consistent-type-assertions -----
|
|
12381
12782
|
type TsConsistentTypeAssertions = []|[({
|
|
12783
|
+
|
|
12382
12784
|
assertionStyle: "never"
|
|
12383
12785
|
} | {
|
|
12786
|
+
|
|
12384
12787
|
assertionStyle: ("as" | "angle-bracket")
|
|
12788
|
+
|
|
12385
12789
|
objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
|
|
12386
12790
|
})]
|
|
12387
12791
|
// ----- ts/consistent-type-definitions -----
|
|
12388
12792
|
type TsConsistentTypeDefinitions = []|[("interface" | "type")]
|
|
12389
12793
|
// ----- ts/consistent-type-exports -----
|
|
12390
12794
|
type TsConsistentTypeExports = []|[{
|
|
12795
|
+
|
|
12391
12796
|
fixMixedExportsWithInlineTypeSpecifier?: boolean
|
|
12392
12797
|
}]
|
|
12393
12798
|
// ----- ts/consistent-type-imports -----
|
|
12394
12799
|
type TsConsistentTypeImports = []|[{
|
|
12800
|
+
|
|
12395
12801
|
disallowTypeAnnotations?: boolean
|
|
12802
|
+
|
|
12396
12803
|
fixStyle?: ("separate-type-imports" | "inline-type-imports")
|
|
12804
|
+
|
|
12397
12805
|
prefer?: ("type-imports" | "no-type-imports")
|
|
12398
12806
|
}]
|
|
12399
12807
|
// ----- ts/dot-notation -----
|
|
12400
12808
|
type TsDotNotation = []|[{
|
|
12809
|
+
|
|
12810
|
+
allowIndexSignaturePropertyAccess?: boolean
|
|
12811
|
+
|
|
12401
12812
|
allowKeywords?: boolean
|
|
12813
|
+
|
|
12402
12814
|
allowPattern?: string
|
|
12815
|
+
|
|
12403
12816
|
allowPrivateClassPropertyAccess?: boolean
|
|
12817
|
+
|
|
12404
12818
|
allowProtectedClassPropertyAccess?: boolean
|
|
12405
|
-
allowIndexSignaturePropertyAccess?: boolean
|
|
12406
12819
|
}]
|
|
12407
12820
|
// ----- ts/explicit-function-return-type -----
|
|
12408
12821
|
type TsExplicitFunctionReturnType = []|[{
|
|
12409
12822
|
|
|
12410
12823
|
allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean
|
|
12411
12824
|
|
|
12412
|
-
|
|
12413
|
-
|
|
12414
|
-
allowHigherOrderFunctions?: boolean
|
|
12825
|
+
allowDirectConstAssertionInArrowFunctions?: boolean
|
|
12415
12826
|
|
|
12416
|
-
|
|
12827
|
+
allowedNames?: string[]
|
|
12417
12828
|
|
|
12418
|
-
|
|
12829
|
+
allowExpressions?: boolean
|
|
12419
12830
|
|
|
12420
12831
|
allowFunctionsWithoutTypeParameters?: boolean
|
|
12421
12832
|
|
|
12422
|
-
|
|
12833
|
+
allowHigherOrderFunctions?: boolean
|
|
12423
12834
|
|
|
12424
12835
|
allowIIFEs?: boolean
|
|
12836
|
+
|
|
12837
|
+
allowTypedFunctionExpressions?: boolean
|
|
12425
12838
|
}]
|
|
12426
12839
|
// ----- ts/explicit-member-accessibility -----
|
|
12427
12840
|
type TsExplicitMemberAccessibility = []|[{
|
|
12841
|
+
|
|
12428
12842
|
accessibility?: ("explicit" | "no-public" | "off")
|
|
12843
|
+
|
|
12844
|
+
ignoredMethodNames?: string[]
|
|
12845
|
+
|
|
12429
12846
|
overrides?: {
|
|
12430
12847
|
accessors?: ("explicit" | "no-public" | "off")
|
|
12431
12848
|
constructors?: ("explicit" | "no-public" | "off")
|
|
12432
12849
|
methods?: ("explicit" | "no-public" | "off")
|
|
12433
|
-
properties?: ("explicit" | "no-public" | "off")
|
|
12434
12850
|
parameterProperties?: ("explicit" | "no-public" | "off")
|
|
12851
|
+
properties?: ("explicit" | "no-public" | "off")
|
|
12435
12852
|
}
|
|
12436
|
-
ignoredMethodNames?: string[]
|
|
12437
12853
|
}]
|
|
12438
12854
|
// ----- ts/explicit-module-boundary-types -----
|
|
12439
12855
|
type TsExplicitModuleBoundaryTypes = []|[{
|
|
@@ -12454,36 +12870,39 @@ type TsInitDeclarations = ([]|["always"] | []|["never"]|["never", {
|
|
|
12454
12870
|
}])
|
|
12455
12871
|
// ----- ts/max-params -----
|
|
12456
12872
|
type TsMaxParams = []|[{
|
|
12457
|
-
|
|
12458
|
-
max?: number
|
|
12873
|
+
|
|
12459
12874
|
countVoidThis?: boolean
|
|
12875
|
+
|
|
12876
|
+
max?: number
|
|
12877
|
+
|
|
12878
|
+
maximum?: number
|
|
12460
12879
|
}]
|
|
12461
12880
|
// ----- ts/member-ordering -----
|
|
12462
12881
|
type TsMemberOrdering = []|[{
|
|
12463
|
-
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")[])[] | {
|
|
12464
|
-
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")
|
|
12465
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12466
|
-
optionalityOrder?: ("optional-first" | "required-first")
|
|
12467
|
-
})
|
|
12468
12882
|
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")[])[] | {
|
|
12469
12883
|
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")
|
|
12470
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12471
12884
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
12885
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12472
12886
|
})
|
|
12473
12887
|
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")[])[] | {
|
|
12474
12888
|
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")
|
|
12889
|
+
optionalityOrder?: ("optional-first" | "required-first")
|
|
12475
12890
|
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12891
|
+
})
|
|
12892
|
+
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")[])[] | {
|
|
12893
|
+
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")
|
|
12476
12894
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
12895
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12477
12896
|
})
|
|
12478
12897
|
interfaces?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
12479
12898
|
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | "never")
|
|
12480
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12481
12899
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
12900
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12482
12901
|
})
|
|
12483
12902
|
typeLiterals?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | {
|
|
12484
12903
|
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor") | ("readonly-signature" | "signature" | "readonly-field" | "field" | "method" | "constructor")[])[] | "never")
|
|
12485
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12486
12904
|
optionalityOrder?: ("optional-first" | "required-first")
|
|
12905
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
12487
12906
|
})
|
|
12488
12907
|
}]
|
|
12489
12908
|
// ----- ts/method-signature-style -----
|
|
@@ -12495,310 +12914,310 @@ type _TsNamingConventionUnderscoreOptions = ("forbid" | "allow" | "require" | "r
|
|
|
12495
12914
|
type _TsNamingConvention_PrefixSuffixConfig = string[]
|
|
12496
12915
|
type _TsNamingConventionTypeModifiers = ("boolean" | "string" | "number" | "function" | "array")
|
|
12497
12916
|
type TsNamingConvention = ({
|
|
12498
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12499
12917
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12918
|
+
failureMessage?: string
|
|
12919
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12500
12920
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12501
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12502
12921
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12503
12922
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12504
|
-
|
|
12923
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12505
12924
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12506
|
-
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")[]
|
|
12507
12925
|
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[]
|
|
12926
|
+
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")[]
|
|
12508
12927
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12509
12928
|
} | {
|
|
12510
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12511
12929
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12930
|
+
failureMessage?: string
|
|
12931
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12512
12932
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12513
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12514
12933
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12515
12934
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12516
|
-
|
|
12935
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12517
12936
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12518
12937
|
selector: "default"
|
|
12519
12938
|
modifiers?: ("const" | "readonly" | "static" | "public" | "protected" | "private" | "#private" | "abstract" | "destructured" | "global" | "exported" | "unused" | "requiresQuotes" | "override" | "async" | "default" | "namespace")[]
|
|
12520
12939
|
} | {
|
|
12521
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12522
12940
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12941
|
+
failureMessage?: string
|
|
12942
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12523
12943
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12524
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12525
12944
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12526
12945
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12527
|
-
|
|
12946
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12528
12947
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12529
12948
|
selector: "variableLike"
|
|
12530
12949
|
modifiers?: ("unused" | "async")[]
|
|
12531
12950
|
} | {
|
|
12532
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12533
12951
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12952
|
+
failureMessage?: string
|
|
12953
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12534
12954
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12535
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12536
12955
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12537
12956
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12538
|
-
|
|
12957
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12539
12958
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12540
12959
|
selector: "variable"
|
|
12541
12960
|
modifiers?: ("const" | "destructured" | "exported" | "global" | "unused" | "async")[]
|
|
12542
12961
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12543
12962
|
} | {
|
|
12544
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12545
12963
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12964
|
+
failureMessage?: string
|
|
12965
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12546
12966
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12547
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12548
12967
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12549
12968
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12550
|
-
|
|
12969
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12551
12970
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12552
12971
|
selector: "function"
|
|
12553
12972
|
modifiers?: ("exported" | "global" | "unused" | "async")[]
|
|
12554
12973
|
} | {
|
|
12555
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12556
12974
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12975
|
+
failureMessage?: string
|
|
12976
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12557
12977
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12558
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12559
12978
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12560
12979
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12561
|
-
|
|
12980
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12562
12981
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12563
12982
|
selector: "parameter"
|
|
12564
12983
|
modifiers?: ("destructured" | "unused")[]
|
|
12565
12984
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12566
12985
|
} | {
|
|
12567
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12568
12986
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12987
|
+
failureMessage?: string
|
|
12988
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12569
12989
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12570
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12571
12990
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12572
12991
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12573
|
-
|
|
12992
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12574
12993
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12575
12994
|
selector: "memberLike"
|
|
12576
12995
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
12577
12996
|
} | {
|
|
12578
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12579
12997
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
12998
|
+
failureMessage?: string
|
|
12999
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12580
13000
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12581
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12582
13001
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12583
13002
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12584
|
-
|
|
13003
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12585
13004
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12586
13005
|
selector: "classProperty"
|
|
12587
13006
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override")[]
|
|
12588
13007
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12589
13008
|
} | {
|
|
12590
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12591
13009
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
13010
|
+
failureMessage?: string
|
|
13011
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12592
13012
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12593
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12594
13013
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12595
13014
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12596
|
-
|
|
13015
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12597
13016
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12598
13017
|
selector: "objectLiteralProperty"
|
|
12599
13018
|
modifiers?: ("public" | "requiresQuotes")[]
|
|
12600
13019
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12601
13020
|
} | {
|
|
12602
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12603
13021
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
13022
|
+
failureMessage?: string
|
|
13023
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12604
13024
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12605
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12606
13025
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12607
13026
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12608
|
-
|
|
13027
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12609
13028
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12610
13029
|
selector: "typeProperty"
|
|
12611
13030
|
modifiers?: ("public" | "readonly" | "requiresQuotes")[]
|
|
12612
13031
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12613
13032
|
} | {
|
|
12614
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12615
13033
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
13034
|
+
failureMessage?: string
|
|
13035
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12616
13036
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12617
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12618
13037
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12619
13038
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12620
|
-
|
|
13039
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12621
13040
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12622
13041
|
selector: "parameterProperty"
|
|
12623
13042
|
modifiers?: ("private" | "protected" | "public" | "readonly")[]
|
|
12624
13043
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12625
13044
|
} | {
|
|
12626
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12627
13045
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
13046
|
+
failureMessage?: string
|
|
13047
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12628
13048
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12629
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12630
13049
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12631
13050
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12632
|
-
|
|
13051
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12633
13052
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12634
13053
|
selector: "property"
|
|
12635
13054
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "readonly" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
12636
13055
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12637
13056
|
} | {
|
|
12638
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12639
13057
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
13058
|
+
failureMessage?: string
|
|
13059
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12640
13060
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12641
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12642
13061
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12643
13062
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12644
|
-
|
|
13063
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12645
13064
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12646
13065
|
selector: "classMethod"
|
|
12647
13066
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
12648
13067
|
} | {
|
|
12649
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12650
13068
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
13069
|
+
failureMessage?: string
|
|
13070
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12651
13071
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12652
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12653
13072
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12654
13073
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12655
|
-
|
|
13074
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12656
13075
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12657
13076
|
selector: "objectLiteralMethod"
|
|
12658
13077
|
modifiers?: ("public" | "requiresQuotes" | "async")[]
|
|
12659
13078
|
} | {
|
|
12660
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12661
13079
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
13080
|
+
failureMessage?: string
|
|
13081
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12662
13082
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12663
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12664
13083
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12665
13084
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12666
|
-
|
|
13085
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12667
13086
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12668
13087
|
selector: "typeMethod"
|
|
12669
13088
|
modifiers?: ("public" | "requiresQuotes")[]
|
|
12670
13089
|
} | {
|
|
12671
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12672
13090
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
13091
|
+
failureMessage?: string
|
|
13092
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12673
13093
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12674
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12675
13094
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12676
13095
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12677
|
-
|
|
13096
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12678
13097
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12679
13098
|
selector: "method"
|
|
12680
13099
|
modifiers?: ("abstract" | "private" | "#private" | "protected" | "public" | "requiresQuotes" | "static" | "override" | "async")[]
|
|
12681
13100
|
} | {
|
|
12682
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12683
13101
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
13102
|
+
failureMessage?: string
|
|
13103
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12684
13104
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12685
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12686
13105
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12687
13106
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12688
|
-
|
|
13107
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12689
13108
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12690
13109
|
selector: "classicAccessor"
|
|
12691
13110
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
12692
13111
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12693
13112
|
} | {
|
|
12694
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12695
13113
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
13114
|
+
failureMessage?: string
|
|
13115
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12696
13116
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12697
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12698
13117
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12699
13118
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12700
|
-
|
|
13119
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12701
13120
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12702
13121
|
selector: "autoAccessor"
|
|
12703
13122
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
12704
13123
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12705
13124
|
} | {
|
|
12706
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12707
13125
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
13126
|
+
failureMessage?: string
|
|
13127
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12708
13128
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12709
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12710
13129
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12711
13130
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12712
|
-
|
|
13131
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12713
13132
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12714
13133
|
selector: "accessor"
|
|
12715
13134
|
modifiers?: ("abstract" | "private" | "protected" | "public" | "requiresQuotes" | "static" | "override")[]
|
|
12716
13135
|
types?: _TsNamingConventionTypeModifiers[]
|
|
12717
13136
|
} | {
|
|
12718
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12719
13137
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
13138
|
+
failureMessage?: string
|
|
13139
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12720
13140
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12721
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12722
13141
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12723
13142
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12724
|
-
|
|
13143
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12725
13144
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12726
13145
|
selector: "enumMember"
|
|
12727
13146
|
modifiers?: ("requiresQuotes")[]
|
|
12728
13147
|
} | {
|
|
12729
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12730
13148
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
13149
|
+
failureMessage?: string
|
|
13150
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12731
13151
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12732
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12733
13152
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12734
13153
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12735
|
-
|
|
13154
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12736
13155
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12737
13156
|
selector: "typeLike"
|
|
12738
13157
|
modifiers?: ("abstract" | "exported" | "unused")[]
|
|
12739
13158
|
} | {
|
|
12740
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12741
13159
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
13160
|
+
failureMessage?: string
|
|
13161
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12742
13162
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12743
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12744
13163
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12745
13164
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12746
|
-
|
|
13165
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12747
13166
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12748
13167
|
selector: "class"
|
|
12749
13168
|
modifiers?: ("abstract" | "exported" | "unused")[]
|
|
12750
13169
|
} | {
|
|
12751
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12752
13170
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
13171
|
+
failureMessage?: string
|
|
13172
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12753
13173
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12754
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12755
13174
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12756
13175
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12757
|
-
|
|
13176
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12758
13177
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12759
13178
|
selector: "interface"
|
|
12760
13179
|
modifiers?: ("exported" | "unused")[]
|
|
12761
13180
|
} | {
|
|
12762
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12763
13181
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
13182
|
+
failureMessage?: string
|
|
13183
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12764
13184
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12765
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12766
13185
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12767
13186
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12768
|
-
|
|
13187
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12769
13188
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12770
13189
|
selector: "typeAlias"
|
|
12771
13190
|
modifiers?: ("exported" | "unused")[]
|
|
12772
13191
|
} | {
|
|
12773
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12774
13192
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
13193
|
+
failureMessage?: string
|
|
13194
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12775
13195
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12776
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12777
13196
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12778
13197
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12779
|
-
|
|
13198
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12780
13199
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12781
13200
|
selector: "enum"
|
|
12782
13201
|
modifiers?: ("exported" | "unused")[]
|
|
12783
13202
|
} | {
|
|
12784
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12785
13203
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
13204
|
+
failureMessage?: string
|
|
13205
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12786
13206
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12787
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12788
13207
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12789
13208
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12790
|
-
|
|
13209
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12791
13210
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12792
13211
|
selector: "typeParameter"
|
|
12793
13212
|
modifiers?: ("unused")[]
|
|
12794
13213
|
} | {
|
|
12795
|
-
format: _TsNamingConventionFormatOptionsConfig
|
|
12796
13214
|
custom?: _TsNamingConvention_MatchRegexConfig
|
|
13215
|
+
failureMessage?: string
|
|
13216
|
+
format: _TsNamingConventionFormatOptionsConfig
|
|
12797
13217
|
leadingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12798
|
-
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12799
13218
|
prefix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12800
13219
|
suffix?: _TsNamingConvention_PrefixSuffixConfig
|
|
12801
|
-
|
|
13220
|
+
trailingUnderscore?: _TsNamingConventionUnderscoreOptions
|
|
12802
13221
|
filter?: (string | _TsNamingConvention_MatchRegexConfig)
|
|
12803
13222
|
selector: "import"
|
|
12804
13223
|
modifiers?: ("default" | "namespace")[]
|
|
@@ -12809,30 +13228,40 @@ interface _TsNamingConvention_MatchRegexConfig {
|
|
|
12809
13228
|
}
|
|
12810
13229
|
// ----- ts/no-base-to-string -----
|
|
12811
13230
|
type TsNoBaseToString = []|[{
|
|
13231
|
+
|
|
12812
13232
|
ignoredTypeNames?: string[]
|
|
12813
13233
|
}]
|
|
12814
13234
|
// ----- ts/no-confusing-void-expression -----
|
|
12815
13235
|
type TsNoConfusingVoidExpression = []|[{
|
|
13236
|
+
|
|
12816
13237
|
ignoreArrowShorthand?: boolean
|
|
13238
|
+
|
|
12817
13239
|
ignoreVoidOperator?: boolean
|
|
12818
13240
|
}]
|
|
12819
13241
|
// ----- ts/no-duplicate-type-constituents -----
|
|
12820
13242
|
type TsNoDuplicateTypeConstituents = []|[{
|
|
13243
|
+
|
|
12821
13244
|
ignoreIntersections?: boolean
|
|
13245
|
+
|
|
12822
13246
|
ignoreUnions?: boolean
|
|
12823
13247
|
}]
|
|
12824
13248
|
// ----- ts/no-empty-function -----
|
|
12825
13249
|
type TsNoEmptyFunction = []|[{
|
|
13250
|
+
|
|
12826
13251
|
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "private-constructors" | "protected-constructors" | "asyncFunctions" | "asyncMethods" | "decoratedFunctions" | "overrideMethods")[]
|
|
12827
13252
|
}]
|
|
12828
13253
|
// ----- ts/no-empty-interface -----
|
|
12829
13254
|
type TsNoEmptyInterface = []|[{
|
|
13255
|
+
|
|
12830
13256
|
allowSingleExtends?: boolean
|
|
12831
13257
|
}]
|
|
12832
13258
|
// ----- ts/no-empty-object-type -----
|
|
12833
13259
|
type TsNoEmptyObjectType = []|[{
|
|
13260
|
+
|
|
12834
13261
|
allowInterfaces?: ("always" | "never" | "with-single-extends")
|
|
13262
|
+
|
|
12835
13263
|
allowObjectTypes?: ("always" | "never")
|
|
13264
|
+
|
|
12836
13265
|
allowWithName?: string
|
|
12837
13266
|
}]
|
|
12838
13267
|
// ----- ts/no-explicit-any -----
|
|
@@ -12855,7 +13284,8 @@ type TsNoExtraneousClass = []|[{
|
|
|
12855
13284
|
}]
|
|
12856
13285
|
// ----- ts/no-floating-promises -----
|
|
12857
13286
|
type TsNoFloatingPromises = []|[{
|
|
12858
|
-
|
|
13287
|
+
|
|
13288
|
+
allowForKnownSafeCalls?: (string | {
|
|
12859
13289
|
from: "file"
|
|
12860
13290
|
name: (string | [string, ...(string)[]])
|
|
12861
13291
|
path?: string
|
|
@@ -12867,7 +13297,8 @@ type TsNoFloatingPromises = []|[{
|
|
|
12867
13297
|
name: (string | [string, ...(string)[]])
|
|
12868
13298
|
package: string
|
|
12869
13299
|
})[]
|
|
12870
|
-
|
|
13300
|
+
|
|
13301
|
+
allowForKnownSafePromises?: (string | {
|
|
12871
13302
|
from: "file"
|
|
12872
13303
|
name: (string | [string, ...(string)[]])
|
|
12873
13304
|
path?: string
|
|
@@ -12882,13 +13313,15 @@ type TsNoFloatingPromises = []|[{
|
|
|
12882
13313
|
|
|
12883
13314
|
checkThenables?: boolean
|
|
12884
13315
|
|
|
12885
|
-
ignoreVoid?: boolean
|
|
12886
|
-
|
|
12887
13316
|
ignoreIIFE?: boolean
|
|
13317
|
+
|
|
13318
|
+
ignoreVoid?: boolean
|
|
12888
13319
|
}]
|
|
12889
13320
|
// ----- ts/no-inferrable-types -----
|
|
12890
13321
|
type TsNoInferrableTypes = []|[{
|
|
13322
|
+
|
|
12891
13323
|
ignoreParameters?: boolean
|
|
13324
|
+
|
|
12892
13325
|
ignoreProperties?: boolean
|
|
12893
13326
|
}]
|
|
12894
13327
|
// ----- ts/no-invalid-this -----
|
|
@@ -12897,8 +13330,10 @@ type TsNoInvalidThis = []|[{
|
|
|
12897
13330
|
}]
|
|
12898
13331
|
// ----- ts/no-invalid-void-type -----
|
|
12899
13332
|
type TsNoInvalidVoidType = []|[{
|
|
12900
|
-
|
|
13333
|
+
|
|
12901
13334
|
allowAsThisParameter?: boolean
|
|
13335
|
+
|
|
13336
|
+
allowInGenericTypeArguments?: (boolean | [string, ...(string)[]])
|
|
12902
13337
|
}]
|
|
12903
13338
|
// ----- ts/no-magic-numbers -----
|
|
12904
13339
|
type TsNoMagicNumbers = []|[{
|
|
@@ -12908,27 +13343,41 @@ type TsNoMagicNumbers = []|[{
|
|
|
12908
13343
|
ignoreArrayIndexes?: boolean
|
|
12909
13344
|
ignoreDefaultValues?: boolean
|
|
12910
13345
|
ignoreClassFieldInitialValues?: boolean
|
|
12911
|
-
|
|
13346
|
+
|
|
12912
13347
|
ignoreEnums?: boolean
|
|
13348
|
+
|
|
13349
|
+
ignoreNumericLiteralTypes?: boolean
|
|
13350
|
+
|
|
12913
13351
|
ignoreReadonlyClassProperties?: boolean
|
|
13352
|
+
|
|
12914
13353
|
ignoreTypeIndexes?: boolean
|
|
12915
13354
|
}]
|
|
12916
13355
|
// ----- ts/no-meaningless-void-operator -----
|
|
12917
13356
|
type TsNoMeaninglessVoidOperator = []|[{
|
|
13357
|
+
|
|
12918
13358
|
checkNever?: boolean
|
|
12919
13359
|
}]
|
|
12920
13360
|
// ----- ts/no-misused-promises -----
|
|
12921
13361
|
type TsNoMisusedPromises = []|[{
|
|
13362
|
+
|
|
12922
13363
|
checksConditionals?: boolean
|
|
13364
|
+
|
|
13365
|
+
checksSpreads?: boolean
|
|
13366
|
+
|
|
12923
13367
|
checksVoidReturn?: (boolean | {
|
|
13368
|
+
|
|
12924
13369
|
arguments?: boolean
|
|
13370
|
+
|
|
12925
13371
|
attributes?: boolean
|
|
13372
|
+
|
|
12926
13373
|
inheritedMethods?: boolean
|
|
13374
|
+
|
|
12927
13375
|
properties?: boolean
|
|
13376
|
+
|
|
12928
13377
|
returns?: boolean
|
|
13378
|
+
|
|
12929
13379
|
variables?: boolean
|
|
12930
13380
|
})
|
|
12931
|
-
checksSpreads?: boolean
|
|
12932
13381
|
}]
|
|
12933
13382
|
// ----- ts/no-namespace -----
|
|
12934
13383
|
type TsNoNamespace = []|[{
|
|
@@ -12939,7 +13388,9 @@ type TsNoNamespace = []|[{
|
|
|
12939
13388
|
}]
|
|
12940
13389
|
// ----- ts/no-redeclare -----
|
|
12941
13390
|
type TsNoRedeclare = []|[{
|
|
13391
|
+
|
|
12942
13392
|
builtinGlobals?: boolean
|
|
13393
|
+
|
|
12943
13394
|
ignoreDeclarationMerge?: boolean
|
|
12944
13395
|
}]
|
|
12945
13396
|
// ----- ts/no-require-imports -----
|
|
@@ -12984,25 +13435,32 @@ type TsNoRestrictedImports = ((string | {
|
|
|
12984
13435
|
}])
|
|
12985
13436
|
// ----- ts/no-restricted-types -----
|
|
12986
13437
|
type TsNoRestrictedTypes = []|[{
|
|
13438
|
+
|
|
12987
13439
|
types?: {
|
|
12988
13440
|
[k: string]: (true | string | {
|
|
12989
13441
|
|
|
12990
|
-
message?: string
|
|
12991
|
-
|
|
12992
13442
|
fixWith?: string
|
|
12993
13443
|
|
|
13444
|
+
message?: string
|
|
13445
|
+
|
|
12994
13446
|
suggest?: string[]
|
|
12995
13447
|
}) | undefined
|
|
12996
13448
|
}
|
|
12997
13449
|
}]
|
|
12998
13450
|
// ----- ts/no-shadow -----
|
|
12999
13451
|
type TsNoShadow = []|[{
|
|
13452
|
+
|
|
13453
|
+
allow?: string[]
|
|
13454
|
+
|
|
13000
13455
|
builtinGlobals?: boolean
|
|
13456
|
+
|
|
13001
13457
|
hoist?: ("all" | "functions" | "never")
|
|
13002
|
-
|
|
13458
|
+
|
|
13459
|
+
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
13460
|
+
|
|
13003
13461
|
ignoreOnInitialization?: boolean
|
|
13462
|
+
|
|
13004
13463
|
ignoreTypeValueShadow?: boolean
|
|
13005
|
-
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
13006
13464
|
}]
|
|
13007
13465
|
// ----- ts/no-this-alias -----
|
|
13008
13466
|
type TsNoThisAlias = []|[{
|
|
@@ -13022,20 +13480,20 @@ type TsNoTypeAlias = []|[{
|
|
|
13022
13480
|
|
|
13023
13481
|
allowConstructors?: ("always" | "never")
|
|
13024
13482
|
|
|
13483
|
+
allowGenerics?: ("always" | "never")
|
|
13484
|
+
|
|
13025
13485
|
allowLiterals?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
13026
13486
|
|
|
13027
13487
|
allowMappedTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
13028
13488
|
|
|
13029
13489
|
allowTupleTypes?: ("always" | "never" | "in-unions" | "in-intersections" | "in-unions-and-intersections")
|
|
13030
|
-
|
|
13031
|
-
allowGenerics?: ("always" | "never")
|
|
13032
13490
|
}]
|
|
13033
13491
|
// ----- ts/no-unnecessary-boolean-literal-compare -----
|
|
13034
13492
|
type TsNoUnnecessaryBooleanLiteralCompare = []|[{
|
|
13035
13493
|
|
|
13036
|
-
allowComparingNullableBooleansToTrue?: boolean
|
|
13037
|
-
|
|
13038
13494
|
allowComparingNullableBooleansToFalse?: boolean
|
|
13495
|
+
|
|
13496
|
+
allowComparingNullableBooleansToTrue?: boolean
|
|
13039
13497
|
}]
|
|
13040
13498
|
// ----- ts/no-unnecessary-condition -----
|
|
13041
13499
|
type TsNoUnnecessaryCondition = []|[{
|
|
@@ -13043,6 +13501,8 @@ type TsNoUnnecessaryCondition = []|[{
|
|
|
13043
13501
|
allowConstantLoopConditions?: boolean
|
|
13044
13502
|
|
|
13045
13503
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
13504
|
+
|
|
13505
|
+
checkTypePredicates?: boolean
|
|
13046
13506
|
}]
|
|
13047
13507
|
// ----- ts/no-unnecessary-type-assertion -----
|
|
13048
13508
|
type TsNoUnnecessaryTypeAssertion = []|[{
|
|
@@ -13058,26 +13518,43 @@ type TsNoUnusedExpressions = []|[{
|
|
|
13058
13518
|
}]
|
|
13059
13519
|
// ----- ts/no-unused-vars -----
|
|
13060
13520
|
type TsNoUnusedVars = []|[(("all" | "local") | {
|
|
13061
|
-
|
|
13062
|
-
varsIgnorePattern?: string
|
|
13521
|
+
|
|
13063
13522
|
args?: ("all" | "after-used" | "none")
|
|
13064
|
-
|
|
13523
|
+
|
|
13065
13524
|
argsIgnorePattern?: string
|
|
13525
|
+
|
|
13066
13526
|
caughtErrors?: ("all" | "none")
|
|
13527
|
+
|
|
13067
13528
|
caughtErrorsIgnorePattern?: string
|
|
13529
|
+
|
|
13068
13530
|
destructuredArrayIgnorePattern?: string
|
|
13531
|
+
|
|
13069
13532
|
ignoreClassWithStaticInitBlock?: boolean
|
|
13533
|
+
|
|
13534
|
+
ignoreRestSiblings?: boolean
|
|
13535
|
+
|
|
13070
13536
|
reportUsedIgnorePattern?: boolean
|
|
13537
|
+
|
|
13538
|
+
vars?: ("all" | "local")
|
|
13539
|
+
|
|
13540
|
+
varsIgnorePattern?: string
|
|
13071
13541
|
})]
|
|
13072
13542
|
// ----- ts/no-use-before-define -----
|
|
13073
13543
|
type TsNoUseBeforeDefine = []|[("nofunc" | {
|
|
13074
|
-
|
|
13544
|
+
|
|
13545
|
+
allowNamedExports?: boolean
|
|
13546
|
+
|
|
13075
13547
|
classes?: boolean
|
|
13548
|
+
|
|
13076
13549
|
enums?: boolean
|
|
13077
|
-
|
|
13078
|
-
|
|
13550
|
+
|
|
13551
|
+
functions?: boolean
|
|
13552
|
+
|
|
13079
13553
|
ignoreTypeReferences?: boolean
|
|
13080
|
-
|
|
13554
|
+
|
|
13555
|
+
typedefs?: boolean
|
|
13556
|
+
|
|
13557
|
+
variables?: boolean
|
|
13081
13558
|
})]
|
|
13082
13559
|
// ----- ts/no-var-requires -----
|
|
13083
13560
|
type TsNoVarRequires = []|[{
|
|
@@ -13086,21 +13563,25 @@ type TsNoVarRequires = []|[{
|
|
|
13086
13563
|
}]
|
|
13087
13564
|
// ----- ts/only-throw-error -----
|
|
13088
13565
|
type TsOnlyThrowError = []|[{
|
|
13566
|
+
|
|
13089
13567
|
allowThrowingAny?: boolean
|
|
13568
|
+
|
|
13090
13569
|
allowThrowingUnknown?: boolean
|
|
13091
13570
|
}]
|
|
13092
13571
|
// ----- ts/parameter-properties -----
|
|
13093
13572
|
type TsParameterProperties = []|[{
|
|
13573
|
+
|
|
13094
13574
|
allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[]
|
|
13575
|
+
|
|
13095
13576
|
prefer?: ("class-property" | "parameter-property")
|
|
13096
13577
|
}]
|
|
13097
13578
|
// ----- ts/prefer-destructuring -----
|
|
13098
13579
|
type TsPreferDestructuring = []|[({
|
|
13099
|
-
|
|
13580
|
+
AssignmentExpression?: {
|
|
13100
13581
|
array?: boolean
|
|
13101
13582
|
object?: boolean
|
|
13102
13583
|
}
|
|
13103
|
-
|
|
13584
|
+
VariableDeclarator?: {
|
|
13104
13585
|
array?: boolean
|
|
13105
13586
|
object?: boolean
|
|
13106
13587
|
}
|
|
@@ -13108,11 +13589,11 @@ type TsPreferDestructuring = []|[({
|
|
|
13108
13589
|
array?: boolean
|
|
13109
13590
|
object?: boolean
|
|
13110
13591
|
})]|[({
|
|
13111
|
-
|
|
13592
|
+
AssignmentExpression?: {
|
|
13112
13593
|
array?: boolean
|
|
13113
13594
|
object?: boolean
|
|
13114
13595
|
}
|
|
13115
|
-
|
|
13596
|
+
VariableDeclarator?: {
|
|
13116
13597
|
array?: boolean
|
|
13117
13598
|
object?: boolean
|
|
13118
13599
|
}
|
|
@@ -13120,57 +13601,72 @@ type TsPreferDestructuring = []|[({
|
|
|
13120
13601
|
array?: boolean
|
|
13121
13602
|
object?: boolean
|
|
13122
13603
|
}), {
|
|
13123
|
-
|
|
13604
|
+
|
|
13124
13605
|
enforceForDeclarationWithTypeAnnotation?: boolean
|
|
13606
|
+
|
|
13607
|
+
enforceForRenamedProperties?: boolean
|
|
13125
13608
|
[k: string]: unknown | undefined
|
|
13126
13609
|
}]
|
|
13127
13610
|
// ----- ts/prefer-literal-enum-member -----
|
|
13128
13611
|
type TsPreferLiteralEnumMember = []|[{
|
|
13612
|
+
|
|
13129
13613
|
allowBitwiseExpressions?: boolean
|
|
13130
13614
|
}]
|
|
13131
13615
|
// ----- ts/prefer-nullish-coalescing -----
|
|
13132
13616
|
type TsPreferNullishCoalescing = []|[{
|
|
13617
|
+
|
|
13133
13618
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
13619
|
+
|
|
13134
13620
|
ignoreConditionalTests?: boolean
|
|
13621
|
+
|
|
13135
13622
|
ignoreMixedLogicalExpressions?: boolean
|
|
13623
|
+
|
|
13136
13624
|
ignorePrimitives?: ({
|
|
13625
|
+
|
|
13137
13626
|
bigint?: boolean
|
|
13627
|
+
|
|
13138
13628
|
boolean?: boolean
|
|
13629
|
+
|
|
13139
13630
|
number?: boolean
|
|
13631
|
+
|
|
13140
13632
|
string?: boolean
|
|
13141
13633
|
[k: string]: unknown | undefined
|
|
13142
13634
|
} | true)
|
|
13635
|
+
|
|
13143
13636
|
ignoreTernaryTests?: boolean
|
|
13144
13637
|
}]
|
|
13145
13638
|
// ----- ts/prefer-optional-chain -----
|
|
13146
13639
|
type TsPreferOptionalChain = []|[{
|
|
13147
13640
|
|
|
13641
|
+
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean
|
|
13642
|
+
|
|
13148
13643
|
checkAny?: boolean
|
|
13149
13644
|
|
|
13150
|
-
|
|
13645
|
+
checkBigInt?: boolean
|
|
13151
13646
|
|
|
13152
|
-
|
|
13647
|
+
checkBoolean?: boolean
|
|
13153
13648
|
|
|
13154
13649
|
checkNumber?: boolean
|
|
13155
13650
|
|
|
13156
|
-
|
|
13651
|
+
checkString?: boolean
|
|
13157
13652
|
|
|
13158
|
-
|
|
13653
|
+
checkUnknown?: boolean
|
|
13159
13654
|
|
|
13160
13655
|
requireNullish?: boolean
|
|
13161
|
-
|
|
13162
|
-
allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing?: boolean
|
|
13163
13656
|
}]
|
|
13164
13657
|
// ----- ts/prefer-promise-reject-errors -----
|
|
13165
13658
|
type TsPreferPromiseRejectErrors = []|[{
|
|
13659
|
+
|
|
13166
13660
|
allowEmptyReject?: boolean
|
|
13167
13661
|
}]
|
|
13168
13662
|
// ----- ts/prefer-readonly -----
|
|
13169
13663
|
type TsPreferReadonly = []|[{
|
|
13664
|
+
|
|
13170
13665
|
onlyInlineLambdas?: boolean
|
|
13171
13666
|
}]
|
|
13172
13667
|
// ----- ts/prefer-readonly-parameter-types -----
|
|
13173
13668
|
type TsPreferReadonlyParameterTypes = []|[{
|
|
13669
|
+
|
|
13174
13670
|
allow?: (string | {
|
|
13175
13671
|
from: "file"
|
|
13176
13672
|
name: (string | [string, ...(string)[]])
|
|
@@ -13183,8 +13679,11 @@ type TsPreferReadonlyParameterTypes = []|[{
|
|
|
13183
13679
|
name: (string | [string, ...(string)[]])
|
|
13184
13680
|
package: string
|
|
13185
13681
|
})[]
|
|
13682
|
+
|
|
13186
13683
|
checkParameterProperties?: boolean
|
|
13684
|
+
|
|
13187
13685
|
ignoreInferredTypes?: boolean
|
|
13686
|
+
|
|
13188
13687
|
treatMethodsAsReadonly?: boolean
|
|
13189
13688
|
}]
|
|
13190
13689
|
// ----- ts/prefer-string-starts-ends-with -----
|
|
@@ -13198,9 +13697,13 @@ type TsPromiseFunctionAsync = []|[{
|
|
|
13198
13697
|
allowAny?: boolean
|
|
13199
13698
|
|
|
13200
13699
|
allowedPromiseNames?: string[]
|
|
13700
|
+
|
|
13201
13701
|
checkArrowFunctions?: boolean
|
|
13702
|
+
|
|
13202
13703
|
checkFunctionDeclarations?: boolean
|
|
13704
|
+
|
|
13203
13705
|
checkFunctionExpressions?: boolean
|
|
13706
|
+
|
|
13204
13707
|
checkMethodDeclarations?: boolean
|
|
13205
13708
|
}]
|
|
13206
13709
|
// ----- ts/require-array-sort-compare -----
|
|
@@ -13239,54 +13742,89 @@ type TsRestrictTemplateExpressions = []|[{
|
|
|
13239
13742
|
allowRegExp?: boolean
|
|
13240
13743
|
|
|
13241
13744
|
allowNever?: boolean
|
|
13745
|
+
|
|
13746
|
+
allow?: (string | {
|
|
13747
|
+
from: "file"
|
|
13748
|
+
name: (string | [string, ...(string)[]])
|
|
13749
|
+
path?: string
|
|
13750
|
+
} | {
|
|
13751
|
+
from: "lib"
|
|
13752
|
+
name: (string | [string, ...(string)[]])
|
|
13753
|
+
} | {
|
|
13754
|
+
from: "package"
|
|
13755
|
+
name: (string | [string, ...(string)[]])
|
|
13756
|
+
package: string
|
|
13757
|
+
})[]
|
|
13242
13758
|
}]
|
|
13243
13759
|
// ----- ts/return-await -----
|
|
13244
|
-
type TsReturnAwait = []|[("
|
|
13760
|
+
type TsReturnAwait = []|[(("always" | "error-handling-correctness-only" | "in-try-catch" | "never") & string)]
|
|
13245
13761
|
// ----- ts/sort-type-constituents -----
|
|
13246
13762
|
type TsSortTypeConstituents = []|[{
|
|
13247
13763
|
|
|
13764
|
+
caseSensitive?: boolean
|
|
13765
|
+
|
|
13248
13766
|
checkIntersections?: boolean
|
|
13249
13767
|
|
|
13250
13768
|
checkUnions?: boolean
|
|
13251
13769
|
|
|
13252
|
-
caseSensitive?: boolean
|
|
13253
|
-
|
|
13254
13770
|
groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
|
|
13255
13771
|
}]
|
|
13256
13772
|
// ----- ts/strict-boolean-expressions -----
|
|
13257
13773
|
type TsStrictBooleanExpressions = []|[{
|
|
13258
|
-
|
|
13259
|
-
|
|
13260
|
-
|
|
13774
|
+
|
|
13775
|
+
allowAny?: boolean
|
|
13776
|
+
|
|
13261
13777
|
allowNullableBoolean?: boolean
|
|
13262
|
-
|
|
13263
|
-
allowNullableNumber?: boolean
|
|
13778
|
+
|
|
13264
13779
|
allowNullableEnum?: boolean
|
|
13265
|
-
|
|
13780
|
+
|
|
13781
|
+
allowNullableNumber?: boolean
|
|
13782
|
+
|
|
13783
|
+
allowNullableObject?: boolean
|
|
13784
|
+
|
|
13785
|
+
allowNullableString?: boolean
|
|
13786
|
+
|
|
13787
|
+
allowNumber?: boolean
|
|
13788
|
+
|
|
13266
13789
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
13790
|
+
|
|
13791
|
+
allowString?: boolean
|
|
13267
13792
|
}]
|
|
13268
13793
|
// ----- ts/switch-exhaustiveness-check -----
|
|
13269
13794
|
type TsSwitchExhaustivenessCheck = []|[{
|
|
13270
13795
|
|
|
13271
13796
|
allowDefaultCaseForExhaustiveSwitch?: boolean
|
|
13272
13797
|
|
|
13798
|
+
considerDefaultExhaustiveForUnions?: boolean
|
|
13799
|
+
|
|
13273
13800
|
requireDefaultForNonUnion?: boolean
|
|
13274
13801
|
}]
|
|
13275
13802
|
// ----- ts/triple-slash-reference -----
|
|
13276
13803
|
type TsTripleSlashReference = []|[{
|
|
13804
|
+
|
|
13277
13805
|
lib?: ("always" | "never")
|
|
13806
|
+
|
|
13278
13807
|
path?: ("always" | "never")
|
|
13808
|
+
|
|
13279
13809
|
types?: ("always" | "never" | "prefer-import")
|
|
13280
13810
|
}]
|
|
13281
13811
|
// ----- ts/typedef -----
|
|
13282
13812
|
type TsTypedef = []|[{
|
|
13813
|
+
|
|
13283
13814
|
arrayDestructuring?: boolean
|
|
13815
|
+
|
|
13284
13816
|
arrowParameter?: boolean
|
|
13817
|
+
|
|
13285
13818
|
memberVariableDeclaration?: boolean
|
|
13819
|
+
|
|
13286
13820
|
objectDestructuring?: boolean
|
|
13821
|
+
|
|
13287
13822
|
parameter?: boolean
|
|
13823
|
+
|
|
13288
13824
|
propertyDeclaration?: boolean
|
|
13825
|
+
|
|
13289
13826
|
variableDeclaration?: boolean
|
|
13827
|
+
|
|
13290
13828
|
variableDeclarationIgnoreFunction?: boolean
|
|
13291
13829
|
}]
|
|
13292
13830
|
// ----- ts/unbound-method -----
|
|
@@ -13506,29 +14044,49 @@ type UnocssEnforceClassCompile = []|[{
|
|
|
13506
14044
|
}]
|
|
13507
14045
|
// ----- unused-imports/no-unused-imports -----
|
|
13508
14046
|
type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
|
|
13509
|
-
|
|
13510
|
-
varsIgnorePattern?: string
|
|
14047
|
+
|
|
13511
14048
|
args?: ("all" | "after-used" | "none")
|
|
13512
|
-
|
|
14049
|
+
|
|
13513
14050
|
argsIgnorePattern?: string
|
|
14051
|
+
|
|
13514
14052
|
caughtErrors?: ("all" | "none")
|
|
14053
|
+
|
|
13515
14054
|
caughtErrorsIgnorePattern?: string
|
|
14055
|
+
|
|
13516
14056
|
destructuredArrayIgnorePattern?: string
|
|
14057
|
+
|
|
13517
14058
|
ignoreClassWithStaticInitBlock?: boolean
|
|
14059
|
+
|
|
14060
|
+
ignoreRestSiblings?: boolean
|
|
14061
|
+
|
|
13518
14062
|
reportUsedIgnorePattern?: boolean
|
|
14063
|
+
|
|
14064
|
+
vars?: ("all" | "local")
|
|
14065
|
+
|
|
14066
|
+
varsIgnorePattern?: string
|
|
13519
14067
|
})]
|
|
13520
14068
|
// ----- unused-imports/no-unused-vars -----
|
|
13521
14069
|
type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
13522
|
-
|
|
13523
|
-
varsIgnorePattern?: string
|
|
14070
|
+
|
|
13524
14071
|
args?: ("all" | "after-used" | "none")
|
|
13525
|
-
|
|
14072
|
+
|
|
13526
14073
|
argsIgnorePattern?: string
|
|
14074
|
+
|
|
13527
14075
|
caughtErrors?: ("all" | "none")
|
|
14076
|
+
|
|
13528
14077
|
caughtErrorsIgnorePattern?: string
|
|
14078
|
+
|
|
13529
14079
|
destructuredArrayIgnorePattern?: string
|
|
14080
|
+
|
|
13530
14081
|
ignoreClassWithStaticInitBlock?: boolean
|
|
14082
|
+
|
|
14083
|
+
ignoreRestSiblings?: boolean
|
|
14084
|
+
|
|
13531
14085
|
reportUsedIgnorePattern?: boolean
|
|
14086
|
+
|
|
14087
|
+
vars?: ("all" | "local")
|
|
14088
|
+
|
|
14089
|
+
varsIgnorePattern?: string
|
|
13532
14090
|
})]
|
|
13533
14091
|
// ----- use-isnan -----
|
|
13534
14092
|
type UseIsnan = []|[{
|
|
@@ -13671,7 +14229,7 @@ type VueCustomEventNameCasing = ([]|[("kebab-case" | "camelCase")]|[("kebab-case
|
|
|
13671
14229
|
type VueDefineEmitsDeclaration = []|[("type-based" | "type-literal" | "runtime")]
|
|
13672
14230
|
// ----- vue/define-macros-order -----
|
|
13673
14231
|
type VueDefineMacrosOrder = []|[{
|
|
13674
|
-
order?:
|
|
14232
|
+
order?: string[]
|
|
13675
14233
|
defineExposeLast?: boolean
|
|
13676
14234
|
}]
|
|
13677
14235
|
// ----- vue/define-props-declaration -----
|
|
@@ -14017,6 +14575,10 @@ type VueKeywordSpacing = []|[{
|
|
|
14017
14575
|
before?: boolean
|
|
14018
14576
|
after?: boolean
|
|
14019
14577
|
}
|
|
14578
|
+
satisfies?: {
|
|
14579
|
+
before?: boolean
|
|
14580
|
+
after?: boolean
|
|
14581
|
+
}
|
|
14020
14582
|
set?: {
|
|
14021
14583
|
before?: boolean
|
|
14022
14584
|
after?: boolean
|
|
@@ -14206,6 +14768,14 @@ type VueMaxLinesPerBlock = []|[{
|
|
|
14206
14768
|
script?: number
|
|
14207
14769
|
skipBlankLines?: boolean
|
|
14208
14770
|
}]
|
|
14771
|
+
// ----- vue/max-props -----
|
|
14772
|
+
type VueMaxProps = []|[{
|
|
14773
|
+
maxProps?: number
|
|
14774
|
+
}]
|
|
14775
|
+
// ----- vue/max-template-depth -----
|
|
14776
|
+
type VueMaxTemplateDepth = []|[{
|
|
14777
|
+
maxDepth?: number
|
|
14778
|
+
}]
|
|
14209
14779
|
// ----- vue/multi-word-component-names -----
|
|
14210
14780
|
type VueMultiWordComponentNames = []|[{
|
|
14211
14781
|
ignores?: string[]
|
|
@@ -14620,6 +15190,10 @@ type VueRequireMacroVariableName = []|[{
|
|
|
14620
15190
|
type VueRequirePropComment = []|[{
|
|
14621
15191
|
type?: ("JSDoc" | "line" | "block" | "any")
|
|
14622
15192
|
}]
|
|
15193
|
+
// ----- vue/require-toggle-inside-transition -----
|
|
15194
|
+
type VueRequireToggleInsideTransition = []|[{
|
|
15195
|
+
additionalDirectives?: string[]
|
|
15196
|
+
}]
|
|
14623
15197
|
// ----- vue/return-in-computed-property -----
|
|
14624
15198
|
type VueReturnInComputedProperty = []|[{
|
|
14625
15199
|
treatUndefinedAsUnspecified?: boolean
|
|
@@ -14833,6 +15407,9 @@ type YamlNoMultipleEmptyLines = []|[{
|
|
|
14833
15407
|
// ----- yaml/plain-scalar -----
|
|
14834
15408
|
type YamlPlainScalar = []|[("always" | "never")]|[("always" | "never"), {
|
|
14835
15409
|
ignorePatterns?: string[]
|
|
15410
|
+
overrides?: {
|
|
15411
|
+
mappingKey?: ("always" | "never" | null)
|
|
15412
|
+
}
|
|
14836
15413
|
}]
|
|
14837
15414
|
// ----- yaml/quotes -----
|
|
14838
15415
|
type YamlQuotes = []|[{
|
|
@@ -14928,7 +15505,126 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
14928
15505
|
onlyEquality?: boolean
|
|
14929
15506
|
}]
|
|
14930
15507
|
// Names of all the configs
|
|
14931
|
-
type ConfigNames = 'kirklin/astro/setup' | 'kirklin/astro/rules' | 'kirklin/eslint-comments/rules' | 'kirklin/formatter/setup' | 'kirklin/imports/rules' | 'kirklin/
|
|
15508
|
+
type ConfigNames = 'kirklin/astro/setup' | 'kirklin/astro/rules' | 'kirklin/eslint-comments/rules' | 'kirklin/formatter/setup' | 'kirklin/imports/rules' | 'kirklin/javascript/setup' | 'kirklin/javascript/rules' | 'kirklin/jsx/setup' | 'kirklin/jsdoc/rules' | 'kirklin/jsonc/setup' | 'kirklin/jsonc/rules' | 'kirklin/markdown/setup' | 'kirklin/markdown/processor' | 'kirklin/markdown/parser' | 'kirklin/markdown/disables' | 'kirklin/node/rules' | 'kirklin/perfectionist/setup' | 'kirklin/react/setup' | 'kirklin/react/rules' | 'kirklin/solid/setup' | 'kirklin/solid/rules' | 'kirklin/sort/package-json' | 'kirklin/stylistic/rules' | 'kirklin/svelte/setup' | 'kirklin/svelte/rules' | 'kirklin/test/setup' | 'kirklin/test/rules' | 'kirklin/toml/setup' | 'kirklin/toml/rules' | 'kirklin/regexp/rules' | 'kirklin/typescript/setup' | 'kirklin/typescript/parser' | 'kirklin/typescript/rules' | 'kirklin/unicorn/rules' | 'kirklin/unocss' | 'kirklin/vue/setup' | 'kirklin/vue/rules' | 'kirklin/yaml/setup' | 'kirklin/yaml/rules'
|
|
15509
|
+
|
|
15510
|
+
/**
|
|
15511
|
+
* Vendor types from Prettier so we don't rely on the dependency.
|
|
15512
|
+
*/
|
|
15513
|
+
type VendoredPrettierOptions = Partial<VendoredPrettierOptionsRequired>;
|
|
15514
|
+
interface VendoredPrettierOptionsRequired {
|
|
15515
|
+
/**
|
|
15516
|
+
* Specify the line length that the printer will wrap on.
|
|
15517
|
+
* @default 120
|
|
15518
|
+
*/
|
|
15519
|
+
printWidth: number;
|
|
15520
|
+
/**
|
|
15521
|
+
* Specify the number of spaces per indentation-level.
|
|
15522
|
+
*/
|
|
15523
|
+
tabWidth: number;
|
|
15524
|
+
/**
|
|
15525
|
+
* Indent lines with tabs instead of spaces
|
|
15526
|
+
*/
|
|
15527
|
+
useTabs?: boolean;
|
|
15528
|
+
/**
|
|
15529
|
+
* Print semicolons at the ends of statements.
|
|
15530
|
+
*/
|
|
15531
|
+
semi: boolean;
|
|
15532
|
+
/**
|
|
15533
|
+
* Use single quotes instead of double quotes.
|
|
15534
|
+
*/
|
|
15535
|
+
singleQuote: boolean;
|
|
15536
|
+
/**
|
|
15537
|
+
* Use single quotes in JSX.
|
|
15538
|
+
*/
|
|
15539
|
+
jsxSingleQuote: boolean;
|
|
15540
|
+
/**
|
|
15541
|
+
* Print trailing commas wherever possible.
|
|
15542
|
+
*/
|
|
15543
|
+
trailingComma: "none" | "es5" | "all";
|
|
15544
|
+
/**
|
|
15545
|
+
* Print spaces between brackets in object literals.
|
|
15546
|
+
*/
|
|
15547
|
+
bracketSpacing: boolean;
|
|
15548
|
+
/**
|
|
15549
|
+
* Put the `>` of a multi-line HTML (HTML, XML, JSX, Vue, Angular) element at the end of the last line instead of being
|
|
15550
|
+
* alone on the next line (does not apply to self closing elements).
|
|
15551
|
+
*/
|
|
15552
|
+
bracketSameLine: boolean;
|
|
15553
|
+
/**
|
|
15554
|
+
* Put the `>` of a multi-line JSX element at the end of the last line instead of being alone on the next line.
|
|
15555
|
+
* @deprecated use bracketSameLine instead
|
|
15556
|
+
*/
|
|
15557
|
+
jsxBracketSameLine: boolean;
|
|
15558
|
+
/**
|
|
15559
|
+
* Format only a segment of a file.
|
|
15560
|
+
*/
|
|
15561
|
+
rangeStart: number;
|
|
15562
|
+
/**
|
|
15563
|
+
* Format only a segment of a file.
|
|
15564
|
+
* @default Number.POSITIVE_INFINITY
|
|
15565
|
+
*/
|
|
15566
|
+
rangeEnd: number;
|
|
15567
|
+
/**
|
|
15568
|
+
* By default, Prettier will wrap markdown text as-is since some services use a linebreak-sensitive renderer.
|
|
15569
|
+
* In some cases you may want to rely on editor/viewer soft wrapping instead, so this option allows you to opt out.
|
|
15570
|
+
* @default "preserve"
|
|
15571
|
+
*/
|
|
15572
|
+
proseWrap: "always" | "never" | "preserve";
|
|
15573
|
+
/**
|
|
15574
|
+
* Include parentheses around a sole arrow function parameter.
|
|
15575
|
+
* @default "always"
|
|
15576
|
+
*/
|
|
15577
|
+
arrowParens: "avoid" | "always";
|
|
15578
|
+
/**
|
|
15579
|
+
* Provide ability to support new languages to prettier.
|
|
15580
|
+
*/
|
|
15581
|
+
plugins: Array<string | any>;
|
|
15582
|
+
/**
|
|
15583
|
+
* How to handle whitespaces in HTML.
|
|
15584
|
+
* @default "css"
|
|
15585
|
+
*/
|
|
15586
|
+
htmlWhitespaceSensitivity: "css" | "strict" | "ignore";
|
|
15587
|
+
/**
|
|
15588
|
+
* Which end of line characters to apply.
|
|
15589
|
+
* @default "lf"
|
|
15590
|
+
*/
|
|
15591
|
+
endOfLine: "auto" | "lf" | "crlf" | "cr";
|
|
15592
|
+
/**
|
|
15593
|
+
* Change when properties in objects are quoted.
|
|
15594
|
+
* @default "as-needed"
|
|
15595
|
+
*/
|
|
15596
|
+
quoteProps: "as-needed" | "consistent" | "preserve";
|
|
15597
|
+
/**
|
|
15598
|
+
* Whether or not to indent the code inside <script> and <style> tags in Vue files.
|
|
15599
|
+
* @default false
|
|
15600
|
+
*/
|
|
15601
|
+
vueIndentScriptAndStyle: boolean;
|
|
15602
|
+
/**
|
|
15603
|
+
* Enforce single attribute per line in HTML, XML, Vue and JSX.
|
|
15604
|
+
* @default false
|
|
15605
|
+
*/
|
|
15606
|
+
singleAttributePerLine: boolean;
|
|
15607
|
+
/**
|
|
15608
|
+
* How to handle whitespaces in XML.
|
|
15609
|
+
* @default "preserve"
|
|
15610
|
+
*/
|
|
15611
|
+
xmlQuoteAttributes: "single" | "double" | "preserve";
|
|
15612
|
+
/**
|
|
15613
|
+
* Whether to put a space inside the brackets of self-closing XML elements.
|
|
15614
|
+
* @default true
|
|
15615
|
+
*/
|
|
15616
|
+
xmlSelfClosingSpace: boolean;
|
|
15617
|
+
/**
|
|
15618
|
+
* Whether to sort attributes by key in XML elements.
|
|
15619
|
+
* @default false
|
|
15620
|
+
*/
|
|
15621
|
+
xmlSortAttributesByKey: boolean;
|
|
15622
|
+
/**
|
|
15623
|
+
* How to handle whitespaces in XML.
|
|
15624
|
+
* @default "ignore"
|
|
15625
|
+
*/
|
|
15626
|
+
xmlWhitespaceSensitivity: "ignore" | "strict" | "preserve";
|
|
15627
|
+
}
|
|
14932
15628
|
|
|
14933
15629
|
type Awaitable<T> = T | Promise<T>;
|
|
14934
15630
|
type Rules = RuleOptions;
|
|
@@ -15036,6 +15732,14 @@ interface OptionsComponentExts {
|
|
|
15036
15732
|
*/
|
|
15037
15733
|
componentExts?: string[];
|
|
15038
15734
|
}
|
|
15735
|
+
interface OptionsUnicorn {
|
|
15736
|
+
/**
|
|
15737
|
+
* Include all rules recommended by `eslint-plugin-unicorn`, instead of only ones picked by Anthony.
|
|
15738
|
+
*
|
|
15739
|
+
* @default false
|
|
15740
|
+
*/
|
|
15741
|
+
allRecommended?: boolean;
|
|
15742
|
+
}
|
|
15039
15743
|
interface OptionsTypeScriptParserOptions {
|
|
15040
15744
|
/**
|
|
15041
15745
|
* Additional parser options for TypeScript.
|
|
@@ -15143,6 +15847,12 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
|
15143
15847
|
* @default true
|
|
15144
15848
|
*/
|
|
15145
15849
|
jsx?: boolean;
|
|
15850
|
+
/**
|
|
15851
|
+
* Options for eslint-plugin-unicorn.
|
|
15852
|
+
*
|
|
15853
|
+
* @default true
|
|
15854
|
+
*/
|
|
15855
|
+
unicorn?: boolean | OptionsUnicorn;
|
|
15146
15856
|
/**
|
|
15147
15857
|
* Enable test support.
|
|
15148
15858
|
*
|
|
@@ -15309,7 +16019,7 @@ declare const defaultPluginRenaming: {
|
|
|
15309
16019
|
* @returns {Promise<TypedFlatConfigItem[]>}
|
|
15310
16020
|
* The merged ESLint configurations.
|
|
15311
16021
|
*/
|
|
15312
|
-
declare function kirklin(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.Config[]>[]): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
16022
|
+
declare function kirklin(options?: OptionsConfig & Omit<TypedFlatConfigItem, "files">, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.Config[]>[]): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
15313
16023
|
type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
|
|
15314
16024
|
declare function resolveSubOptions<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): ResolvedOptions<OptionsConfig[K]>;
|
|
15315
16025
|
declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): Partial<Linter.RulesRecord & RuleOptions>;
|
|
@@ -15320,9 +16030,11 @@ declare function command(): Promise<TypedFlatConfigItem[]>;
|
|
|
15320
16030
|
|
|
15321
16031
|
declare function comments(): Promise<TypedFlatConfigItem[]>;
|
|
15322
16032
|
|
|
16033
|
+
declare function disables(): Promise<TypedFlatConfigItem[]>;
|
|
16034
|
+
|
|
15323
16035
|
declare function formatters(options?: OptionsFormatters | true, stylistic?: StylisticConfig): Promise<TypedFlatConfigItem[]>;
|
|
15324
16036
|
|
|
15325
|
-
declare function ignores(): Promise<TypedFlatConfigItem[]>;
|
|
16037
|
+
declare function ignores(userIgnores?: string[]): Promise<TypedFlatConfigItem[]>;
|
|
15326
16038
|
|
|
15327
16039
|
declare function imports(options?: OptionsStylistic): Promise<TypedFlatConfigItem[]>;
|
|
15328
16040
|
|
|
@@ -15330,16 +16042,16 @@ declare function javascript(options?: OptionsIsInEditor & OptionsOverrides): Pro
|
|
|
15330
16042
|
|
|
15331
16043
|
declare function jsdoc(options?: OptionsStylistic): Promise<TypedFlatConfigItem[]>;
|
|
15332
16044
|
|
|
15333
|
-
declare function jsx(): Promise<TypedFlatConfigItem[]>;
|
|
15334
|
-
|
|
15335
16045
|
declare function jsonc(options?: OptionsFiles & OptionsStylistic & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
15336
16046
|
|
|
16047
|
+
declare function jsx(): Promise<TypedFlatConfigItem[]>;
|
|
16048
|
+
|
|
15337
16049
|
declare function markdown(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
15338
16050
|
|
|
15339
16051
|
declare function node(): Promise<TypedFlatConfigItem[]>;
|
|
15340
16052
|
|
|
15341
16053
|
/**
|
|
15342
|
-
*
|
|
16054
|
+
* Perfectionist plugin for props and items sorting.
|
|
15343
16055
|
*
|
|
15344
16056
|
* @see https://github.com/azat-io/eslint-plugin-perfectionist
|
|
15345
16057
|
*/
|
|
@@ -15347,6 +16059,8 @@ declare function perfectionist(): Promise<TypedFlatConfigItem[]>;
|
|
|
15347
16059
|
|
|
15348
16060
|
declare function react(options?: OptionsTypeScriptWithTypes & OptionsOverrides & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
15349
16061
|
|
|
16062
|
+
declare function regexp(options?: OptionsRegExp & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
16063
|
+
|
|
15350
16064
|
declare function solid(options?: OptionsHasTypeScript & OptionsOverrides & OptionsFiles & OptionsTypeScriptWithTypes): Promise<TypedFlatConfigItem[]>;
|
|
15351
16065
|
|
|
15352
16066
|
/**
|
|
@@ -15376,7 +16090,7 @@ declare function toml(options?: OptionsOverrides & OptionsStylistic & OptionsFil
|
|
|
15376
16090
|
|
|
15377
16091
|
declare function typescript(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions & OptionsProjectType): Promise<TypedFlatConfigItem[]>;
|
|
15378
16092
|
|
|
15379
|
-
declare function unicorn(): Promise<TypedFlatConfigItem[]>;
|
|
16093
|
+
declare function unicorn(options?: OptionsUnicorn): Promise<TypedFlatConfigItem[]>;
|
|
15380
16094
|
|
|
15381
16095
|
declare function unocss(options?: OptionsUnoCSS): Promise<TypedFlatConfigItem[]>;
|
|
15382
16096
|
|
|
@@ -15384,8 +16098,6 @@ declare function vue(options?: OptionsVue & OptionsHasTypeScript & OptionsOverri
|
|
|
15384
16098
|
|
|
15385
16099
|
declare function yaml(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
15386
16100
|
|
|
15387
|
-
declare function regexp(options?: OptionsRegExp & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
15388
|
-
|
|
15389
16101
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
15390
16102
|
declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
15391
16103
|
declare const GLOB_JS = "**/*.?([cm])js";
|
|
@@ -15489,4 +16201,4 @@ declare function ensurePackages(packages: (string | undefined)[]): Promise<void>
|
|
|
15489
16201
|
declare function isInEditorEnv(): boolean;
|
|
15490
16202
|
declare function isInGitHooksOrLintStaged(): boolean;
|
|
15491
16203
|
|
|
15492
|
-
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, 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_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnoCSS, type OptionsVue, type ResolvedOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, type StylisticOptions, type TypedFlatConfigItem, astro, combine, command, comments, kirklin as default, defaultPluginRenaming, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, kirklin, markdown, node, parserPlain, perfectionist, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, solid, sortPackageJson, sortTsconfig, stylistic, svelte, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
|
|
16204
|
+
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, 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_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnicorn, type OptionsUnoCSS, type OptionsVue, type ResolvedOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, type StylisticOptions, type TypedFlatConfigItem, astro, combine, command, comments, kirklin as default, defaultPluginRenaming, disables, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, kirklin, markdown, node, parserPlain, perfectionist, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, solid, sortPackageJson, sortTsconfig, stylistic, svelte, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
|