@oxlint/migrate 1.69.0 → 1.71.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.
@@ -1,7 +1,13 @@
1
- //#region node_modules/.pnpm/oxlint@1.69.0_oxlint-tsgolint@0.23.0/node_modules/oxlint/dist/index.d.ts
1
+ /**
2
+ * What to enforce for `/// <reference path="..." />` references.
3
+ */
4
+ /**
5
+ * What to enforce for `/// <reference types="..." />` references.
6
+ */
7
+ //#region node_modules/.pnpm/oxlint@1.71.0_oxlint-tsgolint@0.23.0/node_modules/oxlint/dist/index.d.ts
2
8
  //#region src-js/package/config.generated.d.ts
3
9
  type AllowWarnDeny = ("allow" | "off" | "warn" | "error" | "deny") | number;
4
- type GlobalValue = "readonly" | "writable" | "off";
10
+ type GlobalValue = ("readonly" | "writable" | "off") | undefined;
5
11
  type ExternalPluginEntry = string | {
6
12
  /**
7
13
  * Custom name/alias for the plugin.
@@ -38,14 +44,15 @@ type ExternalPluginEntry = string | {
38
44
  type GlobSet = string[];
39
45
  type LintPluginOptionsSchema = "eslint" | "react" | "unicorn" | "typescript" | "oxc" | "import" | "jsdoc" | "jest" | "vitest" | "jsx-a11y" | "nextjs" | "react-perf" | "promise" | "node" | "vue";
40
46
  type LintPlugins = LintPluginOptionsSchema[];
41
- type Mode2 = "as-needed" | "always" | "never";
42
47
  type RuleNoConfig = AllowWarnDeny | [AllowWarnDeny];
48
+ type Mode2 = "as-needed" | "always" | "never";
43
49
  type AlwaysNever = "always" | "never";
44
- type OptionsJsonDoc = CommentConfigJson | {
50
+ type OptionsJsonEnum = CommentConfigJson | {
45
51
  block?: CommentConfigJson;
46
52
  line?: CommentConfigJson;
47
53
  };
48
54
  type IgnoreClassWithImplements = "all" | "public-fields";
55
+ type ComplexityConfigEnum = number | ComplexityConfig;
49
56
  type Variant = "classic" | "modified";
50
57
  /**
51
58
  * The enforcement type for the curly rule.
@@ -58,18 +65,44 @@ type CurlyType = "all" | "multi" | "multi-line" | "multi-or-nest";
58
65
  type CurlyConsistent = "consistent";
59
66
  type CompareType = "always" | "smart";
60
67
  type NullType = "always" | "never" | "ignore";
61
- type DummyRule = AllowWarnDeny | [AllowWarnDeny, ...unknown[]];
68
+ type FuncNameMatchingMode = "always" | "never";
62
69
  type FuncNamesConfigType = "always" | "as-needed" | "never";
63
70
  type Style = "expression" | "declaration";
64
71
  type NamedExports = "ignore" | "expression" | "declaration";
65
72
  type PairOrder = "anyOrder" | "getBeforeSet" | "setBeforeGet";
66
73
  type Mode = "prefer-top-level" | "prefer-inline";
74
+ /**
75
+ * Extension rule configuration; Copy to avoid extra indirection.
76
+ */
77
+ type ExtensionRule = "always" | "never" | "ignorePackages";
78
+ type ImportExtensionsObject = ImportExtensionsConfig | {
79
+ [k: string]: ExtensionRule;
80
+ };
81
+ /**
82
+ * Action to take for path group overrides.
83
+ *
84
+ * Determines how import extensions are validated for matching bespoke import specifiers.
85
+ */
86
+ type PathGroupAction = "enforce" | "ignore";
67
87
  type AbsoluteFirst = "absolute-first" | "disable-absolute-first";
68
88
  type MaxDependenciesConfigJson = number | MaxDependenciesConfig;
69
89
  type Target = "single" | "any";
70
90
  type TestCaseName = "it" | "test";
71
91
  type JestFnType = "hook" | "describe" | "test" | "expect" | "jest" | "unknown";
92
+ type DummyRule = AllowWarnDeny | [AllowWarnDeny, ...unknown[]];
93
+ type SnapshotHintMode = "always" | "multi";
94
+ type AltTextElements = "img" | "object" | "area" | 'input[type="image"]';
95
+ type AnchorIsValidAspect = "noHref" | "invalidHref" | "preferButton";
96
+ type Assert = "htmlFor" | "nesting" | "both" | "either";
97
+ type DistractingElement = "marquee" | "blink";
98
+ type MaxClassesPerFileConfigEnum = number | MaxClassesPerFileConfig;
99
+ type MaxDepthConfigEnum = number | MaxDepth;
100
+ type MaxLinesConfigEnum = number | MaxLinesConfig;
101
+ type MaxLinesPerFunctionConfigEnum = number | MaxLinesPerFunctionConfig;
102
+ type MaxNestedCallbacksConfigEnum = number | MaxNestedCallbacks;
103
+ type MaxParamsConfigEnum = number | MaxParamsConfig;
72
104
  type CountThis = "always" | "never" | "except-void";
105
+ type MaxStatementsConfigEnum = number | MaxStatementsConfig;
73
106
  type NoCondAssignConfig = "except-parens" | "always";
74
107
  type CheckLoopsConfig = boolean | CheckLoops;
75
108
  type CheckLoops = "all" | "allExceptWhileTrue" | "none";
@@ -94,7 +127,13 @@ type ArgsOption = "after-used" | "all" | "none";
94
127
  type IgnorePatternFor_String = null | string;
95
128
  type CaughtErrorsJson = "all" | "none";
96
129
  type NoUnusedVarsFixMode = "off" | "suggestion" | "fix" | "safe-fix";
130
+ type NoUseBeforeDefineConfigJson = Nofunc | NoUseBeforeDefineConfig;
131
+ type Nofunc = "nofunc";
97
132
  type Location = "start" | "anywhere";
133
+ /**
134
+ * The rule takes a single option - an array of possible callback names - which may include object methods. The default callback names are `callback`, `cb`, `next`.
135
+ */
136
+ type CallbackReturn = string[];
98
137
  /**
99
138
  * The rule takes a single string option: the name of the error parameter.
100
139
  *
@@ -107,9 +146,14 @@ type Location = "start" | "anywhere";
107
146
  * Default: `"err"`.
108
147
  */
109
148
  type HandleCallbackErrConfig = string;
149
+ type NoMixedRequiresConfig = boolean | NoMixedRequiresOptions;
110
150
  type ShorthandType = "always" | "methods" | "properties" | "consistent" | "consistent-as-needed" | "never";
111
151
  type Destructuring = "any" | "all";
152
+ type PreferDestructuringOption = PreferDestructuringTargetOption | PreferDestructuringAssignmentConfig;
153
+ type TerminationMethod = string | string[];
112
154
  type RadixType = "always" | "as-needed";
155
+ type NativeAllowList = AllKeyword | string[];
156
+ type AllKeyword = "all";
113
157
  /**
114
158
  * A forbidden prop, either as a plain prop name string or with options.
115
159
  */
@@ -132,18 +176,34 @@ type ForbidItem2 = string | {
132
176
  message?: string;
133
177
  };
134
178
  type EnforceBooleanAttribute = "always" | "never";
179
+ type JsxCurlyBracePresenceConfig = JsxCurlyBracePresenceMode | JsxCurlyBracePresence;
180
+ type JsxCurlyBracePresenceMode = "always" | "never" | "ignore";
181
+ type JsxFilenameExtensionAllowMode = "always" | "as-needed";
135
182
  type FragmentMode = "syntax" | "element";
136
- type NoDidMountSetStateConfig = "allowed" | "disallow-in-func";
137
- type NoWillUpdateSetStateConfig = "allowed" | "disallow-in-func";
183
+ type EnforceDynamicLinksEnum = "always" | "never";
184
+ type IgnoreEnforceOption = "ignore" | "enforce";
185
+ type AllowedOrDisallowInFunc = "allowed" | "disallow-in-func";
138
186
  type RequireFlag = "u" | "v";
139
187
  type ImportKind = "none" | "all" | "multiple" | "single";
140
188
  /**
141
189
  * Sorting order for keys. Accepts "asc" for ascending or "desc" for descending.
142
190
  */
143
191
  type SortOrder = "desc" | "asc";
192
+ type ArrayOption = "array" | "array-simple" | "generic";
193
+ type ReadonlyArrayOption = "array" | "array-simple" | "generic";
194
+ type DirectiveConfigSchema = boolean | RequireDescription | {
195
+ descriptionFormat?: string;
196
+ };
197
+ type RequireDescription = "allow-with-description";
144
198
  type ClassLiteralPropertyStyleOption = "fields" | "getters";
199
+ type PreferGenericType = "constructor" | "type-annotation";
145
200
  type ConsistentIndexedObjectStyleConfig = "record" | "index-signature";
201
+ type ArrayLiteralTypeAssertions = "allow" | "allow-as-parameter" | "never";
202
+ type AssertionStyle = "as" | "angle-bracket" | "never";
203
+ type ObjectLiteralTypeAssertions = "allow" | "allow-as-parameter" | "never";
146
204
  type ConsistentTypeDefinitionsConfig = "interface" | "type";
205
+ type FixStyle = "separate-type-imports" | "inline-type-imports";
206
+ type Prefer = "type-imports" | "no-type-imports";
147
207
  type AccessibilityLevel = "explicit" | "no-public" | "off";
148
208
  type MethodSignatureStyleConfig = "property" | "method";
149
209
  /**
@@ -183,36 +243,125 @@ type FileFrom = "file";
183
243
  type NameSpecifier = string | string[];
184
244
  type LibFrom = "lib";
185
245
  type PackageFrom = "package";
246
+ type AllowInterfaces = "never" | "always" | "with-single-extends";
247
+ type AllowObjectTypes = "never" | "always";
248
+ type AllowInGenericTypeArguments = boolean | string[];
249
+ type ChecksVoidReturn = boolean | ChecksVoidReturnOptions;
250
+ /**
251
+ * Represents the different ways a ban config can be specified in JSON.
252
+ * Can be:
253
+ * - `true` - ban with default message
254
+ * - A string - ban with custom message
255
+ * - An object with `message` and optional `fixWith` and `suggest`
256
+ */
257
+ type BanConfigValue = (True | string | {
258
+ /**
259
+ * Replacement type for automatic fixing. Applied directly with `--fix`.
260
+ */
261
+ fixWith?: string;
262
+ /**
263
+ * Custom message explaining why the type is banned.
264
+ */
265
+ message?: string;
266
+ /**
267
+ * Suggested replacement types for manual review. Shown as editor suggestions.
268
+ */
269
+ suggest?: string[];
270
+ }) | undefined;
271
+ type True = true;
272
+ /**
273
+ * Represents the different ways `allowConstantLoopConditions` can be specified in JSON.
274
+ * Can be:
275
+ * - `true` or `false`
276
+ * - A string enum (`"never"`, `"always"`, `"only-allowed-literals"`)
277
+ */
278
+ type AllowConstantLoopConditions = boolean | AllowConstantLoopConditionsMode;
279
+ type AllowConstantLoopConditionsMode = "never" | "always" | "only-allowed-literals";
280
+ type Modifier = "private" | "private readonly" | "protected" | "protected readonly" | "public" | "public readonly" | "readonly";
281
+ type Prefer2 = "class-property" | "parameter-property";
282
+ /**
283
+ * Represents the different ways `ignorePrimitives` can be specified in JSON.
284
+ * Can be:
285
+ * - `true` - ignore all primitive types
286
+ * - An object specifying which primitives to ignore
287
+ */
288
+ type IgnorePrimitives = boolean | IgnorePrimitivesOptions;
289
+ type AllowSingleElementEquality = "always" | "never";
186
290
  type ReturnAwaitOption = "in-try-catch" | "always" | "error-handling-correctness-only" | "never";
291
+ type PathOption = "always" | "never";
292
+ type TypesOption = "always" | "never" | "prefer-import";
187
293
  type BomOptionType = "always" | "never";
294
+ type NonZero = "greater-than" | "not-equal";
295
+ type ModuleStylesOverride = (false | {
296
+ /**
297
+ * Whether default imports or whole-module `require()` assignments are allowed for this module.
298
+ *
299
+ * With `{ "styles": { "chalk": { "default": true } } }`, this is valid:
300
+ * ```js
301
+ * import chalk from "chalk";
302
+ * ```
303
+ */
304
+ default?: boolean;
305
+ /**
306
+ * Whether named imports or destructured `require()` calls are allowed for this module.
307
+ *
308
+ * With `{ "styles": { "node:util": { "named": true } } }`, this is valid:
309
+ * ```js
310
+ * import {promisify} from "node:util";
311
+ * ```
312
+ */
313
+ named?: boolean;
314
+ /**
315
+ * Whether namespace imports or whole-module `require()` assignments are allowed for this module.
316
+ *
317
+ * With `{ "styles": { "node:fs": { "namespace": true } } }`, this is valid:
318
+ * ```js
319
+ * import * as fs from "node:fs";
320
+ * ```
321
+ */
322
+ namespace?: boolean;
323
+ /**
324
+ * Whether side-effect imports or unassigned dynamic imports/requires are allowed for this module.
325
+ *
326
+ * With `{ "styles": { "polyfill": { "unassigned": true } } }`, this is valid:
327
+ * ```js
328
+ * import "polyfill";
329
+ * ```
330
+ */
331
+ unassigned?: boolean;
332
+ }) | undefined;
333
+ type NoInstanceofBuiltinsStrategy = "strict" | "loose";
188
334
  type PreferTernaryOption = "always" | "only-single-line";
189
335
  type RelativeUrlStyleConfig = "never" | "always";
190
336
  type SwitchCaseBracesConfig = "always" | "avoid";
337
+ type MemberNames = "for" | "each";
338
+ type VitestFnName = "vi" | "vitest";
191
339
  type CaseType = "PascalCase" | "kebab-case";
192
340
  type DeclarationStyle = "type-based" | "type-literal" | "runtime";
193
341
  type DeclarationStyle2 = "type-based" | "runtime";
342
+ type Destructure = "only-when-assigned" | "always" | "never";
194
343
  type NextTickOption = "promise" | "callback";
195
344
  type CaseType2 = "camelCase" | "snake_case";
196
345
  type AllowYoda = "never" | "always";
197
346
  type OxlintOverrides = OxlintOverride[];
198
347
  type JestVersionSchema = number | string;
199
- type TagNamePreference = string | {
348
+ type TagNamePreference = (string | {
200
349
  message: string;
201
350
  replacement: string;
202
- [k: string]: unknown;
351
+ [k: string]: unknown | undefined;
203
352
  } | {
204
353
  message: string;
205
- [k: string]: unknown;
206
- } | boolean;
354
+ [k: string]: unknown | undefined;
355
+ } | boolean) | undefined;
207
356
  type OneOrManyFor_String = string | string[];
208
357
  type CustomComponent = string | {
209
358
  attribute: string;
210
359
  name: string;
211
- [k: string]: unknown;
360
+ [k: string]: unknown | undefined;
212
361
  } | {
213
362
  attributes: string[];
214
363
  name: string;
215
- [k: string]: unknown;
364
+ [k: string]: unknown | undefined;
216
365
  };
217
366
  /**
218
367
  * Oxlint Configuration File
@@ -522,7 +671,7 @@ interface RuleCategories {
522
671
  * - worker - Web Workers globals.
523
672
  */
524
673
  interface OxlintEnv {
525
- [k: string]: boolean;
674
+ [k: string]: boolean | undefined;
526
675
  }
527
676
  /**
528
677
  * Add or remove global variables.
@@ -550,7 +699,7 @@ interface OxlintEnv {
550
699
  * `"writeable"` or `true` to represent `"writable"`.
551
700
  */
552
701
  interface OxlintGlobals {
553
- [k: string]: GlobalValue;
702
+ [k: string]: GlobalValue | undefined;
554
703
  }
555
704
  /**
556
705
  * Options for the linter.
@@ -647,86 +796,86 @@ interface OxlintOverride {
647
796
  * See [Oxlint Rules](https://oxc.rs/docs/guide/usage/linter/rules.html)
648
797
  */
649
798
  interface DummyRuleMap {
650
- "accessor-pairs"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, AccessorPairsConfig];
651
- "array-callback-return"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ArrayCallbackReturn];
652
- "arrow-body-style"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, Mode2] | [AllowWarnDeny, Mode2, ArrowBodyStyleConfig];
799
+ "accessor-pairs"?: RuleNoConfig | [AllowWarnDeny, AccessorPairsConfig];
800
+ "array-callback-return"?: RuleNoConfig | [AllowWarnDeny, ArrayCallbackReturn];
801
+ "arrow-body-style"?: RuleNoConfig | [AllowWarnDeny, Mode2] | [AllowWarnDeny, Mode2, ArrowBodyStyleConfig];
653
802
  "block-scoped-var"?: RuleNoConfig;
654
- "capitalized-comments"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, AlwaysNever] | [AllowWarnDeny, AlwaysNever, OptionsJsonDoc];
655
- "class-methods-use-this"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ClassMethodsUseThisConfig];
656
- complexity?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, number | ComplexityConfig];
803
+ "capitalized-comments"?: RuleNoConfig | [AllowWarnDeny, AlwaysNever] | [AllowWarnDeny, AlwaysNever, OptionsJsonEnum];
804
+ "class-methods-use-this"?: RuleNoConfig | [AllowWarnDeny, ClassMethodsUseThisConfig];
805
+ complexity?: RuleNoConfig | [AllowWarnDeny, ComplexityConfigEnum];
657
806
  "constructor-super"?: RuleNoConfig;
658
- curly?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, CurlyType] | [AllowWarnDeny, CurlyType, CurlyConsistent];
659
- "default-case"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, DefaultCaseConfig];
807
+ curly?: RuleNoConfig | [AllowWarnDeny, CurlyType] | [AllowWarnDeny, CurlyType, CurlyConsistent];
808
+ "default-case"?: RuleNoConfig | [AllowWarnDeny, DefaultCaseConfig];
660
809
  "default-case-last"?: RuleNoConfig;
661
810
  "default-param-last"?: RuleNoConfig;
662
- eqeqeq?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, CompareType] | [AllowWarnDeny, CompareType, EqeqeqOptions];
811
+ eqeqeq?: RuleNoConfig | [AllowWarnDeny, CompareType] | [AllowWarnDeny, CompareType, EqeqeqOptions];
663
812
  "for-direction"?: RuleNoConfig;
664
- "func-name-matching"?: DummyRule;
665
- "func-names"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, FuncNamesConfigType] | [AllowWarnDeny, FuncNamesConfigType, FuncNamesGeneratorsConfig];
666
- "func-style"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, Style] | [AllowWarnDeny, Style, FuncStyleConfig];
667
- "getter-return"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, GetterReturn];
668
- "grouped-accessor-pairs"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, PairOrder] | [AllowWarnDeny, PairOrder, GroupedAccessorPairsConfig];
813
+ "func-name-matching"?: RuleNoConfig | ([AllowWarnDeny, FuncNameMatchingMode] | [AllowWarnDeny, FuncNameMatchingMode, FuncNameMatchingConfig] | [AllowWarnDeny, FuncNameMatchingMode] | [AllowWarnDeny, FuncNameMatchingConfig]);
814
+ "func-names"?: RuleNoConfig | [AllowWarnDeny, FuncNamesConfigType] | [AllowWarnDeny, FuncNamesConfigType, FuncNamesGeneratorsConfig];
815
+ "func-style"?: RuleNoConfig | [AllowWarnDeny, Style] | [AllowWarnDeny, Style, FuncStyleConfig];
816
+ "getter-return"?: RuleNoConfig | [AllowWarnDeny, GetterReturn];
817
+ "grouped-accessor-pairs"?: RuleNoConfig | [AllowWarnDeny, PairOrder] | [AllowWarnDeny, PairOrder, GroupedAccessorPairsConfig];
669
818
  "guard-for-in"?: RuleNoConfig;
670
- "id-length"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, IdLengthConfig];
671
- "id-match"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, string] | [AllowWarnDeny, string, IdMatchOptions];
672
- "import/consistent-type-specifier-style"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, Mode];
819
+ "id-length"?: RuleNoConfig | [AllowWarnDeny, IdLengthConfig];
820
+ "id-match"?: RuleNoConfig | [AllowWarnDeny, string] | [AllowWarnDeny, string, IdMatchOptions];
821
+ "import/consistent-type-specifier-style"?: RuleNoConfig | [AllowWarnDeny, Mode];
673
822
  "import/default"?: RuleNoConfig;
674
823
  "import/export"?: RuleNoConfig;
675
824
  "import/exports-last"?: RuleNoConfig;
676
- "import/extensions"?: DummyRule;
677
- "import/first"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, AbsoluteFirst];
825
+ "import/extensions"?: RuleNoConfig | ([AllowWarnDeny, ExtensionRule] | [AllowWarnDeny, ExtensionRule, ImportExtensionsObject] | [AllowWarnDeny, ExtensionRule] | [AllowWarnDeny, ImportExtensionsObject]);
826
+ "import/first"?: RuleNoConfig | [AllowWarnDeny, AbsoluteFirst];
678
827
  "import/group-exports"?: RuleNoConfig;
679
- "import/max-dependencies"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, MaxDependenciesConfigJson];
828
+ "import/max-dependencies"?: RuleNoConfig | [AllowWarnDeny, MaxDependenciesConfigJson];
680
829
  "import/named"?: RuleNoConfig;
681
- "import/namespace"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, Namespace];
682
- "import/newline-after-import"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NewlineAfterImport];
683
- "import/no-absolute-path"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoAbsolutePath];
830
+ "import/namespace"?: RuleNoConfig | [AllowWarnDeny, Namespace];
831
+ "import/newline-after-import"?: RuleNoConfig | [AllowWarnDeny, NewlineAfterImport];
832
+ "import/no-absolute-path"?: RuleNoConfig | [AllowWarnDeny, NoAbsolutePath];
684
833
  "import/no-amd"?: RuleNoConfig;
685
- "import/no-anonymous-default-export"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoAnonymousDefaultExport];
686
- "import/no-commonjs"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoCommonjs];
687
- "import/no-cycle"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoCycle];
834
+ "import/no-anonymous-default-export"?: RuleNoConfig | [AllowWarnDeny, NoAnonymousDefaultExport];
835
+ "import/no-commonjs"?: RuleNoConfig | [AllowWarnDeny, NoCommonjs];
836
+ "import/no-cycle"?: RuleNoConfig | [AllowWarnDeny, NoCycle];
688
837
  "import/no-default-export"?: RuleNoConfig;
689
- "import/no-duplicates"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoDuplicates];
690
- "import/no-dynamic-require"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoDynamicRequire];
838
+ "import/no-duplicates"?: RuleNoConfig | [AllowWarnDeny, NoDuplicates];
839
+ "import/no-dynamic-require"?: RuleNoConfig | [AllowWarnDeny, NoDynamicRequire];
691
840
  "import/no-empty-named-blocks"?: RuleNoConfig;
692
841
  "import/no-mutable-exports"?: RuleNoConfig;
693
842
  "import/no-named-as-default"?: RuleNoConfig;
694
843
  "import/no-named-as-default-member"?: RuleNoConfig;
695
844
  "import/no-named-default"?: RuleNoConfig;
696
845
  "import/no-named-export"?: RuleNoConfig;
697
- "import/no-namespace"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoNamespaceConfig];
698
- "import/no-nodejs-modules"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoNodejsModulesConfig];
846
+ "import/no-namespace"?: RuleNoConfig | [AllowWarnDeny, NoNamespaceConfig];
847
+ "import/no-nodejs-modules"?: RuleNoConfig | [AllowWarnDeny, NoNodejsModulesConfig];
699
848
  "import/no-relative-parent-imports"?: RuleNoConfig;
700
849
  "import/no-self-import"?: RuleNoConfig;
701
- "import/no-unassigned-import"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoUnassignedImportConfig];
850
+ "import/no-unassigned-import"?: RuleNoConfig | [AllowWarnDeny, NoUnassignedImportConfig];
702
851
  "import/no-webpack-loader-syntax"?: RuleNoConfig;
703
- "import/prefer-default-export"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, PreferDefaultExport];
852
+ "import/prefer-default-export"?: RuleNoConfig | [AllowWarnDeny, PreferDefaultExport];
704
853
  "import/unambiguous"?: RuleNoConfig;
705
- "init-declarations"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, AlwaysNever] | [AllowWarnDeny, AlwaysNever, InitDeclarationsConfig];
706
- "jest/consistent-test-it"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ConsistentTestItConfig];
707
- "jest/expect-expect"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ExpectExpectConfig];
708
- "jest/max-expects"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, MaxExpectsConfig];
709
- "jest/max-nested-describe"?: DummyRule;
854
+ "init-declarations"?: RuleNoConfig | [AllowWarnDeny, AlwaysNever] | [AllowWarnDeny, AlwaysNever, InitDeclarationsConfig];
855
+ "jest/consistent-test-it"?: RuleNoConfig | [AllowWarnDeny, ConsistentTestItConfig];
856
+ "jest/expect-expect"?: RuleNoConfig | [AllowWarnDeny, ExpectExpectConfig];
857
+ "jest/max-expects"?: RuleNoConfig | [AllowWarnDeny, MaxExpectsConfig];
858
+ "jest/max-nested-describe"?: RuleNoConfig | [AllowWarnDeny, MaxNestedDescribeConfig];
710
859
  "jest/no-alias-methods"?: RuleNoConfig;
711
860
  "jest/no-commented-out-tests"?: RuleNoConfig;
712
861
  "jest/no-conditional-expect"?: RuleNoConfig;
713
862
  "jest/no-conditional-in-test"?: RuleNoConfig;
714
863
  "jest/no-confusing-set-timeout"?: RuleNoConfig;
715
- "jest/no-deprecated-functions"?: DummyRule;
864
+ "jest/no-deprecated-functions"?: RuleNoConfig | [AllowWarnDeny, NoDeprecatedFunctionsConfig];
716
865
  "jest/no-disabled-tests"?: RuleNoConfig;
717
866
  "jest/no-done-callback"?: RuleNoConfig;
718
867
  "jest/no-duplicate-hooks"?: RuleNoConfig;
719
868
  "jest/no-export"?: RuleNoConfig;
720
869
  "jest/no-focused-tests"?: RuleNoConfig;
721
- "jest/no-hooks"?: DummyRule;
870
+ "jest/no-hooks"?: RuleNoConfig | [AllowWarnDeny, NoHooksConfig];
722
871
  "jest/no-identical-title"?: RuleNoConfig;
723
872
  "jest/no-interpolation-in-snapshots"?: RuleNoConfig;
724
873
  "jest/no-jasmine-globals"?: RuleNoConfig;
725
- "jest/no-large-snapshots"?: DummyRule;
874
+ "jest/no-large-snapshots"?: RuleNoConfig | [AllowWarnDeny, NoLargeSnapshotsConfig];
726
875
  "jest/no-mocks-import"?: RuleNoConfig;
727
- "jest/no-restricted-jest-methods"?: DummyRule;
728
- "jest/no-restricted-matchers"?: DummyRule;
729
- "jest/no-standalone-expect"?: DummyRule;
876
+ "jest/no-restricted-jest-methods"?: RuleNoConfig | [AllowWarnDeny, NoRestrictedTestMethodsConfig];
877
+ "jest/no-restricted-matchers"?: RuleNoConfig | [AllowWarnDeny, NoRestrictedMatchersConfig];
878
+ "jest/no-standalone-expect"?: RuleNoConfig | [AllowWarnDeny, NoStandaloneExpectConfig];
730
879
  "jest/no-test-prefixes"?: RuleNoConfig;
731
880
  "jest/no-test-return-statement"?: RuleNoConfig;
732
881
  "jest/no-unneeded-async-expect-function"?: RuleNoConfig;
@@ -736,18 +885,18 @@ interface DummyRuleMap {
736
885
  "jest/prefer-called-with"?: RuleNoConfig;
737
886
  "jest/prefer-comparison-matcher"?: RuleNoConfig;
738
887
  "jest/prefer-each"?: RuleNoConfig;
739
- "jest/prefer-ending-with-an-expect"?: DummyRule;
888
+ "jest/prefer-ending-with-an-expect"?: RuleNoConfig | [AllowWarnDeny, PreferEndingWithAnExpectConfig];
740
889
  "jest/prefer-equality-matcher"?: RuleNoConfig;
741
- "jest/prefer-expect-assertions"?: DummyRule;
890
+ "jest/prefer-expect-assertions"?: RuleNoConfig | [AllowWarnDeny, PreferExpectAssertionsConfig];
742
891
  "jest/prefer-expect-resolves"?: RuleNoConfig;
743
892
  "jest/prefer-hooks-in-order"?: RuleNoConfig;
744
893
  "jest/prefer-hooks-on-top"?: RuleNoConfig;
745
- "jest/prefer-importing-jest-globals"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, PreferImportingJestGlobalsConfig];
894
+ "jest/prefer-importing-jest-globals"?: RuleNoConfig | [AllowWarnDeny, PreferImportingJestGlobalsConfig];
746
895
  "jest/prefer-jest-mocked"?: RuleNoConfig;
747
896
  "jest/prefer-lowercase-title"?: DummyRule;
748
897
  "jest/prefer-mock-promise-shorthand"?: RuleNoConfig;
749
898
  "jest/prefer-mock-return-shorthand"?: RuleNoConfig;
750
- "jest/prefer-snapshot-hint"?: DummyRule;
899
+ "jest/prefer-snapshot-hint"?: RuleNoConfig | [AllowWarnDeny, SnapshotHintMode];
751
900
  "jest/prefer-spy-on"?: RuleNoConfig;
752
901
  "jest/prefer-strict-equal"?: RuleNoConfig;
753
902
  "jest/prefer-to-be"?: RuleNoConfig;
@@ -756,80 +905,80 @@ interface DummyRuleMap {
756
905
  "jest/prefer-to-have-been-called-times"?: RuleNoConfig;
757
906
  "jest/prefer-to-have-length"?: RuleNoConfig;
758
907
  "jest/prefer-todo"?: RuleNoConfig;
759
- "jest/require-hook"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, RequireHookConfig];
908
+ "jest/require-hook"?: RuleNoConfig | [AllowWarnDeny, RequireHookConfig];
760
909
  "jest/require-to-throw-message"?: RuleNoConfig;
761
- "jest/require-top-level-describe"?: DummyRule;
910
+ "jest/require-top-level-describe"?: RuleNoConfig | [AllowWarnDeny, RequireTopLevelDescribeConfig];
762
911
  "jest/valid-describe-callback"?: RuleNoConfig;
763
- "jest/valid-expect"?: DummyRule;
912
+ "jest/valid-expect"?: RuleNoConfig | [AllowWarnDeny, ValidExpectConfig];
764
913
  "jest/valid-expect-in-promise"?: RuleNoConfig;
765
914
  "jest/valid-title"?: DummyRule;
766
915
  "jsdoc/check-access"?: RuleNoConfig;
767
916
  "jsdoc/check-property-names"?: RuleNoConfig;
768
- "jsdoc/check-tag-names"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, CheckTagNamesConfig];
769
- "jsdoc/empty-tags"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, EmptyTagsConfig];
917
+ "jsdoc/check-tag-names"?: RuleNoConfig | [AllowWarnDeny, CheckTagNamesConfig];
918
+ "jsdoc/empty-tags"?: RuleNoConfig | [AllowWarnDeny, EmptyTagsConfig];
770
919
  "jsdoc/implements-on-classes"?: RuleNoConfig;
771
- "jsdoc/no-defaults"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoDefaultsConfig];
920
+ "jsdoc/no-defaults"?: RuleNoConfig | [AllowWarnDeny, NoDefaultsConfig];
772
921
  "jsdoc/require-param"?: DummyRule;
773
- "jsdoc/require-param-description"?: RuleNoConfig;
922
+ "jsdoc/require-param-description"?: RuleNoConfig | [AllowWarnDeny, RequireParamDescriptionConfig];
774
923
  "jsdoc/require-param-name"?: RuleNoConfig;
775
- "jsdoc/require-param-type"?: RuleNoConfig;
924
+ "jsdoc/require-param-type"?: RuleNoConfig | [AllowWarnDeny, RequireParamTypeConfig];
776
925
  "jsdoc/require-property"?: RuleNoConfig;
777
926
  "jsdoc/require-property-description"?: RuleNoConfig;
778
927
  "jsdoc/require-property-name"?: RuleNoConfig;
779
928
  "jsdoc/require-property-type"?: RuleNoConfig;
780
- "jsdoc/require-returns"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, RequireReturnsConfig];
929
+ "jsdoc/require-returns"?: RuleNoConfig | [AllowWarnDeny, RequireReturnsConfig];
781
930
  "jsdoc/require-returns-description"?: RuleNoConfig;
782
931
  "jsdoc/require-returns-type"?: RuleNoConfig;
783
932
  "jsdoc/require-throws-description"?: RuleNoConfig;
784
933
  "jsdoc/require-throws-type"?: RuleNoConfig;
785
- "jsdoc/require-yields"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, RequireYieldsConfig];
934
+ "jsdoc/require-yields"?: RuleNoConfig | [AllowWarnDeny, RequireYieldsConfig];
786
935
  "jsdoc/require-yields-description"?: RuleNoConfig;
787
936
  "jsdoc/require-yields-type"?: RuleNoConfig;
788
- "jsx-a11y/alt-text"?: DummyRule;
789
- "jsx-a11y/anchor-ambiguous-text"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, AnchorAmbiguousTextConfig];
937
+ "jsx-a11y/alt-text"?: RuleNoConfig | [AllowWarnDeny, AltTextConfigSchema];
938
+ "jsx-a11y/anchor-ambiguous-text"?: RuleNoConfig | [AllowWarnDeny, AnchorAmbiguousTextConfig];
790
939
  "jsx-a11y/anchor-has-content"?: RuleNoConfig;
791
- "jsx-a11y/anchor-is-valid"?: DummyRule;
940
+ "jsx-a11y/anchor-is-valid"?: RuleNoConfig | [AllowWarnDeny, AnchorIsValidConfig];
792
941
  "jsx-a11y/aria-activedescendant-has-tabindex"?: RuleNoConfig;
793
942
  "jsx-a11y/aria-props"?: RuleNoConfig;
794
943
  "jsx-a11y/aria-proptypes"?: RuleNoConfig;
795
- "jsx-a11y/aria-role"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, AriaRoleConfig];
944
+ "jsx-a11y/aria-role"?: RuleNoConfig | [AllowWarnDeny, AriaRoleConfig];
796
945
  "jsx-a11y/aria-unsupported-elements"?: RuleNoConfig;
797
- "jsx-a11y/autocomplete-valid"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, AutocompleteValidConfig];
946
+ "jsx-a11y/autocomplete-valid"?: RuleNoConfig | [AllowWarnDeny, AutocompleteValidConfig];
798
947
  "jsx-a11y/click-events-have-key-events"?: RuleNoConfig;
799
- "jsx-a11y/control-has-associated-label"?: DummyRule;
800
- "jsx-a11y/heading-has-content"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, HeadingHasContentConfig];
948
+ "jsx-a11y/control-has-associated-label"?: RuleNoConfig | [AllowWarnDeny, ControlHasAssociatedLabelConfig];
949
+ "jsx-a11y/heading-has-content"?: RuleNoConfig | [AllowWarnDeny, HeadingHasContentConfig];
801
950
  "jsx-a11y/html-has-lang"?: RuleNoConfig;
802
951
  "jsx-a11y/iframe-has-title"?: RuleNoConfig;
803
- "jsx-a11y/img-redundant-alt"?: DummyRule;
804
- "jsx-a11y/interactive-supports-focus"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, InteractiveSupportsFocusConfig];
805
- "jsx-a11y/label-has-associated-control"?: DummyRule;
952
+ "jsx-a11y/img-redundant-alt"?: RuleNoConfig | [AllowWarnDeny, ImgRedundantAltConfig];
953
+ "jsx-a11y/interactive-supports-focus"?: RuleNoConfig | [AllowWarnDeny, InteractiveSupportsFocusConfig];
954
+ "jsx-a11y/label-has-associated-control"?: RuleNoConfig | [AllowWarnDeny, LabelHasAssociatedControlConfig];
806
955
  "jsx-a11y/lang"?: RuleNoConfig;
807
- "jsx-a11y/media-has-caption"?: DummyRule;
808
- "jsx-a11y/mouse-events-have-key-events"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, MouseEventsHaveKeyEventsConfig];
956
+ "jsx-a11y/media-has-caption"?: RuleNoConfig | [AllowWarnDeny, MediaHasCaptionConfig];
957
+ "jsx-a11y/mouse-events-have-key-events"?: RuleNoConfig | [AllowWarnDeny, MouseEventsHaveKeyEventsConfig];
809
958
  "jsx-a11y/no-access-key"?: RuleNoConfig;
810
959
  "jsx-a11y/no-aria-hidden-on-focusable"?: RuleNoConfig;
811
- "jsx-a11y/no-autofocus"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoAutofocus];
812
- "jsx-a11y/no-distracting-elements"?: DummyRule;
813
- "jsx-a11y/no-interactive-element-to-noninteractive-role"?: DummyRule;
814
- "jsx-a11y/no-noninteractive-element-interactions"?: DummyRule;
815
- "jsx-a11y/no-noninteractive-element-to-interactive-role"?: DummyRule;
816
- "jsx-a11y/no-noninteractive-tabindex"?: DummyRule;
817
- "jsx-a11y/no-redundant-roles"?: RuleNoConfig;
818
- "jsx-a11y/no-static-element-interactions"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoStaticElementInteractionsConfig];
960
+ "jsx-a11y/no-autofocus"?: RuleNoConfig | [AllowWarnDeny, NoAutofocus];
961
+ "jsx-a11y/no-distracting-elements"?: RuleNoConfig | [AllowWarnDeny, NoDistractingElementsConfig];
962
+ "jsx-a11y/no-interactive-element-to-noninteractive-role"?: RuleNoConfig | [AllowWarnDeny, NoInteractiveElementToNoninteractiveRoleConfig];
963
+ "jsx-a11y/no-noninteractive-element-interactions"?: RuleNoConfig | [AllowWarnDeny, NoNoninteractiveElementInteractionsConfig];
964
+ "jsx-a11y/no-noninteractive-element-to-interactive-role"?: RuleNoConfig | [AllowWarnDeny, NoNoninteractiveElementToInteractiveRoleConfig];
965
+ "jsx-a11y/no-noninteractive-tabindex"?: RuleNoConfig | [AllowWarnDeny, NoNoninteractiveTabindexConfig];
966
+ "jsx-a11y/no-redundant-roles"?: RuleNoConfig | [AllowWarnDeny, NoRedundantRolesConfig];
967
+ "jsx-a11y/no-static-element-interactions"?: RuleNoConfig | [AllowWarnDeny, NoStaticElementInteractionsConfig];
819
968
  "jsx-a11y/prefer-tag-over-role"?: RuleNoConfig;
820
969
  "jsx-a11y/role-has-required-aria-props"?: RuleNoConfig;
821
970
  "jsx-a11y/role-supports-aria-props"?: RuleNoConfig;
822
971
  "jsx-a11y/scope"?: RuleNoConfig;
823
972
  "jsx-a11y/tabindex-no-positive"?: RuleNoConfig;
824
- "logical-assignment-operators"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, AlwaysNever] | [AllowWarnDeny, AlwaysNever, LogicalAssignmentOperatorsConfig];
825
- "max-classes-per-file"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, number | MaxClassesPerFileConfig];
826
- "max-depth"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, number | MaxDepth];
827
- "max-lines"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, number | MaxLinesConfig];
828
- "max-lines-per-function"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, number | MaxLinesPerFunctionConfig];
829
- "max-nested-callbacks"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, number | MaxNestedCallbacks];
830
- "max-params"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, number | MaxParamsConfig];
831
- "max-statements"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, number | MaxStatementsConfig];
832
- "new-cap"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NewCapConfig];
973
+ "logical-assignment-operators"?: RuleNoConfig | [AllowWarnDeny, AlwaysNever] | [AllowWarnDeny, AlwaysNever, LogicalAssignmentOperatorsConfig];
974
+ "max-classes-per-file"?: RuleNoConfig | [AllowWarnDeny, MaxClassesPerFileConfigEnum];
975
+ "max-depth"?: RuleNoConfig | [AllowWarnDeny, MaxDepthConfigEnum];
976
+ "max-lines"?: RuleNoConfig | [AllowWarnDeny, MaxLinesConfigEnum];
977
+ "max-lines-per-function"?: RuleNoConfig | [AllowWarnDeny, MaxLinesPerFunctionConfigEnum];
978
+ "max-nested-callbacks"?: RuleNoConfig | [AllowWarnDeny, MaxNestedCallbacksConfigEnum];
979
+ "max-params"?: RuleNoConfig | [AllowWarnDeny, MaxParamsConfigEnum];
980
+ "max-statements"?: RuleNoConfig | [AllowWarnDeny, MaxStatementsConfigEnum];
981
+ "new-cap"?: RuleNoConfig | [AllowWarnDeny, NewCapConfig];
833
982
  "nextjs/google-font-display"?: RuleNoConfig;
834
983
  "nextjs/google-font-preconnect"?: RuleNoConfig;
835
984
  "nextjs/inline-script-id"?: RuleNoConfig;
@@ -855,16 +1004,16 @@ interface DummyRuleMap {
855
1004
  "no-array-constructor"?: RuleNoConfig;
856
1005
  "no-async-promise-executor"?: RuleNoConfig;
857
1006
  "no-await-in-loop"?: RuleNoConfig;
858
- "no-bitwise"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoBitwiseConfig];
1007
+ "no-bitwise"?: RuleNoConfig | [AllowWarnDeny, NoBitwiseConfig];
859
1008
  "no-caller"?: RuleNoConfig;
860
1009
  "no-case-declarations"?: RuleNoConfig;
861
1010
  "no-class-assign"?: RuleNoConfig;
862
1011
  "no-compare-neg-zero"?: RuleNoConfig;
863
- "no-cond-assign"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoCondAssignConfig];
864
- "no-console"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoConsoleConfig];
1012
+ "no-cond-assign"?: RuleNoConfig | [AllowWarnDeny, NoCondAssignConfig];
1013
+ "no-console"?: RuleNoConfig | [AllowWarnDeny, NoConsoleConfig];
865
1014
  "no-const-assign"?: RuleNoConfig;
866
1015
  "no-constant-binary-expression"?: RuleNoConfig;
867
- "no-constant-condition"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoConstantCondition];
1016
+ "no-constant-condition"?: RuleNoConfig | [AllowWarnDeny, NoConstantCondition];
868
1017
  "no-constructor-return"?: RuleNoConfig;
869
1018
  "no-continue"?: RuleNoConfig;
870
1019
  "no-control-regex"?: RuleNoConfig;
@@ -875,41 +1024,41 @@ interface DummyRuleMap {
875
1024
  "no-dupe-else-if"?: RuleNoConfig;
876
1025
  "no-dupe-keys"?: RuleNoConfig;
877
1026
  "no-duplicate-case"?: RuleNoConfig;
878
- "no-duplicate-imports"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoDuplicateImports];
879
- "no-else-return"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoElseReturn];
880
- "no-empty"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoEmpty];
1027
+ "no-duplicate-imports"?: RuleNoConfig | [AllowWarnDeny, NoDuplicateImports];
1028
+ "no-else-return"?: RuleNoConfig | [AllowWarnDeny, NoElseReturn];
1029
+ "no-empty"?: RuleNoConfig | [AllowWarnDeny, NoEmpty];
881
1030
  "no-empty-character-class"?: RuleNoConfig;
882
- "no-empty-function"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoEmptyFunctionConfig];
883
- "no-empty-pattern"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoEmptyPattern];
1031
+ "no-empty-function"?: RuleNoConfig | [AllowWarnDeny, NoEmptyFunctionConfig];
1032
+ "no-empty-pattern"?: RuleNoConfig | [AllowWarnDeny, NoEmptyPattern];
884
1033
  "no-empty-static-block"?: RuleNoConfig;
885
1034
  "no-eq-null"?: RuleNoConfig;
886
- "no-eval"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoEval];
1035
+ "no-eval"?: RuleNoConfig | [AllowWarnDeny, NoEval];
887
1036
  "no-ex-assign"?: RuleNoConfig;
888
- "no-extend-native"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoExtendNativeConfig];
1037
+ "no-extend-native"?: RuleNoConfig | [AllowWarnDeny, NoExtendNativeConfig];
889
1038
  "no-extra-bind"?: RuleNoConfig;
890
- "no-extra-boolean-cast"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoExtraBooleanCast];
1039
+ "no-extra-boolean-cast"?: RuleNoConfig | [AllowWarnDeny, NoExtraBooleanCast];
891
1040
  "no-extra-label"?: RuleNoConfig;
892
- "no-fallthrough"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoFallthroughConfig];
1041
+ "no-fallthrough"?: RuleNoConfig | [AllowWarnDeny, NoFallthroughConfig];
893
1042
  "no-func-assign"?: RuleNoConfig;
894
- "no-global-assign"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoGlobalAssignConfig];
895
- "no-implicit-coercion"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoImplicitCoercionConfig];
896
- "no-implicit-globals"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoImplicitGlobalsConfig];
1043
+ "no-global-assign"?: RuleNoConfig | [AllowWarnDeny, NoGlobalAssignConfig];
1044
+ "no-implicit-coercion"?: RuleNoConfig | [AllowWarnDeny, NoImplicitCoercionConfig];
1045
+ "no-implicit-globals"?: RuleNoConfig | [AllowWarnDeny, NoImplicitGlobalsConfig];
897
1046
  "no-implied-eval"?: RuleNoConfig;
898
1047
  "no-import-assign"?: RuleNoConfig;
899
- "no-inline-comments"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoInlineCommentsConfig];
900
- "no-inner-declarations"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoInnerDeclarationsConfig] | [AllowWarnDeny, NoInnerDeclarationsConfig, NoInnerDeclarationsOptions];
901
- "no-invalid-regexp"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoInvalidRegexpConfig];
902
- "no-irregular-whitespace"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoIrregularWhitespaceConfig];
1048
+ "no-inline-comments"?: RuleNoConfig | [AllowWarnDeny, NoInlineCommentsConfig];
1049
+ "no-inner-declarations"?: RuleNoConfig | [AllowWarnDeny, NoInnerDeclarationsConfig] | [AllowWarnDeny, NoInnerDeclarationsConfig, NoInnerDeclarationsOptions];
1050
+ "no-invalid-regexp"?: RuleNoConfig | [AllowWarnDeny, NoInvalidRegexpConfig];
1051
+ "no-irregular-whitespace"?: RuleNoConfig | [AllowWarnDeny, NoIrregularWhitespaceConfig];
903
1052
  "no-iterator"?: RuleNoConfig;
904
1053
  "no-label-var"?: RuleNoConfig;
905
- "no-labels"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoLabels];
1054
+ "no-labels"?: RuleNoConfig | [AllowWarnDeny, NoLabels];
906
1055
  "no-lone-blocks"?: RuleNoConfig;
907
1056
  "no-lonely-if"?: RuleNoConfig;
908
1057
  "no-loop-func"?: RuleNoConfig;
909
1058
  "no-loss-of-precision"?: RuleNoConfig;
910
- "no-magic-numbers"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoMagicNumbersConfig];
911
- "no-misleading-character-class"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoMisleadingCharacterClass];
912
- "no-multi-assign"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoMultiAssign];
1059
+ "no-magic-numbers"?: RuleNoConfig | [AllowWarnDeny, NoMagicNumbersConfig];
1060
+ "no-misleading-character-class"?: RuleNoConfig | [AllowWarnDeny, NoMisleadingCharacterClass];
1061
+ "no-multi-assign"?: RuleNoConfig | [AllowWarnDeny, NoMultiAssign];
913
1062
  "no-multi-str"?: RuleNoConfig;
914
1063
  "no-negated-condition"?: RuleNoConfig;
915
1064
  "no-nested-ternary"?: RuleNoConfig;
@@ -920,69 +1069,71 @@ interface DummyRuleMap {
920
1069
  "no-nonoctal-decimal-escape"?: RuleNoConfig;
921
1070
  "no-obj-calls"?: RuleNoConfig;
922
1071
  "no-object-constructor"?: RuleNoConfig;
923
- "no-param-reassign"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoParamReassignConfig];
924
- "no-plusplus"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoPlusplus];
925
- "no-promise-executor-return"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoPromiseExecutorReturnConfig];
1072
+ "no-param-reassign"?: RuleNoConfig | [AllowWarnDeny, NoParamReassignConfig];
1073
+ "no-plusplus"?: RuleNoConfig | [AllowWarnDeny, NoPlusplus];
1074
+ "no-promise-executor-return"?: RuleNoConfig | [AllowWarnDeny, NoPromiseExecutorReturnConfig];
926
1075
  "no-proto"?: RuleNoConfig;
927
1076
  "no-prototype-builtins"?: RuleNoConfig;
928
- "no-redeclare"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoRedeclare];
1077
+ "no-redeclare"?: RuleNoConfig | [AllowWarnDeny, NoRedeclare];
929
1078
  "no-regex-spaces"?: RuleNoConfig;
930
- "no-restricted-exports"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoRestrictedExportsConfig];
1079
+ "no-restricted-exports"?: RuleNoConfig | [AllowWarnDeny, NoRestrictedExportsConfig];
931
1080
  "no-restricted-globals"?: DummyRule;
932
1081
  "no-restricted-imports"?: DummyRule;
933
- "no-restricted-properties"?: DummyRule;
934
- "no-return-assign"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoReturnAssignMode];
1082
+ "no-restricted-properties"?: RuleNoConfig | [AllowWarnDeny, PropertyDetails, ...PropertyDetails[]];
1083
+ "no-return-assign"?: RuleNoConfig | [AllowWarnDeny, NoReturnAssignMode];
935
1084
  "no-script-url"?: RuleNoConfig;
936
- "no-self-assign"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoSelfAssign];
1085
+ "no-self-assign"?: RuleNoConfig | [AllowWarnDeny, NoSelfAssign];
937
1086
  "no-self-compare"?: RuleNoConfig;
938
- "no-sequences"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoSequences];
1087
+ "no-sequences"?: RuleNoConfig | [AllowWarnDeny, NoSequences];
939
1088
  "no-setter-return"?: RuleNoConfig;
940
- "no-shadow"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoShadowConfig];
941
- "no-shadow-restricted-names"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoShadowRestrictedNamesConfig];
1089
+ "no-shadow"?: RuleNoConfig | [AllowWarnDeny, NoShadowConfig];
1090
+ "no-shadow-restricted-names"?: RuleNoConfig | [AllowWarnDeny, NoShadowRestrictedNamesConfig];
942
1091
  "no-sparse-arrays"?: RuleNoConfig;
943
1092
  "no-template-curly-in-string"?: RuleNoConfig;
944
1093
  "no-ternary"?: RuleNoConfig;
945
1094
  "no-this-before-super"?: RuleNoConfig;
946
1095
  "no-throw-literal"?: RuleNoConfig;
947
1096
  "no-unassigned-vars"?: RuleNoConfig;
948
- "no-undef"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoUndef];
1097
+ "no-undef"?: RuleNoConfig | [AllowWarnDeny, NoUndef];
949
1098
  "no-undefined"?: RuleNoConfig;
950
- "no-underscore-dangle"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoUnderscoreDangleConfig];
1099
+ "no-underscore-dangle"?: RuleNoConfig | [AllowWarnDeny, NoUnderscoreDangleConfig];
951
1100
  "no-unexpected-multiline"?: RuleNoConfig;
952
1101
  "no-unmodified-loop-condition"?: RuleNoConfig;
953
- "no-unneeded-ternary"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoUnneededTernary];
1102
+ "no-unneeded-ternary"?: RuleNoConfig | [AllowWarnDeny, NoUnneededTernary];
954
1103
  "no-unreachable"?: RuleNoConfig;
955
1104
  "no-unsafe-finally"?: RuleNoConfig;
956
- "no-unsafe-negation"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoUnsafeNegation];
957
- "no-unsafe-optional-chaining"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoUnsafeOptionalChaining];
958
- "no-unused-expressions"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoUnusedExpressionsConfig];
1105
+ "no-unsafe-negation"?: RuleNoConfig | [AllowWarnDeny, NoUnsafeNegation];
1106
+ "no-unsafe-optional-chaining"?: RuleNoConfig | [AllowWarnDeny, NoUnsafeOptionalChaining];
1107
+ "no-unused-expressions"?: RuleNoConfig | [AllowWarnDeny, NoUnusedExpressionsConfig];
959
1108
  "no-unused-labels"?: RuleNoConfig;
960
1109
  "no-unused-private-class-members"?: RuleNoConfig;
961
- "no-unused-vars"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoUnusedVarsConfig];
962
- "no-use-before-define"?: DummyRule;
1110
+ "no-unused-vars"?: RuleNoConfig | [AllowWarnDeny, NoUnusedVarsConfig];
1111
+ "no-use-before-define"?: RuleNoConfig | [AllowWarnDeny, NoUseBeforeDefineConfigJson];
963
1112
  "no-useless-assignment"?: RuleNoConfig;
964
1113
  "no-useless-backreference"?: RuleNoConfig;
965
1114
  "no-useless-call"?: RuleNoConfig;
966
1115
  "no-useless-catch"?: RuleNoConfig;
967
- "no-useless-computed-key"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoUselessComputedKey];
1116
+ "no-useless-computed-key"?: RuleNoConfig | [AllowWarnDeny, NoUselessComputedKey];
968
1117
  "no-useless-concat"?: RuleNoConfig;
969
1118
  "no-useless-constructor"?: RuleNoConfig;
970
- "no-useless-escape"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoUselessEscapeConfig];
971
- "no-useless-rename"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoUselessRenameConfig];
1119
+ "no-useless-escape"?: RuleNoConfig | [AllowWarnDeny, NoUselessEscapeConfig];
1120
+ "no-useless-rename"?: RuleNoConfig | [AllowWarnDeny, NoUselessRenameConfig];
972
1121
  "no-useless-return"?: RuleNoConfig;
973
1122
  "no-var"?: RuleNoConfig;
974
- "no-void"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoVoid];
975
- "no-warning-comments"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoWarningCommentsConfigJson];
1123
+ "no-void"?: RuleNoConfig | [AllowWarnDeny, NoVoid];
1124
+ "no-warning-comments"?: RuleNoConfig | [AllowWarnDeny, NoWarningCommentsConfigJson];
976
1125
  "no-with"?: RuleNoConfig;
977
- "node/callback-return"?: DummyRule;
1126
+ "node/callback-return"?: RuleNoConfig | [AllowWarnDeny, CallbackReturn];
978
1127
  "node/global-require"?: RuleNoConfig;
979
- "node/handle-callback-err"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, HandleCallbackErrConfig];
1128
+ "node/handle-callback-err"?: RuleNoConfig | [AllowWarnDeny, HandleCallbackErrConfig];
980
1129
  "node/no-exports-assign"?: RuleNoConfig;
1130
+ "node/no-mixed-requires"?: RuleNoConfig | [AllowWarnDeny, NoMixedRequiresConfig];
981
1131
  "node/no-new-require"?: RuleNoConfig;
982
1132
  "node/no-path-concat"?: RuleNoConfig;
983
- "node/no-process-env"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoProcessEnvConfig];
984
- "object-shorthand"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ShorthandType] | [AllowWarnDeny, ShorthandType, ObjectShorthandOptions];
985
- "operator-assignment"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, AlwaysNever];
1133
+ "node/no-process-env"?: RuleNoConfig | [AllowWarnDeny, NoProcessEnvConfig];
1134
+ "node/no-sync"?: RuleNoConfig | [AllowWarnDeny, NoSyncConfig];
1135
+ "object-shorthand"?: RuleNoConfig | [AllowWarnDeny, ShorthandType] | [AllowWarnDeny, ShorthandType, ObjectShorthandOptions];
1136
+ "operator-assignment"?: RuleNoConfig | [AllowWarnDeny, AlwaysNever];
986
1137
  "oxc/approx-constant"?: RuleNoConfig;
987
1138
  "oxc/bad-array-method-on-arguments"?: RuleNoConfig;
988
1139
  "oxc/bad-bitwise-operator"?: RuleNoConfig;
@@ -999,177 +1150,179 @@ interface DummyRuleMap {
999
1150
  "oxc/missing-throw"?: RuleNoConfig;
1000
1151
  "oxc/no-accumulating-spread"?: RuleNoConfig;
1001
1152
  "oxc/no-async-await"?: RuleNoConfig;
1002
- "oxc/no-async-endpoint-handlers"?: DummyRule;
1003
- "oxc/no-barrel-file"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoBarrelFile];
1153
+ "oxc/no-async-endpoint-handlers"?: RuleNoConfig | [AllowWarnDeny, NoAsyncEndpointHandlersConfig];
1154
+ "oxc/no-barrel-file"?: RuleNoConfig | [AllowWarnDeny, NoBarrelFile];
1004
1155
  "oxc/no-const-enum"?: RuleNoConfig;
1005
- "oxc/no-map-spread"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoMapSpreadConfig];
1006
- "oxc/no-optional-chaining"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoOptionalChainingConfig];
1007
- "oxc/no-rest-spread-properties"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoRestSpreadPropertiesOptions];
1156
+ "oxc/no-map-spread"?: RuleNoConfig | [AllowWarnDeny, NoMapSpreadConfig];
1157
+ "oxc/no-optional-chaining"?: RuleNoConfig | [AllowWarnDeny, NoOptionalChainingConfig];
1158
+ "oxc/no-rest-spread-properties"?: RuleNoConfig | [AllowWarnDeny, NoRestSpreadPropertiesOptions];
1008
1159
  "oxc/no-this-in-exported-function"?: RuleNoConfig;
1009
1160
  "oxc/number-arg-out-of-range"?: RuleNoConfig;
1010
1161
  "oxc/only-used-in-recursion"?: RuleNoConfig;
1011
1162
  "oxc/uninvoked-array-callback"?: RuleNoConfig;
1012
- "prefer-arrow-callback"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, PreferArrowCallbackConfig];
1013
- "prefer-const"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, PreferConstConfig];
1014
- "prefer-destructuring"?: DummyRule;
1163
+ "prefer-arrow-callback"?: RuleNoConfig | [AllowWarnDeny, PreferArrowCallbackConfig];
1164
+ "prefer-const"?: RuleNoConfig | [AllowWarnDeny, PreferConstConfig];
1165
+ "prefer-destructuring"?: RuleNoConfig | [AllowWarnDeny, PreferDestructuringOption] | [AllowWarnDeny, PreferDestructuringOption, PreferDestructuringRenamedPropertiesConfig];
1015
1166
  "prefer-exponentiation-operator"?: RuleNoConfig;
1016
1167
  "prefer-named-capture-group"?: RuleNoConfig;
1017
1168
  "prefer-numeric-literals"?: RuleNoConfig;
1018
1169
  "prefer-object-has-own"?: RuleNoConfig;
1019
1170
  "prefer-object-spread"?: RuleNoConfig;
1020
- "prefer-promise-reject-errors"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, PreferPromiseRejectErrors];
1021
- "prefer-regex-literals"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, PreferRegexLiteralsConfig];
1171
+ "prefer-promise-reject-errors"?: RuleNoConfig | [AllowWarnDeny, PreferPromiseRejectErrors];
1172
+ "prefer-regex-literals"?: RuleNoConfig | [AllowWarnDeny, PreferRegexLiteralsConfig];
1022
1173
  "prefer-rest-params"?: RuleNoConfig;
1023
1174
  "prefer-spread"?: RuleNoConfig;
1024
1175
  "prefer-template"?: RuleNoConfig;
1025
- "preserve-caught-error"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, PreserveCaughtErrorOptions];
1026
- "promise/always-return"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, AlwaysReturnConfig];
1176
+ "preserve-caught-error"?: RuleNoConfig | [AllowWarnDeny, PreserveCaughtErrorOptions];
1177
+ "promise/always-return"?: RuleNoConfig | [AllowWarnDeny, AlwaysReturnConfig];
1027
1178
  "promise/avoid-new"?: RuleNoConfig;
1028
- "promise/catch-or-return"?: DummyRule;
1029
- "promise/no-callback-in-promise"?: DummyRule;
1179
+ "promise/catch-or-return"?: RuleNoConfig | [AllowWarnDeny, CatchOrReturnConfig];
1180
+ "promise/no-callback-in-promise"?: RuleNoConfig | [AllowWarnDeny, NoCallbackInPromiseConfig];
1030
1181
  "promise/no-multiple-resolved"?: RuleNoConfig;
1031
1182
  "promise/no-nesting"?: RuleNoConfig;
1032
1183
  "promise/no-new-statics"?: RuleNoConfig;
1033
- "promise/no-promise-in-callback"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoPromiseInCallbackConfig];
1184
+ "promise/no-promise-in-callback"?: RuleNoConfig | [AllowWarnDeny, NoPromiseInCallbackConfig];
1034
1185
  "promise/no-return-in-finally"?: RuleNoConfig;
1035
- "promise/no-return-wrap"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoReturnWrap];
1036
- "promise/param-names"?: DummyRule;
1186
+ "promise/no-return-wrap"?: RuleNoConfig | [AllowWarnDeny, NoReturnWrap];
1187
+ "promise/param-names"?: RuleNoConfig | [AllowWarnDeny, ParamNamesConfig];
1037
1188
  "promise/prefer-await-to-callbacks"?: RuleNoConfig;
1038
- "promise/prefer-await-to-then"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, PreferAwaitToThenConfig];
1189
+ "promise/prefer-await-to-then"?: RuleNoConfig | [AllowWarnDeny, PreferAwaitToThenConfig];
1039
1190
  "promise/prefer-catch"?: RuleNoConfig;
1040
- "promise/spec-only"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, SpecOnlyConfig];
1191
+ "promise/spec-only"?: RuleNoConfig | [AllowWarnDeny, SpecOnlyConfig];
1041
1192
  "promise/valid-params"?: RuleNoConfig;
1042
- radix?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, RadixType];
1043
- "react-perf/jsx-no-jsx-as-prop"?: RuleNoConfig;
1044
- "react-perf/jsx-no-new-array-as-prop"?: RuleNoConfig;
1045
- "react-perf/jsx-no-new-function-as-prop"?: RuleNoConfig;
1046
- "react-perf/jsx-no-new-object-as-prop"?: DummyRule;
1047
- "react/button-has-type"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ButtonHasType];
1048
- "react/checked-requires-onchange-or-readonly"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, CheckedRequiresOnchangeOrReadonly];
1049
- "react/display-name"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, DisplayNameConfig];
1050
- "react/exhaustive-deps"?: DummyRule;
1051
- "react/forbid-component-props"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ForbidComponentPropsConfig];
1052
- "react/forbid-dom-props"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ForbidDomPropsConfig];
1053
- "react/forbid-elements"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ForbidElementsConfig];
1193
+ radix?: RuleNoConfig | [AllowWarnDeny, RadixType];
1194
+ "react-perf/jsx-no-jsx-as-prop"?: RuleNoConfig | [AllowWarnDeny, ReactPerfConfig];
1195
+ "react-perf/jsx-no-new-array-as-prop"?: RuleNoConfig | [AllowWarnDeny, ReactPerfConfig];
1196
+ "react-perf/jsx-no-new-function-as-prop"?: RuleNoConfig | [AllowWarnDeny, ReactPerfConfig];
1197
+ "react-perf/jsx-no-new-object-as-prop"?: RuleNoConfig | [AllowWarnDeny, ReactPerfConfig];
1198
+ "react/button-has-type"?: RuleNoConfig | [AllowWarnDeny, ButtonHasType];
1199
+ "react/checked-requires-onchange-or-readonly"?: RuleNoConfig | [AllowWarnDeny, CheckedRequiresOnchangeOrReadonly];
1200
+ "react/display-name"?: RuleNoConfig | [AllowWarnDeny, DisplayNameConfig];
1201
+ "react/exhaustive-deps"?: RuleNoConfig | [AllowWarnDeny, ExhaustiveDepsConfig];
1202
+ "react/forbid-component-props"?: RuleNoConfig | [AllowWarnDeny, ForbidComponentPropsConfig];
1203
+ "react/forbid-dom-props"?: RuleNoConfig | [AllowWarnDeny, ForbidDomPropsConfig];
1204
+ "react/forbid-elements"?: RuleNoConfig | [AllowWarnDeny, ForbidElementsConfig];
1054
1205
  "react/forward-ref-uses-ref"?: RuleNoConfig;
1055
- "react/hook-use-state"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, HookUseStateConfig];
1206
+ "react/hook-use-state"?: RuleNoConfig | [AllowWarnDeny, HookUseStateConfig];
1056
1207
  "react/iframe-missing-sandbox"?: RuleNoConfig;
1057
- "react/jsx-boolean-value"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, EnforceBooleanAttribute] | [AllowWarnDeny, EnforceBooleanAttribute, JsxBooleanValueOptions];
1058
- "react/jsx-curly-brace-presence"?: DummyRule;
1059
- "react/jsx-filename-extension"?: DummyRule;
1060
- "react/jsx-fragments"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, FragmentMode];
1061
- "react/jsx-handler-names"?: DummyRule;
1062
- "react/jsx-key"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, JsxKeyConfig];
1063
- "react/jsx-max-depth"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, JsxMaxDepthConfig];
1208
+ "react/jsx-boolean-value"?: RuleNoConfig | [AllowWarnDeny, EnforceBooleanAttribute] | [AllowWarnDeny, EnforceBooleanAttribute, JsxBooleanValueOptions];
1209
+ "react/jsx-curly-brace-presence"?: RuleNoConfig | [AllowWarnDeny, JsxCurlyBracePresenceConfig];
1210
+ "react/jsx-filename-extension"?: RuleNoConfig | [AllowWarnDeny, JsxFilenameExtensionConfig];
1211
+ "react/jsx-fragments"?: RuleNoConfig | [AllowWarnDeny, FragmentMode];
1212
+ "react/jsx-handler-names"?: RuleNoConfig | [AllowWarnDeny, JsxHandlerNamesConfig];
1213
+ "react/jsx-key"?: RuleNoConfig | [AllowWarnDeny, JsxKeyConfig];
1214
+ "react/jsx-max-depth"?: RuleNoConfig | [AllowWarnDeny, JsxMaxDepthConfig];
1064
1215
  "react/jsx-no-comment-textnodes"?: RuleNoConfig;
1065
1216
  "react/jsx-no-constructed-context-values"?: RuleNoConfig;
1066
1217
  "react/jsx-no-duplicate-props"?: RuleNoConfig;
1067
- "react/jsx-no-script-url"?: DummyRule;
1068
- "react/jsx-no-target-blank"?: DummyRule;
1218
+ "react/jsx-no-literals"?: RuleNoConfig | [AllowWarnDeny, JsxNoLiteralsConfig];
1219
+ "react/jsx-no-script-url"?: RuleNoConfig | ([AllowWarnDeny, JsxNoScriptUrlComponent[]] | [AllowWarnDeny, JsxNoScriptUrlComponent[], JsxNoScriptUrlOptions] | [AllowWarnDeny, JsxNoScriptUrlOptions]);
1220
+ "react/jsx-no-target-blank"?: RuleNoConfig | [AllowWarnDeny, JsxNoTargetBlank];
1069
1221
  "react/jsx-no-undef"?: RuleNoConfig;
1070
- "react/jsx-no-useless-fragment"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, JsxNoUselessFragment];
1071
- "react/jsx-pascal-case"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, JsxPascalCaseConfig];
1222
+ "react/jsx-no-useless-fragment"?: RuleNoConfig | [AllowWarnDeny, JsxNoUselessFragment];
1223
+ "react/jsx-pascal-case"?: RuleNoConfig | [AllowWarnDeny, JsxPascalCaseConfig];
1072
1224
  "react/jsx-props-no-spread-multi"?: RuleNoConfig;
1073
- "react/jsx-props-no-spreading"?: DummyRule;
1225
+ "react/jsx-props-no-spreading"?: RuleNoConfig | [AllowWarnDeny, JsxPropsNoSpreadingConfig];
1074
1226
  "react/no-array-index-key"?: RuleNoConfig;
1075
1227
  "react/no-children-prop"?: RuleNoConfig;
1076
1228
  "react/no-clone-element"?: RuleNoConfig;
1077
1229
  "react/no-danger"?: RuleNoConfig;
1078
1230
  "react/no-danger-with-children"?: RuleNoConfig;
1079
- "react/no-did-mount-set-state"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoDidMountSetStateConfig];
1080
- "react/no-did-update-set-state"?: DummyRule;
1231
+ "react/no-did-mount-set-state"?: RuleNoConfig | [AllowWarnDeny, AllowedOrDisallowInFunc];
1232
+ "react/no-did-update-set-state"?: RuleNoConfig | [AllowWarnDeny, AllowedOrDisallowInFunc];
1081
1233
  "react/no-direct-mutation-state"?: RuleNoConfig;
1082
1234
  "react/no-find-dom-node"?: RuleNoConfig;
1083
1235
  "react/no-is-mounted"?: RuleNoConfig;
1084
- "react/no-multi-comp"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoMultiCompConfig];
1236
+ "react/no-multi-comp"?: RuleNoConfig | [AllowWarnDeny, NoMultiCompConfig];
1085
1237
  "react/no-namespace"?: RuleNoConfig;
1086
- "react/no-object-type-as-default-prop"?: DummyRule;
1238
+ "react/no-object-type-as-default-prop"?: RuleNoConfig;
1087
1239
  "react/no-react-children"?: RuleNoConfig;
1088
1240
  "react/no-redundant-should-component-update"?: RuleNoConfig;
1089
1241
  "react/no-render-return-value"?: RuleNoConfig;
1090
1242
  "react/no-set-state"?: RuleNoConfig;
1091
- "react/no-string-refs"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoStringRefs];
1243
+ "react/no-string-refs"?: RuleNoConfig | [AllowWarnDeny, NoStringRefs];
1092
1244
  "react/no-this-in-sfc"?: RuleNoConfig;
1093
1245
  "react/no-unescaped-entities"?: RuleNoConfig;
1094
- "react/no-unknown-property"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoUnknownPropertyConfig];
1095
- "react/no-unsafe"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoUnsafeConfig];
1096
- "react/no-unstable-nested-components"?: DummyRule;
1097
- "react/no-will-update-set-state"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoWillUpdateSetStateConfig];
1098
- "react/only-export-components"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, OnlyExportComponentsConfig];
1099
- "react/prefer-es6-class"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, AlwaysNever];
1100
- "react/prefer-function-component"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, PreferFunctionComponent];
1246
+ "react/no-unknown-property"?: RuleNoConfig | [AllowWarnDeny, NoUnknownPropertyConfig];
1247
+ "react/no-unsafe"?: RuleNoConfig | [AllowWarnDeny, NoUnsafeConfig];
1248
+ "react/no-unstable-nested-components"?: RuleNoConfig | [AllowWarnDeny, NoUnstableNestedComponentsConfig];
1249
+ "react/no-will-update-set-state"?: RuleNoConfig | [AllowWarnDeny, AllowedOrDisallowInFunc];
1250
+ "react/only-export-components"?: RuleNoConfig | [AllowWarnDeny, OnlyExportComponentsConfig];
1251
+ "react/prefer-es6-class"?: RuleNoConfig | [AllowWarnDeny, AlwaysNever];
1252
+ "react/prefer-function-component"?: RuleNoConfig | [AllowWarnDeny, PreferFunctionComponent];
1253
+ "react/react-compiler"?: RuleNoConfig | [AllowWarnDeny, ReactCompilerConfig];
1101
1254
  "react/react-in-jsx-scope"?: RuleNoConfig;
1102
1255
  "react/require-render-return"?: RuleNoConfig;
1103
1256
  "react/rules-of-hooks"?: RuleNoConfig;
1104
- "react/self-closing-comp"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, SelfClosingComp];
1105
- "react/state-in-constructor"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, AlwaysNever];
1106
- "react/style-prop-object"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, StylePropObjectConfig];
1257
+ "react/self-closing-comp"?: RuleNoConfig | [AllowWarnDeny, SelfClosingComp];
1258
+ "react/state-in-constructor"?: RuleNoConfig | [AllowWarnDeny, AlwaysNever];
1259
+ "react/style-prop-object"?: RuleNoConfig | [AllowWarnDeny, StylePropObjectConfig];
1107
1260
  "react/void-dom-elements-no-children"?: RuleNoConfig;
1108
1261
  "require-await"?: RuleNoConfig;
1109
- "require-unicode-regexp"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, RequireUnicodeRegexpConfig];
1262
+ "require-unicode-regexp"?: RuleNoConfig | [AllowWarnDeny, RequireUnicodeRegexpConfig];
1110
1263
  "require-yield"?: RuleNoConfig;
1111
- "sort-imports"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, SortImportsOptions];
1112
- "sort-keys"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, SortOrder] | [AllowWarnDeny, SortOrder, SortKeysOptions];
1113
- "sort-vars"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, SortVars];
1264
+ "sort-imports"?: RuleNoConfig | [AllowWarnDeny, SortImportsOptions];
1265
+ "sort-keys"?: RuleNoConfig | [AllowWarnDeny, SortOrder] | [AllowWarnDeny, SortOrder, SortKeysOptions];
1266
+ "sort-vars"?: RuleNoConfig | [AllowWarnDeny, SortVars];
1114
1267
  "symbol-description"?: RuleNoConfig;
1115
1268
  "typescript/adjacent-overload-signatures"?: RuleNoConfig;
1116
- "typescript/array-type"?: DummyRule;
1269
+ "typescript/array-type"?: RuleNoConfig | [AllowWarnDeny, ArrayTypeConfig];
1117
1270
  "typescript/await-thenable"?: RuleNoConfig;
1118
- "typescript/ban-ts-comment"?: DummyRule;
1271
+ "typescript/ban-ts-comment"?: RuleNoConfig | [AllowWarnDeny, BanTsCommentConfig];
1119
1272
  "typescript/ban-tslint-comment"?: RuleNoConfig;
1120
1273
  "typescript/ban-types"?: RuleNoConfig;
1121
- "typescript/class-literal-property-style"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ClassLiteralPropertyStyleOption];
1122
- "typescript/consistent-generic-constructors"?: DummyRule;
1123
- "typescript/consistent-indexed-object-style"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ConsistentIndexedObjectStyleConfig];
1124
- "typescript/consistent-return"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ConsistentReturnConfig];
1125
- "typescript/consistent-type-assertions"?: DummyRule;
1126
- "typescript/consistent-type-definitions"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ConsistentTypeDefinitionsConfig];
1127
- "typescript/consistent-type-exports"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ConsistentTypeExportsConfig];
1128
- "typescript/consistent-type-imports"?: DummyRule;
1129
- "typescript/dot-notation"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, DotNotationConfig];
1130
- "typescript/explicit-function-return-type"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ExplicitFunctionReturnTypeConfig];
1131
- "typescript/explicit-member-accessibility"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ExplicitMemberAccessibilityConfig];
1132
- "typescript/explicit-module-boundary-types"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ExplicitModuleBoundaryTypesConfig];
1133
- "typescript/method-signature-style"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, MethodSignatureStyleConfig];
1274
+ "typescript/class-literal-property-style"?: RuleNoConfig | [AllowWarnDeny, ClassLiteralPropertyStyleOption];
1275
+ "typescript/consistent-generic-constructors"?: RuleNoConfig | [AllowWarnDeny, PreferGenericType];
1276
+ "typescript/consistent-indexed-object-style"?: RuleNoConfig | [AllowWarnDeny, ConsistentIndexedObjectStyleConfig];
1277
+ "typescript/consistent-return"?: RuleNoConfig | [AllowWarnDeny, ConsistentReturnConfig];
1278
+ "typescript/consistent-type-assertions"?: RuleNoConfig | [AllowWarnDeny, ConsistentTypeAssertionsConfig];
1279
+ "typescript/consistent-type-definitions"?: RuleNoConfig | [AllowWarnDeny, ConsistentTypeDefinitionsConfig];
1280
+ "typescript/consistent-type-exports"?: RuleNoConfig | [AllowWarnDeny, ConsistentTypeExportsConfig];
1281
+ "typescript/consistent-type-imports"?: RuleNoConfig | [AllowWarnDeny, ConsistentTypeImportsConfig];
1282
+ "typescript/dot-notation"?: RuleNoConfig | [AllowWarnDeny, DotNotationConfig];
1283
+ "typescript/explicit-function-return-type"?: RuleNoConfig | [AllowWarnDeny, ExplicitFunctionReturnTypeConfig];
1284
+ "typescript/explicit-member-accessibility"?: RuleNoConfig | [AllowWarnDeny, ExplicitMemberAccessibilityConfig];
1285
+ "typescript/explicit-module-boundary-types"?: RuleNoConfig | [AllowWarnDeny, ExplicitModuleBoundaryTypesConfig];
1286
+ "typescript/method-signature-style"?: RuleNoConfig | [AllowWarnDeny, MethodSignatureStyleConfig];
1134
1287
  "typescript/no-array-delete"?: RuleNoConfig;
1135
- "typescript/no-base-to-string"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoBaseToStringConfig];
1288
+ "typescript/no-base-to-string"?: RuleNoConfig | [AllowWarnDeny, NoBaseToStringConfig];
1136
1289
  "typescript/no-confusing-non-null-assertion"?: RuleNoConfig;
1137
- "typescript/no-confusing-void-expression"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoConfusingVoidExpressionConfig];
1138
- "typescript/no-deprecated"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoDeprecatedConfig];
1290
+ "typescript/no-confusing-void-expression"?: RuleNoConfig | [AllowWarnDeny, NoConfusingVoidExpressionConfig];
1291
+ "typescript/no-deprecated"?: RuleNoConfig | [AllowWarnDeny, NoDeprecatedConfig];
1139
1292
  "typescript/no-duplicate-enum-values"?: RuleNoConfig;
1140
- "typescript/no-duplicate-type-constituents"?: DummyRule;
1293
+ "typescript/no-duplicate-type-constituents"?: RuleNoConfig | [AllowWarnDeny, NoDuplicateTypeConstituentsConfig];
1141
1294
  "typescript/no-dynamic-delete"?: RuleNoConfig;
1142
- "typescript/no-empty-interface"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoEmptyInterface];
1143
- "typescript/no-empty-object-type"?: DummyRule;
1144
- "typescript/no-explicit-any"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoExplicitAny];
1295
+ "typescript/no-empty-interface"?: RuleNoConfig | [AllowWarnDeny, NoEmptyInterface];
1296
+ "typescript/no-empty-object-type"?: RuleNoConfig | [AllowWarnDeny, NoEmptyObjectTypeConfig];
1297
+ "typescript/no-explicit-any"?: RuleNoConfig | [AllowWarnDeny, NoExplicitAny];
1145
1298
  "typescript/no-extra-non-null-assertion"?: RuleNoConfig;
1146
- "typescript/no-extraneous-class"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoExtraneousClass];
1147
- "typescript/no-floating-promises"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoFloatingPromisesConfig];
1299
+ "typescript/no-extraneous-class"?: RuleNoConfig | [AllowWarnDeny, NoExtraneousClass];
1300
+ "typescript/no-floating-promises"?: RuleNoConfig | [AllowWarnDeny, NoFloatingPromisesConfig];
1148
1301
  "typescript/no-for-in-array"?: RuleNoConfig;
1149
1302
  "typescript/no-implied-eval"?: RuleNoConfig;
1150
1303
  "typescript/no-import-type-side-effects"?: RuleNoConfig;
1151
- "typescript/no-inferrable-types"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoInferrableTypes];
1152
- "typescript/no-invalid-void-type"?: DummyRule;
1153
- "typescript/no-meaningless-void-operator"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoMeaninglessVoidOperatorConfig];
1304
+ "typescript/no-inferrable-types"?: RuleNoConfig | [AllowWarnDeny, NoInferrableTypes];
1305
+ "typescript/no-invalid-void-type"?: RuleNoConfig | [AllowWarnDeny, NoInvalidVoidTypeConfig];
1306
+ "typescript/no-meaningless-void-operator"?: RuleNoConfig | [AllowWarnDeny, NoMeaninglessVoidOperatorConfig];
1154
1307
  "typescript/no-misused-new"?: RuleNoConfig;
1155
- "typescript/no-misused-promises"?: DummyRule;
1156
- "typescript/no-misused-spread"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoMisusedSpreadConfig];
1308
+ "typescript/no-misused-promises"?: RuleNoConfig | [AllowWarnDeny, NoMisusedPromisesConfig];
1309
+ "typescript/no-misused-spread"?: RuleNoConfig | [AllowWarnDeny, NoMisusedSpreadConfig];
1157
1310
  "typescript/no-mixed-enums"?: RuleNoConfig;
1158
- "typescript/no-namespace"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoNamespace];
1311
+ "typescript/no-namespace"?: RuleNoConfig | [AllowWarnDeny, NoNamespace];
1159
1312
  "typescript/no-non-null-asserted-nullish-coalescing"?: RuleNoConfig;
1160
1313
  "typescript/no-non-null-asserted-optional-chain"?: RuleNoConfig;
1161
1314
  "typescript/no-non-null-assertion"?: RuleNoConfig;
1162
1315
  "typescript/no-redundant-type-constituents"?: RuleNoConfig;
1163
- "typescript/no-require-imports"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoRequireImportsConfig];
1164
- "typescript/no-restricted-types"?: DummyRule;
1165
- "typescript/no-this-alias"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoThisAliasConfig];
1166
- "typescript/no-unnecessary-boolean-literal-compare"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoUnnecessaryBooleanLiteralCompareConfig];
1167
- "typescript/no-unnecessary-condition"?: DummyRule;
1316
+ "typescript/no-require-imports"?: RuleNoConfig | [AllowWarnDeny, NoRequireImportsConfig];
1317
+ "typescript/no-restricted-types"?: RuleNoConfig | [AllowWarnDeny, NoRestrictedTypesConfig];
1318
+ "typescript/no-this-alias"?: RuleNoConfig | [AllowWarnDeny, NoThisAliasConfig];
1319
+ "typescript/no-unnecessary-boolean-literal-compare"?: RuleNoConfig | [AllowWarnDeny, NoUnnecessaryBooleanLiteralCompareConfig];
1320
+ "typescript/no-unnecessary-condition"?: RuleNoConfig | [AllowWarnDeny, NoUnnecessaryConditionConfig];
1168
1321
  "typescript/no-unnecessary-parameter-property-assignment"?: RuleNoConfig;
1169
1322
  "typescript/no-unnecessary-qualifier"?: RuleNoConfig;
1170
1323
  "typescript/no-unnecessary-template-expression"?: RuleNoConfig;
1171
1324
  "typescript/no-unnecessary-type-arguments"?: RuleNoConfig;
1172
- "typescript/no-unnecessary-type-assertion"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoUnnecessaryTypeAssertionConfig];
1325
+ "typescript/no-unnecessary-type-assertion"?: RuleNoConfig | [AllowWarnDeny, NoUnnecessaryTypeAssertionConfig];
1173
1326
  "typescript/no-unnecessary-type-constraint"?: RuleNoConfig;
1174
1327
  "typescript/no-unnecessary-type-conversion"?: RuleNoConfig;
1175
1328
  "typescript/no-unnecessary-type-parameters"?: RuleNoConfig;
@@ -1179,7 +1332,7 @@ interface DummyRuleMap {
1179
1332
  "typescript/no-unsafe-declaration-merging"?: RuleNoConfig;
1180
1333
  "typescript/no-unsafe-enum-comparison"?: RuleNoConfig;
1181
1334
  "typescript/no-unsafe-function-type"?: RuleNoConfig;
1182
- "typescript/no-unsafe-member-access"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoUnsafeMemberAccessConfig];
1335
+ "typescript/no-unsafe-member-access"?: RuleNoConfig | [AllowWarnDeny, NoUnsafeMemberAccessConfig];
1183
1336
  "typescript/no-unsafe-return"?: RuleNoConfig;
1184
1337
  "typescript/no-unsafe-type-assertion"?: RuleNoConfig;
1185
1338
  "typescript/no-unsafe-unary-minus"?: RuleNoConfig;
@@ -1188,65 +1341,67 @@ interface DummyRuleMap {
1188
1341
  "typescript/no-var-requires"?: RuleNoConfig;
1189
1342
  "typescript/no-wrapper-object-types"?: RuleNoConfig;
1190
1343
  "typescript/non-nullable-type-assertion-style"?: RuleNoConfig;
1191
- "typescript/only-throw-error"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, OnlyThrowErrorConfig];
1192
- "typescript/parameter-properties"?: DummyRule;
1344
+ "typescript/only-throw-error"?: RuleNoConfig | [AllowWarnDeny, OnlyThrowErrorConfig];
1345
+ "typescript/parameter-properties"?: RuleNoConfig | [AllowWarnDeny, ParameterPropertiesConfig];
1193
1346
  "typescript/prefer-as-const"?: RuleNoConfig;
1194
1347
  "typescript/prefer-enum-initializers"?: RuleNoConfig;
1195
1348
  "typescript/prefer-find"?: RuleNoConfig;
1196
1349
  "typescript/prefer-for-of"?: RuleNoConfig;
1197
1350
  "typescript/prefer-function-type"?: RuleNoConfig;
1198
1351
  "typescript/prefer-includes"?: RuleNoConfig;
1199
- "typescript/prefer-literal-enum-member"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, PreferLiteralEnumMember];
1352
+ "typescript/prefer-literal-enum-member"?: RuleNoConfig | [AllowWarnDeny, PreferLiteralEnumMember];
1200
1353
  "typescript/prefer-namespace-keyword"?: RuleNoConfig;
1201
- "typescript/prefer-nullish-coalescing"?: DummyRule;
1202
- "typescript/prefer-optional-chain"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, PreferOptionalChainConfig];
1203
- "typescript/prefer-promise-reject-errors"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, PreferPromiseRejectErrorsConfig];
1204
- "typescript/prefer-readonly"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, PreferReadonlyConfig];
1205
- "typescript/prefer-readonly-parameter-types"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, PreferReadonlyParameterTypesConfig];
1354
+ "typescript/prefer-nullish-coalescing"?: RuleNoConfig | [AllowWarnDeny, PreferNullishCoalescingConfig];
1355
+ "typescript/prefer-optional-chain"?: RuleNoConfig | [AllowWarnDeny, PreferOptionalChainConfig];
1356
+ "typescript/prefer-promise-reject-errors"?: RuleNoConfig | [AllowWarnDeny, PreferPromiseRejectErrorsConfig];
1357
+ "typescript/prefer-readonly"?: RuleNoConfig | [AllowWarnDeny, PreferReadonlyConfig];
1358
+ "typescript/prefer-readonly-parameter-types"?: RuleNoConfig | [AllowWarnDeny, PreferReadonlyParameterTypesConfig];
1206
1359
  "typescript/prefer-reduce-type-parameter"?: RuleNoConfig;
1207
1360
  "typescript/prefer-regexp-exec"?: RuleNoConfig;
1208
1361
  "typescript/prefer-return-this-type"?: RuleNoConfig;
1209
- "typescript/prefer-string-starts-ends-with"?: DummyRule;
1362
+ "typescript/prefer-string-starts-ends-with"?: RuleNoConfig | [AllowWarnDeny, PreferStringStartsEndsWithConfig];
1210
1363
  "typescript/prefer-ts-expect-error"?: RuleNoConfig;
1211
- "typescript/promise-function-async"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, PromiseFunctionAsyncConfig];
1364
+ "typescript/promise-function-async"?: RuleNoConfig | [AllowWarnDeny, PromiseFunctionAsyncConfig];
1212
1365
  "typescript/related-getter-setter-pairs"?: RuleNoConfig;
1213
- "typescript/require-array-sort-compare"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, RequireArraySortCompareConfig];
1366
+ "typescript/require-array-sort-compare"?: RuleNoConfig | [AllowWarnDeny, RequireArraySortCompareConfig];
1214
1367
  "typescript/require-await"?: RuleNoConfig;
1215
- "typescript/restrict-plus-operands"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, RestrictPlusOperandsConfig];
1216
- "typescript/restrict-template-expressions"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, RestrictTemplateExpressionsConfig];
1217
- "typescript/return-await"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ReturnAwaitOption];
1218
- "typescript/strict-boolean-expressions"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, StrictBooleanExpressionsConfig];
1219
- "typescript/strict-void-return"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, StrictVoidReturnConfig];
1220
- "typescript/switch-exhaustiveness-check"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, SwitchExhaustivenessCheckConfig];
1221
- "typescript/triple-slash-reference"?: DummyRule;
1222
- "typescript/unbound-method"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, UnboundMethodConfig];
1223
- "typescript/unified-signatures"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, UnifiedSignaturesOptions];
1368
+ "typescript/restrict-plus-operands"?: RuleNoConfig | [AllowWarnDeny, RestrictPlusOperandsConfig];
1369
+ "typescript/restrict-template-expressions"?: RuleNoConfig | [AllowWarnDeny, RestrictTemplateExpressionsConfig];
1370
+ "typescript/return-await"?: RuleNoConfig | [AllowWarnDeny, ReturnAwaitOption];
1371
+ "typescript/strict-boolean-expressions"?: RuleNoConfig | [AllowWarnDeny, StrictBooleanExpressionsConfig];
1372
+ "typescript/strict-void-return"?: RuleNoConfig | [AllowWarnDeny, StrictVoidReturnConfig];
1373
+ "typescript/switch-exhaustiveness-check"?: RuleNoConfig | [AllowWarnDeny, SwitchExhaustivenessCheckConfig];
1374
+ "typescript/triple-slash-reference"?: RuleNoConfig | [AllowWarnDeny, TripleSlashReferenceConfig];
1375
+ "typescript/unbound-method"?: RuleNoConfig | [AllowWarnDeny, UnboundMethodConfig];
1376
+ "typescript/unified-signatures"?: RuleNoConfig | [AllowWarnDeny, UnifiedSignaturesOptions];
1224
1377
  "typescript/use-unknown-in-catch-callback-variable"?: RuleNoConfig;
1225
- "unicode-bom"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, BomOptionType];
1226
- "unicorn/catch-error-name"?: DummyRule;
1378
+ "unicode-bom"?: RuleNoConfig | [AllowWarnDeny, BomOptionType];
1379
+ "unicorn/catch-error-name"?: RuleNoConfig | [AllowWarnDeny, CatchErrorNameConfig];
1227
1380
  "unicorn/consistent-assert"?: RuleNoConfig;
1228
1381
  "unicorn/consistent-date-clone"?: RuleNoConfig;
1229
1382
  "unicorn/consistent-empty-array-spread"?: RuleNoConfig;
1230
1383
  "unicorn/consistent-existence-index-check"?: RuleNoConfig;
1231
- "unicorn/consistent-function-scoping"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ConsistentFunctionScoping];
1384
+ "unicorn/consistent-function-scoping"?: RuleNoConfig | [AllowWarnDeny, ConsistentFunctionScoping];
1232
1385
  "unicorn/consistent-template-literal-escape"?: RuleNoConfig;
1233
1386
  "unicorn/custom-error-definition"?: RuleNoConfig;
1234
1387
  "unicorn/empty-brace-spaces"?: RuleNoConfig;
1235
1388
  "unicorn/error-message"?: RuleNoConfig;
1236
1389
  "unicorn/escape-case"?: RuleNoConfig;
1237
- "unicorn/explicit-length-check"?: DummyRule;
1390
+ "unicorn/explicit-length-check"?: RuleNoConfig | [AllowWarnDeny, ExplicitLengthCheck];
1238
1391
  "unicorn/filename-case"?: DummyRule;
1239
- "unicorn/import-style"?: DummyRule;
1392
+ "unicorn/import-style"?: RuleNoConfig | [AllowWarnDeny, ImportStyleConfig];
1393
+ "unicorn/max-nested-calls"?: RuleNoConfig | [AllowWarnDeny, MaxNestedCalls];
1240
1394
  "unicorn/new-for-builtins"?: RuleNoConfig;
1241
1395
  "unicorn/no-abusive-eslint-disable"?: RuleNoConfig;
1242
1396
  "unicorn/no-accessor-recursion"?: RuleNoConfig;
1243
1397
  "unicorn/no-anonymous-default-export"?: RuleNoConfig;
1244
1398
  "unicorn/no-array-callback-reference"?: RuleNoConfig;
1399
+ "unicorn/no-array-fill-with-reference-type"?: RuleNoConfig;
1245
1400
  "unicorn/no-array-for-each"?: RuleNoConfig;
1246
1401
  "unicorn/no-array-method-this-argument"?: RuleNoConfig;
1247
- "unicorn/no-array-reduce"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoArrayReduce];
1248
- "unicorn/no-array-reverse"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoArrayReverse];
1249
- "unicorn/no-array-sort"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoArraySort];
1402
+ "unicorn/no-array-reduce"?: RuleNoConfig | [AllowWarnDeny, NoArrayReduce];
1403
+ "unicorn/no-array-reverse"?: RuleNoConfig | [AllowWarnDeny, NoArrayReverse];
1404
+ "unicorn/no-array-sort"?: RuleNoConfig | [AllowWarnDeny, NoArraySort];
1250
1405
  "unicorn/no-await-expression-member"?: RuleNoConfig;
1251
1406
  "unicorn/no-await-in-promise-methods"?: RuleNoConfig;
1252
1407
  "unicorn/no-console-spaces"?: RuleNoConfig;
@@ -1255,7 +1410,7 @@ interface DummyRuleMap {
1255
1410
  "unicorn/no-hex-escape"?: RuleNoConfig;
1256
1411
  "unicorn/no-immediate-mutation"?: RuleNoConfig;
1257
1412
  "unicorn/no-instanceof-array"?: RuleNoConfig;
1258
- "unicorn/no-instanceof-builtins"?: DummyRule;
1413
+ "unicorn/no-instanceof-builtins"?: RuleNoConfig | [AllowWarnDeny, NoInstanceofBuiltinsConfig];
1259
1414
  "unicorn/no-invalid-fetch-options"?: RuleNoConfig;
1260
1415
  "unicorn/no-invalid-remove-event-listener"?: RuleNoConfig;
1261
1416
  "unicorn/no-length-as-slice-end"?: RuleNoConfig;
@@ -1266,14 +1421,14 @@ interface DummyRuleMap {
1266
1421
  "unicorn/no-nested-ternary"?: RuleNoConfig;
1267
1422
  "unicorn/no-new-array"?: RuleNoConfig;
1268
1423
  "unicorn/no-new-buffer"?: RuleNoConfig;
1269
- "unicorn/no-null"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoNull];
1424
+ "unicorn/no-null"?: RuleNoConfig | [AllowWarnDeny, NoNull];
1270
1425
  "unicorn/no-object-as-default-parameter"?: RuleNoConfig;
1271
1426
  "unicorn/no-process-exit"?: RuleNoConfig;
1272
1427
  "unicorn/no-single-promise-in-promise-methods"?: RuleNoConfig;
1273
1428
  "unicorn/no-static-only-class"?: RuleNoConfig;
1274
1429
  "unicorn/no-thenable"?: RuleNoConfig;
1275
1430
  "unicorn/no-this-assignment"?: RuleNoConfig;
1276
- "unicorn/no-typeof-undefined"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoTypeofUndefined];
1431
+ "unicorn/no-typeof-undefined"?: RuleNoConfig | [AllowWarnDeny, NoTypeofUndefined];
1277
1432
  "unicorn/no-unnecessary-array-flat-depth"?: RuleNoConfig;
1278
1433
  "unicorn/no-unnecessary-array-splice-count"?: RuleNoConfig;
1279
1434
  "unicorn/no-unnecessary-await"?: RuleNoConfig;
@@ -1285,20 +1440,20 @@ interface DummyRuleMap {
1285
1440
  "unicorn/no-useless-fallback-in-spread"?: RuleNoConfig;
1286
1441
  "unicorn/no-useless-iterator-to-array"?: RuleNoConfig;
1287
1442
  "unicorn/no-useless-length-check"?: RuleNoConfig;
1288
- "unicorn/no-useless-promise-resolve-reject"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoUselessPromiseResolveRejectOptions];
1443
+ "unicorn/no-useless-promise-resolve-reject"?: RuleNoConfig | [AllowWarnDeny, NoUselessPromiseResolveRejectOptions];
1289
1444
  "unicorn/no-useless-spread"?: RuleNoConfig;
1290
1445
  "unicorn/no-useless-switch-case"?: RuleNoConfig;
1291
- "unicorn/no-useless-undefined"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoUselessUndefined];
1446
+ "unicorn/no-useless-undefined"?: RuleNoConfig | [AllowWarnDeny, NoUselessUndefined];
1292
1447
  "unicorn/no-zero-fractions"?: RuleNoConfig;
1293
1448
  "unicorn/number-literal-case"?: RuleNoConfig;
1294
- "unicorn/numeric-separators-style"?: DummyRule;
1449
+ "unicorn/numeric-separators-style"?: RuleNoConfig | [AllowWarnDeny, NumericSeparatorsStyleConfig];
1295
1450
  "unicorn/prefer-add-event-listener"?: RuleNoConfig;
1296
1451
  "unicorn/prefer-array-find"?: RuleNoConfig;
1297
1452
  "unicorn/prefer-array-flat"?: RuleNoConfig;
1298
1453
  "unicorn/prefer-array-flat-map"?: RuleNoConfig;
1299
1454
  "unicorn/prefer-array-index-of"?: RuleNoConfig;
1300
1455
  "unicorn/prefer-array-some"?: RuleNoConfig;
1301
- "unicorn/prefer-at"?: DummyRule;
1456
+ "unicorn/prefer-at"?: RuleNoConfig | [AllowWarnDeny, PreferAtConfig];
1302
1457
  "unicorn/prefer-bigint-literals"?: RuleNoConfig;
1303
1458
  "unicorn/prefer-blob-reading-methods"?: RuleNoConfig;
1304
1459
  "unicorn/prefer-class-fields"?: RuleNoConfig;
@@ -1311,6 +1466,7 @@ interface DummyRuleMap {
1311
1466
  "unicorn/prefer-dom-node-remove"?: RuleNoConfig;
1312
1467
  "unicorn/prefer-dom-node-text-content"?: RuleNoConfig;
1313
1468
  "unicorn/prefer-event-target"?: RuleNoConfig;
1469
+ "unicorn/prefer-export-from"?: RuleNoConfig | [AllowWarnDeny, PreferExportFrom];
1314
1470
  "unicorn/prefer-global-this"?: RuleNoConfig;
1315
1471
  "unicorn/prefer-import-meta-properties"?: RuleNoConfig;
1316
1472
  "unicorn/prefer-includes"?: RuleNoConfig;
@@ -1324,8 +1480,9 @@ interface DummyRuleMap {
1324
1480
  "unicorn/prefer-native-coercion-functions"?: RuleNoConfig;
1325
1481
  "unicorn/prefer-negative-index"?: RuleNoConfig;
1326
1482
  "unicorn/prefer-node-protocol"?: RuleNoConfig;
1327
- "unicorn/prefer-number-properties"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, PreferNumberPropertiesConfig];
1328
- "unicorn/prefer-object-from-entries"?: DummyRule;
1483
+ "unicorn/prefer-number-coercion"?: RuleNoConfig;
1484
+ "unicorn/prefer-number-properties"?: RuleNoConfig | [AllowWarnDeny, PreferNumberPropertiesConfig];
1485
+ "unicorn/prefer-object-from-entries"?: RuleNoConfig | [AllowWarnDeny, PreferObjectFromEntriesConfig];
1329
1486
  "unicorn/prefer-optional-catch-binding"?: RuleNoConfig;
1330
1487
  "unicorn/prefer-prototype-methods"?: RuleNoConfig;
1331
1488
  "unicorn/prefer-query-selector"?: RuleNoConfig;
@@ -1334,37 +1491,38 @@ interface DummyRuleMap {
1334
1491
  "unicorn/prefer-response-static-json"?: RuleNoConfig;
1335
1492
  "unicorn/prefer-set-has"?: RuleNoConfig;
1336
1493
  "unicorn/prefer-set-size"?: RuleNoConfig;
1494
+ "unicorn/prefer-single-call"?: RuleNoConfig | [AllowWarnDeny, PreferSingleCallConfig];
1337
1495
  "unicorn/prefer-spread"?: RuleNoConfig;
1338
1496
  "unicorn/prefer-string-raw"?: RuleNoConfig;
1339
1497
  "unicorn/prefer-string-replace-all"?: RuleNoConfig;
1340
1498
  "unicorn/prefer-string-slice"?: RuleNoConfig;
1341
1499
  "unicorn/prefer-string-starts-ends-with"?: RuleNoConfig;
1342
1500
  "unicorn/prefer-string-trim-start-end"?: RuleNoConfig;
1343
- "unicorn/prefer-structured-clone"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, PreferStructuredCloneConfig];
1344
- "unicorn/prefer-ternary"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, PreferTernaryOption];
1501
+ "unicorn/prefer-structured-clone"?: RuleNoConfig | [AllowWarnDeny, PreferStructuredCloneConfig];
1502
+ "unicorn/prefer-ternary"?: RuleNoConfig | [AllowWarnDeny, PreferTernaryOption];
1345
1503
  "unicorn/prefer-top-level-await"?: RuleNoConfig;
1346
1504
  "unicorn/prefer-type-error"?: RuleNoConfig;
1347
- "unicorn/relative-url-style"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, RelativeUrlStyleConfig];
1505
+ "unicorn/relative-url-style"?: RuleNoConfig | [AllowWarnDeny, RelativeUrlStyleConfig];
1348
1506
  "unicorn/require-array-join-separator"?: RuleNoConfig;
1349
1507
  "unicorn/require-module-attributes"?: RuleNoConfig;
1350
1508
  "unicorn/require-module-specifiers"?: RuleNoConfig;
1351
1509
  "unicorn/require-number-to-fixed-digits-argument"?: RuleNoConfig;
1352
1510
  "unicorn/require-post-message-target-origin"?: RuleNoConfig;
1353
- "unicorn/switch-case-braces"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, SwitchCaseBracesConfig];
1511
+ "unicorn/switch-case-braces"?: RuleNoConfig | [AllowWarnDeny, SwitchCaseBracesConfig];
1354
1512
  "unicorn/switch-case-break-position"?: RuleNoConfig;
1355
- "unicorn/text-encoding-identifier-case"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, TextEncodingIdentifierCase];
1513
+ "unicorn/text-encoding-identifier-case"?: RuleNoConfig | [AllowWarnDeny, TextEncodingIdentifierCase];
1356
1514
  "unicorn/throw-new-error"?: RuleNoConfig;
1357
- "use-isnan"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, UseIsnan];
1358
- "valid-typeof"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ValidTypeof];
1515
+ "use-isnan"?: RuleNoConfig | [AllowWarnDeny, UseIsnan];
1516
+ "valid-typeof"?: RuleNoConfig | [AllowWarnDeny, ValidTypeof];
1359
1517
  "vars-on-top"?: RuleNoConfig;
1360
- "vitest/consistent-each-for"?: DummyRule;
1361
- "vitest/consistent-test-filename"?: DummyRule;
1362
- "vitest/consistent-test-it"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ConsistentTestItConfig];
1363
- "vitest/consistent-vitest-vi"?: DummyRule;
1364
- "vitest/expect-expect"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ExpectExpectConfig];
1518
+ "vitest/consistent-each-for"?: RuleNoConfig | [AllowWarnDeny, ConsistentEachForJson];
1519
+ "vitest/consistent-test-filename"?: RuleNoConfig | [AllowWarnDeny, ConsistentTestFilenameConfig];
1520
+ "vitest/consistent-test-it"?: RuleNoConfig | [AllowWarnDeny, ConsistentTestItConfig];
1521
+ "vitest/consistent-vitest-vi"?: RuleNoConfig | [AllowWarnDeny, ConsistentVitestConfig];
1522
+ "vitest/expect-expect"?: RuleNoConfig | [AllowWarnDeny, ExpectExpectConfig];
1365
1523
  "vitest/hoisted-apis-on-top"?: RuleNoConfig;
1366
- "vitest/max-expects"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, MaxExpectsConfig];
1367
- "vitest/max-nested-describe"?: DummyRule;
1524
+ "vitest/max-expects"?: RuleNoConfig | [AllowWarnDeny, MaxExpectsConfig];
1525
+ "vitest/max-nested-describe"?: RuleNoConfig | [AllowWarnDeny, MaxNestedDescribeConfig];
1368
1526
  "vitest/no-alias-methods"?: RuleNoConfig;
1369
1527
  "vitest/no-commented-out-tests"?: RuleNoConfig;
1370
1528
  "vitest/no-conditional-expect"?: RuleNoConfig;
@@ -1373,16 +1531,16 @@ interface DummyRuleMap {
1373
1531
  "vitest/no-disabled-tests"?: RuleNoConfig;
1374
1532
  "vitest/no-duplicate-hooks"?: RuleNoConfig;
1375
1533
  "vitest/no-focused-tests"?: RuleNoConfig;
1376
- "vitest/no-hooks"?: DummyRule;
1534
+ "vitest/no-hooks"?: RuleNoConfig | [AllowWarnDeny, NoHooksConfig];
1377
1535
  "vitest/no-identical-title"?: RuleNoConfig;
1378
1536
  "vitest/no-import-node-test"?: RuleNoConfig;
1379
1537
  "vitest/no-importing-vitest-globals"?: RuleNoConfig;
1380
1538
  "vitest/no-interpolation-in-snapshots"?: RuleNoConfig;
1381
- "vitest/no-large-snapshots"?: DummyRule;
1539
+ "vitest/no-large-snapshots"?: RuleNoConfig | [AllowWarnDeny, NoLargeSnapshotsConfig];
1382
1540
  "vitest/no-mocks-import"?: RuleNoConfig;
1383
- "vitest/no-restricted-matchers"?: DummyRule;
1384
- "vitest/no-restricted-vi-methods"?: DummyRule;
1385
- "vitest/no-standalone-expect"?: DummyRule;
1541
+ "vitest/no-restricted-matchers"?: RuleNoConfig | [AllowWarnDeny, NoRestrictedMatchersConfig];
1542
+ "vitest/no-restricted-vi-methods"?: RuleNoConfig | [AllowWarnDeny, NoRestrictedTestMethodsConfig];
1543
+ "vitest/no-standalone-expect"?: RuleNoConfig | [AllowWarnDeny, NoStandaloneExpectConfig];
1386
1544
  "vitest/no-test-prefixes"?: RuleNoConfig;
1387
1545
  "vitest/no-test-return-statement"?: RuleNoConfig;
1388
1546
  "vitest/no-unneeded-async-expect-function"?: RuleNoConfig;
@@ -1395,17 +1553,17 @@ interface DummyRuleMap {
1395
1553
  "vitest/prefer-describe-function-title"?: RuleNoConfig;
1396
1554
  "vitest/prefer-each"?: RuleNoConfig;
1397
1555
  "vitest/prefer-equality-matcher"?: RuleNoConfig;
1398
- "vitest/prefer-expect-assertions"?: DummyRule;
1556
+ "vitest/prefer-expect-assertions"?: RuleNoConfig | [AllowWarnDeny, PreferExpectAssertionsConfig];
1399
1557
  "vitest/prefer-expect-resolves"?: RuleNoConfig;
1400
1558
  "vitest/prefer-expect-type-of"?: RuleNoConfig;
1401
1559
  "vitest/prefer-hooks-in-order"?: RuleNoConfig;
1402
1560
  "vitest/prefer-hooks-on-top"?: RuleNoConfig;
1403
- "vitest/prefer-import-in-mock"?: DummyRule;
1561
+ "vitest/prefer-import-in-mock"?: RuleNoConfig | [AllowWarnDeny, PreferImportInMockConfig];
1404
1562
  "vitest/prefer-importing-vitest-globals"?: RuleNoConfig;
1405
1563
  "vitest/prefer-lowercase-title"?: DummyRule;
1406
1564
  "vitest/prefer-mock-promise-shorthand"?: RuleNoConfig;
1407
1565
  "vitest/prefer-mock-return-shorthand"?: RuleNoConfig;
1408
- "vitest/prefer-snapshot-hint"?: DummyRule;
1566
+ "vitest/prefer-snapshot-hint"?: RuleNoConfig | [AllowWarnDeny, SnapshotHintMode];
1409
1567
  "vitest/prefer-spy-on"?: RuleNoConfig;
1410
1568
  "vitest/prefer-strict-boolean-matchers"?: RuleNoConfig;
1411
1569
  "vitest/prefer-strict-equal"?: RuleNoConfig;
@@ -1418,60 +1576,64 @@ interface DummyRuleMap {
1418
1576
  "vitest/prefer-to-have-length"?: RuleNoConfig;
1419
1577
  "vitest/prefer-todo"?: RuleNoConfig;
1420
1578
  "vitest/require-awaited-expect-poll"?: RuleNoConfig;
1421
- "vitest/require-hook"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, RequireHookConfig];
1579
+ "vitest/require-hook"?: RuleNoConfig | [AllowWarnDeny, RequireHookConfig];
1422
1580
  "vitest/require-local-test-context-for-concurrent-snapshots"?: RuleNoConfig;
1423
- "vitest/require-mock-type-parameters"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, RequireMockTypeParametersConfig];
1581
+ "vitest/require-mock-type-parameters"?: RuleNoConfig | [AllowWarnDeny, RequireMockTypeParametersConfig];
1424
1582
  "vitest/require-test-timeout"?: RuleNoConfig;
1425
1583
  "vitest/require-to-throw-message"?: RuleNoConfig;
1426
- "vitest/require-top-level-describe"?: DummyRule;
1584
+ "vitest/require-top-level-describe"?: RuleNoConfig | [AllowWarnDeny, RequireTopLevelDescribeConfig];
1427
1585
  "vitest/valid-describe-callback"?: RuleNoConfig;
1428
- "vitest/valid-expect"?: DummyRule;
1586
+ "vitest/valid-expect"?: RuleNoConfig | [AllowWarnDeny, ValidExpectConfig];
1429
1587
  "vitest/valid-expect-in-promise"?: RuleNoConfig;
1430
1588
  "vitest/valid-title"?: DummyRule;
1431
1589
  "vitest/warn-todo"?: RuleNoConfig;
1432
- "vue/component-definition-name-casing"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, CaseType];
1433
- "vue/define-emits-declaration"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, DeclarationStyle];
1434
- "vue/define-props-declaration"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, DeclarationStyle2];
1435
- "vue/define-props-destructuring"?: DummyRule;
1436
- "vue/max-props"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, MaxProps];
1437
- "vue/next-tick-style"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NextTickOption];
1590
+ "vue/component-definition-name-casing"?: RuleNoConfig | [AllowWarnDeny, CaseType];
1591
+ "vue/define-emits-declaration"?: RuleNoConfig | [AllowWarnDeny, DeclarationStyle];
1592
+ "vue/define-props-declaration"?: RuleNoConfig | [AllowWarnDeny, DeclarationStyle2];
1593
+ "vue/define-props-destructuring"?: RuleNoConfig | [AllowWarnDeny, DefinePropsDestructuring];
1594
+ "vue/max-props"?: RuleNoConfig | [AllowWarnDeny, MaxProps];
1595
+ "vue/next-tick-style"?: RuleNoConfig | [AllowWarnDeny, NextTickOption];
1438
1596
  "vue/no-arrow-functions-in-watch"?: RuleNoConfig;
1597
+ "vue/no-async-in-computed-properties"?: RuleNoConfig | [AllowWarnDeny, NoAsyncInComputedPropertiesConfig];
1439
1598
  "vue/no-computed-properties-in-data"?: RuleNoConfig;
1440
1599
  "vue/no-deprecated-data-object-declaration"?: RuleNoConfig;
1441
1600
  "vue/no-deprecated-delete-set"?: RuleNoConfig;
1442
1601
  "vue/no-deprecated-destroyed-lifecycle"?: RuleNoConfig;
1443
1602
  "vue/no-deprecated-events-api"?: RuleNoConfig;
1444
- "vue/no-deprecated-model-definition"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoDeprecatedModelDefinitionConfig];
1603
+ "vue/no-deprecated-model-definition"?: RuleNoConfig | [AllowWarnDeny, NoDeprecatedModelDefinitionConfig];
1445
1604
  "vue/no-deprecated-props-default-this"?: RuleNoConfig;
1446
1605
  "vue/no-deprecated-vue-config-keycodes"?: RuleNoConfig;
1606
+ "vue/no-dupe-keys"?: RuleNoConfig | [AllowWarnDeny, NoDupeKeysConfig];
1447
1607
  "vue/no-export-in-script-setup"?: RuleNoConfig;
1448
1608
  "vue/no-expose-after-await"?: RuleNoConfig;
1449
1609
  "vue/no-import-compiler-macros"?: RuleNoConfig;
1450
1610
  "vue/no-lifecycle-after-await"?: RuleNoConfig;
1451
1611
  "vue/no-multiple-slot-args"?: RuleNoConfig;
1452
1612
  "vue/no-required-prop-with-default"?: RuleNoConfig;
1453
- "vue/no-reserved-component-names"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoReservedComponentNames];
1454
- "vue/no-reserved-keys"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoReservedKeysConfig];
1455
- "vue/no-reserved-props"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, NoReservedPropsConfig];
1613
+ "vue/no-reserved-component-names"?: RuleNoConfig | [AllowWarnDeny, NoReservedComponentNames];
1614
+ "vue/no-reserved-keys"?: RuleNoConfig | [AllowWarnDeny, NoReservedKeysConfig];
1615
+ "vue/no-reserved-props"?: RuleNoConfig | [AllowWarnDeny, NoReservedPropsConfig];
1456
1616
  "vue/no-shared-component-data"?: RuleNoConfig;
1617
+ "vue/no-side-effects-in-computed-properties"?: RuleNoConfig;
1457
1618
  "vue/no-this-in-before-route-enter"?: RuleNoConfig;
1458
1619
  "vue/no-watch-after-await"?: RuleNoConfig;
1459
1620
  "vue/prefer-import-from-vue"?: RuleNoConfig;
1460
- "vue/prop-name-casing"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, CaseType2] | [AllowWarnDeny, CaseType2, Options$1];
1621
+ "vue/prop-name-casing"?: RuleNoConfig | [AllowWarnDeny, CaseType2] | [AllowWarnDeny, CaseType2, Options$1];
1461
1622
  "vue/require-default-export"?: RuleNoConfig;
1462
- "vue/require-direct-export"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, RequireDirectExport];
1623
+ "vue/require-default-prop"?: RuleNoConfig;
1624
+ "vue/require-direct-export"?: RuleNoConfig | [AllowWarnDeny, RequireDirectExport];
1463
1625
  "vue/require-prop-type-constructor"?: RuleNoConfig;
1464
1626
  "vue/require-prop-types"?: RuleNoConfig;
1465
1627
  "vue/require-render-return"?: RuleNoConfig;
1466
1628
  "vue/require-slots-as-functions"?: RuleNoConfig;
1467
1629
  "vue/require-typed-ref"?: RuleNoConfig;
1468
- "vue/return-in-computed-property"?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, ReturnInComputedPropertyConfig];
1630
+ "vue/return-in-computed-property"?: RuleNoConfig | [AllowWarnDeny, ReturnInComputedPropertyConfig];
1469
1631
  "vue/return-in-emits-validator"?: RuleNoConfig;
1470
1632
  "vue/valid-define-emits"?: RuleNoConfig;
1471
1633
  "vue/valid-define-options"?: RuleNoConfig;
1472
1634
  "vue/valid-define-props"?: RuleNoConfig;
1473
1635
  "vue/valid-next-tick"?: RuleNoConfig;
1474
- yoda?: AllowWarnDeny | [AllowWarnDeny] | [AllowWarnDeny, AllowYoda] | [AllowWarnDeny, AllowYoda, YodaOptions];
1636
+ yoda?: RuleNoConfig | [AllowWarnDeny, AllowYoda] | [AllowWarnDeny, AllowYoda, YodaOptions];
1475
1637
  [k: string]: DummyRule | undefined;
1476
1638
  }
1477
1639
  interface AccessorPairsConfig {
@@ -1509,6 +1671,10 @@ interface ArrayCallbackReturn {
1509
1671
  checkForEach?: boolean;
1510
1672
  }
1511
1673
  interface ArrowBodyStyleConfig {
1674
+ /**
1675
+ * Requires braces and an explicit return for object literals. This option only applies when
1676
+ * the first option is `"as-needed"`.
1677
+ */
1512
1678
  requireReturnForObjectLiteral?: boolean;
1513
1679
  }
1514
1680
  interface CommentConfigJson {
@@ -1588,6 +1754,16 @@ interface EqeqeqOptions {
1588
1754
  */
1589
1755
  null?: NullType;
1590
1756
  }
1757
+ interface FuncNameMatchingConfig {
1758
+ /**
1759
+ * If `considerPropertyDescriptor` is set to `true`, the check will take into account the use of `Object.create`, `Object.defineProperty`, `Object.defineProperties`, and `Reflect.defineProperty`.
1760
+ */
1761
+ considerPropertyDescriptor?: boolean;
1762
+ /**
1763
+ * If `includeCommonJSModuleExports` is set to `true`, `module.exports` and `module["exports"]` will be checked by this rule.
1764
+ */
1765
+ includeCommonJSModuleExports?: boolean;
1766
+ }
1591
1767
  interface FuncNamesGeneratorsConfig {
1592
1768
  /**
1593
1769
  * Configuration for generator function expressions. If not specified, uses the
@@ -1720,6 +1896,36 @@ interface IdMatchOptions {
1720
1896
  */
1721
1897
  properties?: boolean;
1722
1898
  }
1899
+ interface ImportExtensionsConfig {
1900
+ /**
1901
+ * Whether to check type imports when enforcing extension rules.
1902
+ */
1903
+ checkTypeImports?: boolean;
1904
+ /**
1905
+ * Whether to ignore package imports when enforcing extension rules.
1906
+ */
1907
+ ignorePackages?: boolean;
1908
+ /**
1909
+ * Path group overrides for bespoke import specifiers.
1910
+ */
1911
+ pathGroupOverrides?: PathGroupOverrideConfig[];
1912
+ /**
1913
+ * Per-extension rules.
1914
+ */
1915
+ pattern?: {
1916
+ [k: string]: ExtensionRule;
1917
+ };
1918
+ }
1919
+ interface PathGroupOverrideConfig {
1920
+ /**
1921
+ * Action to take when pattern matches.
1922
+ */
1923
+ action: PathGroupAction;
1924
+ /**
1925
+ * Glob pattern to match import specifiers.
1926
+ */
1927
+ pattern: string;
1928
+ }
1723
1929
  interface MaxDependenciesConfig {
1724
1930
  /**
1725
1931
  * Whether to ignore type imports when counting dependencies.
@@ -1996,6 +2202,77 @@ interface MaxExpectsConfig {
1996
2202
  */
1997
2203
  max?: number;
1998
2204
  }
2205
+ interface MaxNestedDescribeConfig {
2206
+ /**
2207
+ * Maximum allowed depth of nested describe calls.
2208
+ */
2209
+ max?: number;
2210
+ }
2211
+ interface NoDeprecatedFunctionsConfig {
2212
+ /**
2213
+ * Jest configuration options.
2214
+ * Deprecated config, it will be removed in future versions.
2215
+ * Use please instead { "settings": { "jest": {"version": 29 } } } in `Oxlint config file`.
2216
+ * Beware the value from the config have higher priority than the rule config.
2217
+ */
2218
+ jest?: JestConfigJson;
2219
+ }
2220
+ interface JestConfigJson {
2221
+ /**
2222
+ * The version of Jest being used.
2223
+ */
2224
+ version?: string;
2225
+ }
2226
+ interface NoHooksConfig {
2227
+ /**
2228
+ * An array of hook function names that are permitted for use.
2229
+ */
2230
+ allow?: string[];
2231
+ }
2232
+ interface NoLargeSnapshotsConfig {
2233
+ /**
2234
+ * A map of snapshot file paths to arrays of snapshot names that are allowed to exceed the size limit.
2235
+ * Snapshot names can be specified as regular expressions.
2236
+ */
2237
+ allowedSnapshots?: {
2238
+ [k: string]: string[] | undefined;
2239
+ };
2240
+ /**
2241
+ * Maximum number of lines allowed for inline snapshots.
2242
+ */
2243
+ inlineMaxSize?: number;
2244
+ /**
2245
+ * Maximum number of lines allowed for external snapshot files.
2246
+ */
2247
+ maxSize?: number;
2248
+ }
2249
+ interface NoRestrictedTestMethodsConfig {
2250
+ [k: string]: (string | null) | undefined;
2251
+ }
2252
+ interface NoRestrictedMatchersConfig {
2253
+ [k: string]: (string | null) | undefined;
2254
+ }
2255
+ interface NoStandaloneExpectConfig {
2256
+ /**
2257
+ * An array of function names that should also be treated as test blocks.
2258
+ */
2259
+ additionalTestBlockFunctions?: string[];
2260
+ }
2261
+ interface PreferEndingWithAnExpectConfig {
2262
+ /**
2263
+ * An array of function names that should also be treated as test blocks.
2264
+ */
2265
+ additionalTestBlockFunctions?: string[];
2266
+ /**
2267
+ * A list of function names that should be treated as assertion functions.
2268
+ */
2269
+ assertFunctionNames?: string[];
2270
+ }
2271
+ interface PreferExpectAssertionsConfig {
2272
+ onlyFunctionsWithAsyncKeyword?: boolean;
2273
+ onlyFunctionsWithExpectInCallback?: boolean;
2274
+ onlyFunctionsWithExpectInLoop?: boolean;
2275
+ }
1999
2276
  interface PreferImportingJestGlobalsConfig {
2000
2277
  /**
2001
2278
  * Jest function types to enforce importing for.
@@ -2008,6 +2285,30 @@ interface RequireHookConfig {
2008
2285
  */
2009
2286
  allowedFunctionCalls?: string[];
2010
2287
  }
2288
+ interface RequireTopLevelDescribeConfig {
2289
+ /**
2290
+ * The maximum number of top-level `describe` blocks allowed in a test file.
2291
+ */
2292
+ maxNumberOfTopLevelDescribes?: number;
2293
+ }
2294
+ interface ValidExpectConfig {
2295
+ /**
2296
+ * When `true`, async assertions must be awaited in all contexts (not just return statements).
2297
+ */
2298
+ alwaysAwait?: boolean;
2299
+ /**
2300
+ * List of matchers that are considered async and therefore require awaiting (e.g. `toResolve`, `toReject`).
2301
+ */
2302
+ asyncMatchers?: string[];
2303
+ /**
2304
+ * Maximum number of arguments `expect` should be called with.
2305
+ */
2306
+ maxArgs?: number;
2307
+ /**
2308
+ * Minimum number of arguments `expect` should be called with.
2309
+ */
2310
+ minArgs?: number;
2311
+ }
2011
2312
  interface CheckTagNamesConfig {
2012
2313
  /**
2013
2314
  * Additional tag names to allow.
@@ -2038,6 +2339,28 @@ interface NoDefaultsConfig {
2038
2339
  */
2039
2340
  noOptionalParamNames?: boolean;
2040
2341
  }
2342
+ interface RequireParamDescriptionConfig {
2343
+ /**
2344
+ * The description string to set by default for destructured roots. Defaults to "The root object".
2345
+ */
2346
+ defaultDestructuredRootDescription?: string;
2347
+ /**
2348
+ * Whether to set a default destructured root description.
2349
+ * For example, you may wish to avoid manually having to set the description for a @param corresponding to a destructured root object as it should always be the same type of object.
2350
+ * Uses `defaultDestructuredRootDescription` for the description string. Defaults to `false`.
2351
+ */
2352
+ setDefaultDestructuredRootDescription?: boolean;
2353
+ }
2354
+ interface RequireParamTypeConfig {
2355
+ /**
2356
+ * The type string to set by default for destructured roots. Defaults to "object".
2357
+ */
2358
+ defaultDestructuredRootType?: string;
2359
+ /**
2360
+ * Whether to set a default destructured root type. For example, you may wish to avoid manually having to set the type for a `@param` corresponding to a destructured root object as it is always going to be an object. Uses `defaultDestructuredRootType` for the type string. Defaults to `false`.
2361
+ */
2362
+ setDefaultDestructuredRootType?: boolean;
2363
+ }
2041
2364
  interface RequireReturnsConfig {
2042
2365
  /**
2043
2366
  * Whether to check constructor methods.
@@ -2074,12 +2397,48 @@ interface RequireYieldsConfig {
2074
2397
  */
2075
2398
  withGeneratorTag?: boolean;
2076
2399
  }
2400
+ interface AltTextConfigSchema {
2401
+ /**
2402
+ * Custom components to check for alt text on `area` elements.
2403
+ */
2404
+ area?: string[];
2405
+ /**
2406
+ * Custom components to check for alt text on any of the supported elements.
2407
+ */
2408
+ elements?: AltTextElements[];
2409
+ /**
2410
+ * Custom components to check for alt text on `img` elements.
2411
+ */
2412
+ img?: string[];
2413
+ /**
2414
+ * Custom components to check for alt text on `input[type="image"]` elements.
2415
+ */
2416
+ 'input[type="image"]'?: string[];
2417
+ /**
2418
+ * Custom components to check for alt text on `object` elements.
2419
+ */
2420
+ object?: string[];
2421
+ }
2077
2422
  interface AnchorAmbiguousTextConfig {
2078
2423
  /**
2079
2424
  * List of ambiguous words or phrases that should be flagged in anchor text.
2080
2425
  */
2081
2426
  words?: string[];
2082
2427
  }
2428
+ interface AnchorIsValidConfig {
2429
+ /**
2430
+ * Sub-rule aspects to run.
2431
+ */
2432
+ aspects?: AnchorIsValidAspect[];
2433
+ /**
2434
+ * Custom components to treat as anchor elements.
2435
+ */
2436
+ components?: string[];
2437
+ /**
2438
+ * Custom prop names to treat as link destinations.
2439
+ */
2440
+ specialLink?: string[];
2441
+ }
2083
2442
  interface AriaRoleConfig {
2084
2443
  /**
2085
2444
  * Custom roles that should be allowed in addition to the ARIA spec.
@@ -2096,6 +2455,31 @@ interface AutocompleteValidConfig {
2096
2455
  */
2097
2456
  inputComponents?: string[];
2098
2457
  }
2458
+ interface ControlHasAssociatedLabelConfig {
2459
+ /**
2460
+ * Custom JSX components to be treated as interactive controls.
2461
+ */
2462
+ controlComponents?: string[];
2463
+ /**
2464
+ * Maximum depth to search for an accessible label within the element.
2465
+ * Defaults to `2`.
2466
+ */
2467
+ depth?: number;
2468
+ /**
2469
+ * Elements to ignore.
2470
+ * Defaults to `["audio", "canvas", "embed", "input", "textarea", "tr", "video"]`.
2471
+ */
2472
+ ignoreElements?: string[];
2473
+ /**
2474
+ * Interactive roles to ignore.
2475
+ * Defaults to `["grid", "listbox", "menu", "menubar", "radiogroup", "row", "tablist", "toolbar", "tree", "treegrid"]`.
2476
+ */
2477
+ ignoreRoles?: string[];
2478
+ /**
2479
+ * Additional attributes to check for accessible label text.
2480
+ */
2481
+ labelAttributes?: string[];
2482
+ }
2099
2483
  interface HeadingHasContentConfig {
2100
2484
  /**
2101
2485
  * Additional custom component names to treat as heading elements.
@@ -2103,6 +2487,17 @@ interface HeadingHasContentConfig {
2103
2487
  */
2104
2488
  components?: string[];
2105
2489
  }
2490
+ interface ImgRedundantAltConfig {
2491
+ /**
2492
+ * JSX element types to validate (component names) where the rule applies.
2493
+ * For example, `["img", "Image"]`.
2494
+ */
2495
+ components?: string[];
2496
+ /**
2497
+ * Words considered redundant in alt text that should trigger a warning.
2498
+ */
2499
+ words?: string[];
2500
+ }
2106
2501
  interface InteractiveSupportsFocusConfig {
2107
2502
  /**
2108
2503
  * An array of interactive ARIA roles that should be considered tabbable (require `tabIndex={0}`).
@@ -2111,6 +2506,42 @@ interface InteractiveSupportsFocusConfig {
2111
2506
  */
2112
2507
  tabbable?: string[];
2113
2508
  }
2509
+ interface LabelHasAssociatedControlConfig {
2510
+ /**
2511
+ * The type of association required between the label and the control.
2512
+ */
2513
+ assert?: Assert;
2514
+ /**
2515
+ * Custom JSX components to be treated as form controls.
2516
+ */
2517
+ controlComponents?: string[];
2518
+ /**
2519
+ * Maximum depth to search for a nested control.
2520
+ */
2521
+ depth?: number;
2522
+ /**
2523
+ * Attributes to check for accessible label text.
2524
+ */
2525
+ labelAttributes?: string[];
2526
+ /**
2527
+ * Custom JSX components to be treated as labels.
2528
+ */
2529
+ labelComponents?: string[];
2530
+ }
2531
+ interface MediaHasCaptionConfig {
2532
+ /**
2533
+ * Element names to treat as `<audio>` elements
2534
+ */
2535
+ audio?: string[];
2536
+ /**
2537
+ * Element names to treat as `<track>` elements
2538
+ */
2539
+ track?: string[];
2540
+ /**
2541
+ * Element names to treat as `<video>` elements
2542
+ */
2543
+ video?: string[];
2544
+ }
2114
2545
  interface MouseEventsHaveKeyEventsConfig {
2115
2546
  /**
2116
2547
  * List of hover-in mouse event handlers that require corresponding keyboard event handlers.
@@ -2127,6 +2558,42 @@ interface NoAutofocus {
2127
2558
  */
2128
2559
  ignoreNonDOM?: boolean;
2129
2560
  }
2561
+ interface NoDistractingElementsConfig {
2562
+ /**
2563
+ * List of distracting elements to check for.
2564
+ */
2565
+ elements?: DistractingElement[];
2566
+ }
2567
+ interface NoInteractiveElementToNoninteractiveRoleConfig {
2568
+ [k: string]: string[] | undefined;
2569
+ }
2570
+ interface NoNoninteractiveElementInteractionsConfig {
2571
+ /**
2572
+ * An array of event handler names that should trigger this rule.
2573
+ */
2574
+ handlers?: string[];
2575
+ [k: string]: string[] | undefined;
2576
+ }
2577
+ interface NoNoninteractiveElementToInteractiveRoleConfig {
2578
+ [k: string]: string[] | undefined;
2579
+ }
2580
+ interface NoNoninteractiveTabindexConfig {
2581
+ /**
2582
+ * If `true`, allows tabIndex values to be expression values (e.g., variables, ternaries). If `false`, only string literal values are allowed.
2583
+ */
2584
+ allowExpressionValues?: boolean;
2585
+ /**
2586
+ * An array of ARIA roles that should be considered interactive.
2587
+ */
2588
+ roles?: string[];
2589
+ /**
2590
+ * An array of custom HTML elements that should be considered interactive.
2591
+ */
2592
+ tags?: string[];
2593
+ }
2594
+ interface NoRedundantRolesConfig {
2595
+ [k: string]: string[] | undefined;
2596
+ }
2130
2597
  interface NoStaticElementInteractionsConfig {
2131
2598
  /**
2132
2599
  * If `true`, role attribute values that are JSX expressions (e.g., `role={ROLE}`) are allowed.
@@ -2838,6 +3305,31 @@ interface RestrictDefaultExports {
2838
3305
  */
2839
3306
  namespaceFrom?: boolean;
2840
3307
  }
3308
+ interface PropertyDetails {
3309
+ /**
3310
+ * Objects where property access should be allowed. This must be used with `property` and
3311
+ * cannot be used with `object`.
3312
+ */
3313
+ allowObjects?: string[];
3314
+ /**
3315
+ * Properties where property access should be allowed. This must be used with `object` and
3316
+ * cannot be used with `property`.
3317
+ */
3318
+ allowProperties?: string[];
3319
+ /**
3320
+ * A custom message to display.
3321
+ */
3322
+ message?: string;
3323
+ /**
3324
+ * The object on which the property is being accessed.
3325
+ */
3326
+ object?: string;
3327
+ /**
3328
+ * The property being accessed. If `object` is not specified, this applies to the named
3329
+ * property on all objects.
3330
+ */
3331
+ property?: string;
3332
+ }
2841
3333
  interface NoSelfAssign {
2842
3334
  /**
2843
3335
  * The `props` option when set to `false`, disables the checking of properties.
@@ -2856,7 +3348,6 @@ interface NoSequences {
2856
3348
  /**
2857
3349
  * If this option is set to `false`, this rule disallows the comma operator
2858
3350
  * even when the expression sequence is explicitly wrapped in parentheses.
2859
- * Default is `true`.
2860
3351
  */
2861
3352
  allowInParentheses?: boolean;
2862
3353
  }
@@ -3250,6 +3741,36 @@ interface NoUnusedVarsFixOptions {
3250
3741
  */
3251
3742
  variables?: NoUnusedVarsFixMode;
3252
3743
  }
3744
+ interface NoUseBeforeDefineConfig {
3745
+ /**
3746
+ * Allow named exports that appear before declaration.
3747
+ */
3748
+ allowNamedExports?: boolean;
3749
+ /**
3750
+ * Check class declarations.
3751
+ */
3752
+ classes?: boolean;
3753
+ /**
3754
+ * Check enum declarations.
3755
+ */
3756
+ enums?: boolean;
3757
+ /**
3758
+ * Check function declarations.
3759
+ */
3760
+ functions?: boolean;
3761
+ /**
3762
+ * Ignore usages that are type-only references.
3763
+ */
3764
+ ignoreTypeReferences?: boolean;
3765
+ /**
3766
+ * Check type aliases, interfaces, and type parameters.
3767
+ */
3768
+ typedefs?: boolean;
3769
+ /**
3770
+ * Check variable declarations.
3771
+ */
3772
+ variables?: boolean;
3773
+ }
3253
3774
  interface NoUselessComputedKey {
3254
3775
  /**
3255
3776
  * The `enforceForClassMembers` option controls whether the rule applies to
@@ -3302,18 +3823,38 @@ interface NoWarningCommentsConfigJson {
3302
3823
  location?: Location;
3303
3824
  terms?: string[];
3304
3825
  }
3826
+ interface NoMixedRequiresOptions {
3827
+ allowCall?: boolean;
3828
+ grouping?: boolean;
3829
+ }
3305
3830
  interface NoProcessEnvConfig {
3306
3831
  /**
3307
3832
  * Variable names which are allowed to be accessed on `process.env`.
3308
3833
  */
3309
3834
  allowedVariables?: string[];
3310
3835
  }
3836
+ interface NoSyncConfig {
3837
+ /**
3838
+ * Whether synchronous methods should be allowed at the top level of a file.
3839
+ */
3840
+ allowAtRootLevel?: boolean;
3841
+ /**
3842
+ * Function names to ignore.
3843
+ */
3844
+ ignores?: string[];
3845
+ }
3311
3846
  interface ObjectShorthandOptions {
3312
3847
  avoidExplicitReturnArrows?: boolean;
3313
3848
  avoidQuotes?: boolean;
3314
3849
  ignoreConstructors?: boolean;
3315
3850
  methodsIgnorePattern?: string;
3316
3851
  }
3852
+ interface NoAsyncEndpointHandlersConfig {
3853
+ /**
3854
+ * An array of names that are allowed to be async.
3855
+ */
3856
+ allowedNames?: string[];
3857
+ }
3317
3858
  interface NoBarrelFile {
3318
3859
  /**
3319
3860
  * The maximum number of modules that can be re-exported via `export *`
@@ -3376,7 +3917,13 @@ interface NoRestSpreadPropertiesOptions {
3376
3917
  objectSpreadMessage?: string;
3377
3918
  }
3378
3919
  interface PreferArrowCallbackConfig {
3920
+ /**
3921
+ * If this option is set to `true`, named function expressions are allowed.
3922
+ */
3379
3923
  allowNamedFunctions?: boolean;
3924
+ /**
3925
+ * If this option is set to `false`, function expressions that reference `this` are reported even when they are not bound to a `this` value.
3926
+ */
3380
3927
  allowUnboundThis?: boolean;
3381
3928
  }
3382
3929
  interface PreferConstConfig {
@@ -3390,6 +3937,17 @@ interface PreferConstConfig {
3390
3937
  */
3391
3938
  ignoreReadBeforeAssign?: boolean;
3392
3939
  }
3940
+ interface PreferDestructuringTargetOption {
3941
+ array?: boolean;
3942
+ object?: boolean;
3943
+ }
3944
+ interface PreferDestructuringAssignmentConfig {
3945
+ AssignmentExpression?: PreferDestructuringTargetOption;
3946
+ VariableDeclarator?: PreferDestructuringTargetOption;
3947
+ }
3948
+ interface PreferDestructuringRenamedPropertiesConfig {
3949
+ enforceForRenamedProperties?: boolean;
3950
+ }
3393
3951
  interface PreferPromiseRejectErrors {
3394
3952
  /**
3395
3953
  * Whether to allow calls to `Promise.reject()` with no arguments.
@@ -3510,11 +4068,39 @@ interface AlwaysReturnConfig {
3510
4068
  */
3511
4069
  ignoreLastCallback?: boolean;
3512
4070
  }
3513
- interface NoPromiseInCallbackConfig {
4071
+ interface CatchOrReturnConfig {
3514
4072
  /**
3515
- * Whether or not to exempt function declarations. Defaults to `false`.
4073
+ * Whether to allow `finally()` as a termination method.
3516
4074
  */
3517
- exemptDeclarations?: boolean;
4075
+ allowFinally?: boolean;
4076
+ /**
4077
+ * Whether to allow `then()` with two arguments as a termination method.
4078
+ */
4079
+ allowThen?: boolean;
4080
+ /**
4081
+ * Whether to allow `then(null, handler)` as a termination method.
4082
+ */
4083
+ allowThenStrict?: boolean;
4084
+ /**
4085
+ * List of allowed termination methods (e.g., `catch`, `done`).
4086
+ */
4087
+ terminationMethod?: TerminationMethod;
4088
+ }
4089
+ interface NoCallbackInPromiseConfig {
4090
+ /**
4091
+ * List of callback function names to allow within Promise `then` and `catch` methods.
4092
+ */
4093
+ exceptions?: string[];
4094
+ /**
4095
+ * Boolean as to whether callbacks in timeout functions like `setTimeout` will err.
4096
+ */
4097
+ timeoutsErr?: boolean;
4098
+ }
4099
+ interface NoPromiseInCallbackConfig {
4100
+ /**
4101
+ * Whether or not to exempt function declarations. Defaults to `false`.
4102
+ */
4103
+ exemptDeclarations?: boolean;
3518
4104
  }
3519
4105
  interface NoReturnWrap {
3520
4106
  /**
@@ -3535,6 +4121,18 @@ interface NoReturnWrap {
3535
4121
  */
3536
4122
  allowReject?: boolean;
3537
4123
  }
4124
+ interface ParamNamesConfig {
4125
+ /**
4126
+ * Regex pattern used to validate the `reject` parameter name. If provided, this pattern
4127
+ * is used instead of the default `^_?reject$` check.
4128
+ */
4129
+ rejectPattern?: string;
4130
+ /**
4131
+ * Regex pattern used to validate the `resolve` parameter name. If provided, this pattern
4132
+ * is used instead of the default `^_?resolve$` check.
4133
+ */
4134
+ resolvePattern?: string;
4135
+ }
3538
4136
  interface PreferAwaitToThenConfig {
3539
4137
  /**
3540
4138
  * If true, enforces the rule even after an `await` or `yield` expression.
@@ -3547,6 +4145,15 @@ interface SpecOnlyConfig {
3547
4145
  */
3548
4146
  allowedMethods?: string[];
3549
4147
  }
4148
+ interface ReactPerfConfig {
4149
+ /**
4150
+ * Controls whether native elements (lowercase-first-letter tags such as `div`)
4151
+ * are ignored by the rule. Set to `"all"` to ignore every attribute on native
4152
+ * elements, or to an array of attribute names to ignore only those attributes
4153
+ * on native elements.
4154
+ */
4155
+ nativeAllowList?: NativeAllowList;
4156
+ }
3550
4157
  interface ButtonHasType {
3551
4158
  /**
3552
4159
  * If true, allow `type="button"`.
@@ -3586,6 +4193,12 @@ interface DisplayNameConfig {
3586
4193
  */
3587
4194
  ignoreTranspilerName?: boolean;
3588
4195
  }
4196
+ interface ExhaustiveDepsConfig {
4197
+ /**
4198
+ * Optionally provide a regex of additional hooks to check.
4199
+ */
4200
+ additionalHooks?: string;
4201
+ }
3589
4202
  interface ForbidComponentPropsConfig {
3590
4203
  /**
3591
4204
  * An array specifying the names of props that are forbidden.
@@ -3722,6 +4335,74 @@ interface JsxBooleanValueOptions {
3722
4335
  */
3723
4336
  never?: string[];
3724
4337
  }
4338
+ interface JsxCurlyBracePresence {
4339
+ /**
4340
+ * Whether to enforce or disallow curly braces for child content of a JSX element.
4341
+ *
4342
+ * - `never` will disallow unnecessary curly braces, e.g. this will be preferred: `<Foo>I love oxlint</Foo>`
4343
+ * - `always` will force the usage of curly braces like this, in all cases: `<Foo>{'I love oxlint'}</Foo>`
4344
+ * - `ignore` will allow either style for child content.
4345
+ */
4346
+ children?: JsxCurlyBracePresenceMode;
4347
+ /**
4348
+ * When set to `ignore` or `never`, this JSX code is allowed (or enforced):
4349
+ * `<App prop=<div /> />;`
4350
+ *
4351
+ * When set to `always`, the curly braces are required for prop values that are
4352
+ * JSX elements: `<App prop={<div />} />;`
4353
+ *
4354
+ * **Note**: it is _highly_ recommended that you set `propElementValues` to `always`.
4355
+ * The ability to omit curly braces around prop values that are JSX elements is obscure, and
4356
+ * intentionally undocumented, and should not be relied upon.
4357
+ */
4358
+ propElementValues?: JsxCurlyBracePresenceMode;
4359
+ /**
4360
+ * Whether to enforce or disallow curly braces for props on JSX elements.
4361
+ *
4362
+ * - `never` will disallow unnecessary curly braces, e.g. this will be preferred: `<Foo foo="bar" />`
4363
+ * - `always` will force the usage of curly braces like this, in all cases: `<Foo foo={'bar'} />`
4364
+ * - `ignore` will allow either style for prop values.
4365
+ */
4366
+ props?: JsxCurlyBracePresenceMode;
4367
+ }
4368
+ interface JsxFilenameExtensionConfig {
4369
+ /**
4370
+ * When to allow a JSX filename extension. By default all files may have a JSX extension.
4371
+ * Set this to `as-needed` to only allow JSX file extensions in files that contain JSX syntax.
4372
+ */
4373
+ allow?: JsxFilenameExtensionAllowMode;
4374
+ /**
4375
+ * The set of allowed file extensions.
4376
+ * Can include or exclude the leading dot (e.g., "jsx" and ".jsx" are both valid).
4377
+ */
4378
+ extensions?: string[];
4379
+ /**
4380
+ * If enabled, files that do not contain code (i.e. are empty, contain only whitespaces or comments) will not be rejected.
4381
+ */
4382
+ ignoreFilesWithoutCode?: boolean;
4383
+ }
4384
+ interface JsxHandlerNamesConfig {
4385
+ /**
4386
+ * Whether to check for inline functions in JSX attributes.
4387
+ */
4388
+ checkInlineFunction?: boolean;
4389
+ /**
4390
+ * Whether to check for local variables in JSX attributes.
4391
+ */
4392
+ checkLocalVariables?: boolean;
4393
+ /**
4394
+ * Event handler prefixes to check against.
4395
+ */
4396
+ eventHandlerPrefix?: string | false;
4397
+ /**
4398
+ * Event handler prop prefixes to check against.
4399
+ */
4400
+ eventHandlerPropPrefix?: string | false;
4401
+ /**
4402
+ * Component names to ignore when checking for event handler prefixes.
4403
+ */
4404
+ ignoreComponentNames?: string[];
4405
+ }
3725
4406
  interface JsxKeyConfig {
3726
4407
  /**
3727
4408
  * When true, check fragment shorthand `<>` for keys
@@ -3742,6 +4423,108 @@ interface JsxMaxDepthConfig {
3742
4423
  */
3743
4424
  max?: number;
3744
4425
  }
4426
+ /**
4427
+ * The options shared between the top-level config and each `elementOverrides` entry.
4428
+ */
4429
+ interface JsxNoLiteralsConfig {
4430
+ /**
4431
+ * An array of unique string values that would otherwise warn, but will be ignored.
4432
+ */
4433
+ allowedStrings?: string[];
4434
+ /**
4435
+ * An object where the keys are the element names and the values are objects with the same options as above. This allows you to specify different options for different elements.
4436
+ */
4437
+ elementOverrides?: {
4438
+ [k: string]: ElementOverrideOptions | undefined;
4439
+ };
4440
+ /**
4441
+ * (default: false) - When true the rule ignores literals used in props, wrapped or unwrapped.
4442
+ */
4443
+ ignoreProps?: boolean;
4444
+ /**
4445
+ * (default: false) - Enforces no string literals used in attributes when set to true.
4446
+ */
4447
+ noAttributeStrings?: boolean;
4448
+ /**
4449
+ * (default: false) - Enforces no string literals used as children, wrapped or unwrapped.
4450
+ */
4451
+ noStrings?: boolean;
4452
+ /**
4453
+ * An array of unique attribute names where string literals should be restricted. Only the specified attributes will be checked for string literals when this option is used. Note: When noAttributeStrings is true, this option is ignored at the root level.
4454
+ */
4455
+ restrictedAttributes?: string[];
4456
+ }
4457
+ /**
4458
+ * One entry in `elementOverrides`: the base options plus override-only fields.
4459
+ */
4460
+ interface ElementOverrideOptions {
4461
+ /**
4462
+ * (default: false) - When true the rule will allow the specified element to have string literals as children, wrapped or unwrapped without warning.
4463
+ */
4464
+ allowElement?: boolean;
4465
+ /**
4466
+ * An array of unique string values that would otherwise warn, but will be ignored.
4467
+ */
4468
+ allowedStrings?: string[];
4469
+ /**
4470
+ * (default: true) - When false the rule will not apply the current options set to nested elements. This is useful when you want to apply the rule to a specific element, but not to its children.
4471
+ */
4472
+ applyToNestedElements?: boolean;
4473
+ /**
4474
+ * (default: false) - When true the rule ignores literals used in props, wrapped or unwrapped.
4475
+ */
4476
+ ignoreProps?: boolean;
4477
+ /**
4478
+ * (default: false) - Enforces no string literals used in attributes when set to true.
4479
+ */
4480
+ noAttributeStrings?: boolean;
4481
+ /**
4482
+ * (default: false) - Enforces no string literals used as children, wrapped or unwrapped.
4483
+ */
4484
+ noStrings?: boolean;
4485
+ /**
4486
+ * An array of unique attribute names where string literals should be restricted. Only the specified attributes will be checked for string literals when this option is used. Note: When noAttributeStrings is true, this option is ignored at the root level.
4487
+ */
4488
+ restrictedAttributes?: string[];
4489
+ }
4490
+ interface JsxNoScriptUrlComponent {
4491
+ /**
4492
+ * Component name.
4493
+ */
4494
+ name: string;
4495
+ /**
4496
+ * List of properties that should be validated.
4497
+ */
4498
+ props: string[];
4499
+ }
4500
+ interface JsxNoScriptUrlOptions {
4501
+ /**
4502
+ * Whether to include components from settings.
4503
+ */
4504
+ includeFromSettings?: boolean;
4505
+ }
4506
+ interface JsxNoTargetBlank {
4507
+ /**
4508
+ * Whether to allow referrers.
4509
+ */
4510
+ allowReferrer?: boolean;
4511
+ /**
4512
+ * Whether to enforce dynamic links or enforce static links.
4513
+ */
4514
+ enforceDynamicLinks?: EnforceDynamicLinksEnum;
4515
+ /**
4516
+ * Whether to check form elements.
4517
+ */
4518
+ forms?: boolean;
4519
+ /**
4520
+ * Whether to check link elements.
4521
+ */
4522
+ links?: boolean;
4523
+ /**
4524
+ * Whether to warn when spread attributes are used.
4525
+ */
4526
+ warnOnSpreadAttributes?: boolean;
4527
+ }
3745
4528
  interface JsxNoUselessFragment {
3746
4529
  /**
3747
4530
  * Allow fragments with a single expression child.
@@ -3766,6 +4549,29 @@ interface JsxPascalCaseConfig {
3766
4549
  */
3767
4550
  ignore?: string[];
3768
4551
  }
4552
+ interface JsxPropsNoSpreadingConfig {
4553
+ /**
4554
+ * `custom` set to `ignore` will ignore all custom jsx tags like `App`, `MyCustomComponent` etc. Default is set to `enforce`.
4555
+ */
4556
+ custom?: IgnoreEnforceOption;
4557
+ /**
4558
+ * Exceptions flip the enforcement behavior for specific components.
4559
+ * For example:
4560
+ * - If `html` is set to `ignore`, an exception for `div` will enforce the rule on `<div>` elements.
4561
+ * - If `custom` is set to `enforce`, an exception for `Foo` will ignore the rule on `<Foo>` components.
4562
+ *
4563
+ * This allows you to override the general setting for individual components.
4564
+ */
4565
+ exceptions?: string[];
4566
+ /**
4567
+ * `explicitSpread` set to `ignore` will ignore spread operators that are explicitly listing all object properties within that spread. Default is set to `enforce`.
4568
+ */
4569
+ explicitSpread?: IgnoreEnforceOption;
4570
+ /**
4571
+ * `html` set to `ignore` will ignore all html jsx tags like `div`, `img` etc. Default is set to `enforce`.
4572
+ */
4573
+ html?: IgnoreEnforceOption;
4574
+ }
3769
4575
  interface NoMultiCompConfig {
3770
4576
  /**
3771
4577
  * When `true`, the rule will ignore stateless components and will allow you to have multiple
@@ -3803,6 +4609,20 @@ interface NoUnsafeConfig {
3803
4609
  */
3804
4610
  checkAliases?: boolean;
3805
4611
  }
4612
+ interface NoUnstableNestedComponentsConfig {
4613
+ /**
4614
+ * Allow component definitions in props.
4615
+ */
4616
+ allowAsProps?: boolean;
4617
+ /**
4618
+ * Optional custom propTypes validators accepted for eslint-plugin-react compatibility.
4619
+ */
4620
+ customValidators?: string[];
4621
+ /**
4622
+ * Glob pattern for render-prop names that may receive inline component definitions.
4623
+ */
4624
+ propNamePattern?: string;
4625
+ }
3806
4626
  interface OnlyExportComponentsConfig {
3807
4627
  /**
3808
4628
  * Allow exporting primitive constants (string/number/boolean/template literal)
@@ -3849,6 +4669,15 @@ interface PreferFunctionComponent {
3849
4669
  */
3850
4670
  allowJsxUtilityClass?: boolean;
3851
4671
  }
4672
+ interface ReactCompilerConfig {
4673
+ /**
4674
+ * Also report compiler bail-outs — places where React Compiler skipped a
4675
+ * component or hook (for example because of unsupported syntax) without
4676
+ * finding a rule violation. These do not indicate incorrect code, only
4677
+ * code that the compiler declined to optimize.
4678
+ */
4679
+ reportAllBailouts?: boolean;
4680
+ }
3852
4681
  interface SelfClosingComp {
3853
4682
  /**
3854
4683
  * Whether to enforce self-closing for custom components.
@@ -3949,18 +4778,101 @@ interface SortVars {
3949
4778
  */
3950
4779
  ignoreCase?: boolean;
3951
4780
  }
4781
+ interface ArrayTypeConfig {
4782
+ /**
4783
+ * The array type expected for mutable cases.
4784
+ */
4785
+ default?: ArrayOption;
4786
+ /**
4787
+ * The array type expected for readonly cases. If omitted, the value for `default` will be used.
4788
+ */
4789
+ readonly?: ReadonlyArrayOption;
4790
+ }
4791
+ /**
4792
+ * This rule allows you to specify how different TypeScript directive comments
4793
+ * should be handled.
4794
+ *
4795
+ * For each directive (`@ts-expect-error`, `@ts-ignore`, `@ts-nocheck`, `@ts-check`), you can choose one of the following options:
4796
+ * - `true`: Disallow the directive entirely, preventing its use in the entire codebase.
4797
+ * - `false`: Allow the directive without any restrictions.
4798
+ * - `"allow-with-description"`: Allow the directive only if it is followed by a description explaining its use. The description must meet the minimum length specified by `minimumDescriptionLength`.
4799
+ * - `{ "descriptionFormat": "<regex>" }`: Allow the directive only if the description matches the specified regex pattern.
4800
+ *
4801
+ * For example:
4802
+ * ```json
4803
+ * {
4804
+ * "ts-expect-error": "allow-with-description",
4805
+ * "ts-ignore": true,
4806
+ * "ts-nocheck": {
4807
+ * "descriptionFormat": "^: TS\\d+ because .+$"
4808
+ * },
4809
+ * "ts-check": false,
4810
+ * "minimumDescriptionLength": 3
4811
+ * }
4812
+ * ```
4813
+ */
4814
+ interface BanTsCommentConfig {
4815
+ /**
4816
+ * Minimum description length required when using directives with `allow-with-description`.
4817
+ */
4818
+ minimumDescriptionLength?: number;
4819
+ /**
4820
+ * How to handle the `@ts-check` directive.
4821
+ */
4822
+ "ts-check"?: DirectiveConfigSchema;
4823
+ /**
4824
+ * How to handle the `@ts-expect-error` directive.
4825
+ */
4826
+ "ts-expect-error"?: DirectiveConfigSchema;
4827
+ /**
4828
+ * How to handle the `@ts-ignore` directive.
4829
+ */
4830
+ "ts-ignore"?: DirectiveConfigSchema;
4831
+ /**
4832
+ * How to handle the `@ts-nocheck` directive.
4833
+ */
4834
+ "ts-nocheck"?: DirectiveConfigSchema;
4835
+ }
3952
4836
  interface ConsistentReturnConfig {
3953
4837
  /**
3954
4838
  * Treat explicit `return undefined` as equivalent to an unspecified return.
3955
4839
  */
3956
4840
  treatUndefinedAsUnspecified?: boolean;
3957
4841
  }
4842
+ interface ConsistentTypeAssertionsConfig {
4843
+ /**
4844
+ * Whether array literal type assertions are allowed, allowed only as parameters, or disallowed.
4845
+ */
4846
+ arrayLiteralTypeAssertions?: ArrayLiteralTypeAssertions;
4847
+ /**
4848
+ * Which assertion syntax is enforced.
4849
+ */
4850
+ assertionStyle?: AssertionStyle;
4851
+ /**
4852
+ * Whether object literal type assertions are allowed, allowed only as parameters, or disallowed.
4853
+ */
4854
+ objectLiteralTypeAssertions?: ObjectLiteralTypeAssertions;
4855
+ }
3958
4856
  interface ConsistentTypeExportsConfig {
3959
4857
  /**
3960
4858
  * Enables an autofix strategy that rewrites mixed exports using inline `type` specifiers.
3961
4859
  */
3962
4860
  fixMixedExportsWithInlineTypeSpecifier?: boolean;
3963
4861
  }
4862
+ interface ConsistentTypeImportsConfig {
4863
+ /**
4864
+ * Disallow using `import()` in type annotations, like `type T = import('foo')`
4865
+ */
4866
+ disallowTypeAnnotations?: boolean;
4867
+ /**
4868
+ * Control how type imports are added when auto-fixing.
4869
+ */
4870
+ fixStyle?: FixStyle;
4871
+ /**
4872
+ * Control whether to enforce type imports or value imports.
4873
+ */
4874
+ prefer?: Prefer;
4875
+ }
3964
4876
  interface DotNotationConfig {
3965
4877
  /**
3966
4878
  * Allow bracket notation for properties covered by an index signature.
@@ -4172,12 +5084,52 @@ interface PackageSpecifier {
4172
5084
  */
4173
5085
  package: string;
4174
5086
  }
5087
+ interface NoDuplicateTypeConstituentsConfig {
5088
+ /**
5089
+ * Whether to ignore duplicate types in intersection types.
5090
+ * When true, allows `type T = A & A`.
5091
+ */
5092
+ ignoreIntersections?: boolean;
5093
+ /**
5094
+ * Whether to ignore duplicate types in union types.
5095
+ * When true, allows `type T = A | A`.
5096
+ */
5097
+ ignoreUnions?: boolean;
5098
+ }
4175
5099
  interface NoEmptyInterface {
4176
5100
  /**
4177
5101
  * When set to `true`, allows empty interfaces that extend a single interface.
4178
5102
  */
4179
5103
  allowSingleExtends?: boolean;
4180
5104
  }
5105
+ interface NoEmptyObjectTypeConfig {
5106
+ /**
5107
+ * Whether to allow empty interfaces.
5108
+ */
5109
+ allowInterfaces?: AllowInterfaces;
5110
+ /**
5111
+ * Whether to allow empty object type literals.
5112
+ */
5113
+ allowObjectTypes?: AllowObjectTypes;
5114
+ /**
5115
+ * A stringified regular expression to allow interfaces and object type aliases with the configured name.
5116
+ *
5117
+ * This can be useful if your existing code style includes a pattern of declaring empty types with `{}` instead of `object`.
5118
+ *
5119
+ * Example of **incorrect** code for this rule with `{ allowWithName: 'Props$' }`:
5120
+ * ```ts
5121
+ * interface InterfaceValue {}
5122
+ * type TypeValue = {};
5123
+ * ```
5124
+ *
5125
+ * Example of **correct** code for this rule with `{ allowWithName: 'Props$' }`:
5126
+ * ```ts
5127
+ * interface InterfaceProps {}
5128
+ * type TypeProps = {};
5129
+ * ```
5130
+ */
5131
+ allowWithName?: string;
5132
+ }
4181
5133
  interface NoExplicitAny {
4182
5134
  /**
4183
5135
  * Whether to enable auto-fixing in which the `any` type is converted to the `unknown` type.
@@ -4238,12 +5190,66 @@ interface NoInferrableTypes {
4238
5190
  */
4239
5191
  ignoreProperties?: boolean;
4240
5192
  }
5193
+ interface NoInvalidVoidTypeConfig {
5194
+ /**
5195
+ * Whether a `this` parameter of a function may be `void`.
5196
+ */
5197
+ allowAsThisParameter?: boolean;
5198
+ /**
5199
+ * Whether `void` can be used as generic type arguments.
5200
+ * Can be `true` / `false`, or an allowlist of generic type names.
5201
+ */
5202
+ allowInGenericTypeArguments?: AllowInGenericTypeArguments;
5203
+ }
4241
5204
  interface NoMeaninglessVoidOperatorConfig {
4242
5205
  /**
4243
5206
  * Whether to check `void` applied to expressions of type `never`.
4244
5207
  */
4245
5208
  checkNever?: boolean;
4246
5209
  }
5210
+ interface NoMisusedPromisesConfig {
5211
+ /**
5212
+ * Whether to check if Promises are used in conditionals.
5213
+ * When true, disallows using Promises in conditions where a boolean is expected.
5214
+ */
5215
+ checksConditionals?: boolean;
5216
+ /**
5217
+ * Whether to check if Promises are used in spread syntax.
5218
+ * When true, disallows spreading Promise values.
5219
+ */
5220
+ checksSpreads?: boolean;
5221
+ /**
5222
+ * Configuration for checking if Promises are returned in contexts expecting void.
5223
+ * Can be a boolean to enable/disable all checks, or an object for granular control.
5224
+ */
5225
+ checksVoidReturn?: ChecksVoidReturn;
5226
+ }
5227
+ interface ChecksVoidReturnOptions {
5228
+ /**
5229
+ * Whether to check Promise-returning functions passed as arguments to void-returning functions.
5230
+ */
5231
+ arguments?: boolean;
5232
+ /**
5233
+ * Whether to check Promise-returning functions in JSX attributes expecting void.
5234
+ */
5235
+ attributes?: boolean;
5236
+ /**
5237
+ * Whether to check Promise-returning methods that override void-returning inherited methods.
5238
+ */
5239
+ inheritedMethods?: boolean;
5240
+ /**
5241
+ * Whether to check Promise-returning functions assigned to object properties expecting void.
5242
+ */
5243
+ properties?: boolean;
5244
+ /**
5245
+ * Whether to check Promise values returned from void-returning functions.
5246
+ */
5247
+ returns?: boolean;
5248
+ /**
5249
+ * Whether to check Promise-returning functions assigned to variables typed as void-returning.
5250
+ */
5251
+ variables?: boolean;
5252
+ }
4247
5253
  interface NoMisusedSpreadConfig {
4248
5254
  /**
4249
5255
  * An array of type or value specifiers that are allowed to be spread
@@ -4347,6 +5353,14 @@ interface NoRequireImportsConfig {
4347
5353
  */
4348
5354
  allowAsImport?: boolean;
4349
5355
  }
5356
+ interface NoRestrictedTypesConfig {
5357
+ /**
5358
+ * A mapping of type names to ban configurations.
5359
+ */
5360
+ types?: {
5361
+ [k: string]: BanConfigValue | undefined;
5362
+ };
5363
+ }
4350
5364
  interface NoThisAliasConfig {
4351
5365
  /**
4352
5366
  * Whether to allow destructuring of `this` to local variables.
@@ -4369,6 +5383,17 @@ interface NoUnnecessaryBooleanLiteralCompareConfig {
4369
5383
  */
4370
5384
  allowComparingNullableBooleansToTrue?: boolean;
4371
5385
  }
5386
+ interface NoUnnecessaryConditionConfig {
5387
+ /**
5388
+ * Whether to allow constant loop conditions.
5389
+ * `true` is treated as `"always"`, `false` as `"never"`.
5390
+ */
5391
+ allowConstantLoopConditions?: AllowConstantLoopConditions;
5392
+ /**
5393
+ * Whether to check type predicate functions.
5394
+ */
5395
+ checkTypePredicates?: boolean;
5396
+ }
4372
5397
  interface NoUnnecessaryTypeAssertionConfig {
4373
5398
  /**
4374
5399
  * Whether to check literal const assertions like `'foo' as const`.
@@ -4410,6 +5435,16 @@ interface OnlyThrowErrorConfig {
4410
5435
  */
4411
5436
  allowThrowingUnknown?: boolean;
4412
5437
  }
5438
+ interface ParameterPropertiesConfig {
5439
+ /**
5440
+ * Modifiers that are allowed to be used with parameter properties or class properties, depending on the `prefer` option.
5441
+ */
5442
+ allow?: Modifier[];
5443
+ /**
5444
+ * Whether to prefer parameter properties or class properties.
5445
+ */
5446
+ prefer?: Prefer2;
5447
+ }
4413
5448
  interface PreferLiteralEnumMember {
4414
5449
  /**
4415
5450
  * When set to `true`, allows bitwise expressions in enum member initializers.
@@ -4417,6 +5452,56 @@ interface PreferLiteralEnumMember {
4417
5452
  */
4418
5453
  allowBitwiseExpressions?: boolean;
4419
5454
  }
5455
+ interface PreferNullishCoalescingConfig {
5456
+ /**
5457
+ * Whether to ignore arguments to the `Boolean` constructor.
5458
+ */
5459
+ ignoreBooleanCoercion?: boolean;
5460
+ /**
5461
+ * Whether to ignore cases that are located within a conditional test.
5462
+ */
5463
+ ignoreConditionalTests?: boolean;
5464
+ /**
5465
+ * Whether to ignore any if statements that could be simplified by using
5466
+ * the nullish coalescing operator.
5467
+ */
5468
+ ignoreIfStatements?: boolean;
5469
+ /**
5470
+ * Whether to ignore any logical or expressions that are part of a mixed
5471
+ * logical expression (with `&&`).
5472
+ */
5473
+ ignoreMixedLogicalExpressions?: boolean;
5474
+ /**
5475
+ * Whether to ignore all (`true`) or some (an object with properties) primitive types.
5476
+ */
5477
+ ignorePrimitives?: IgnorePrimitives;
5478
+ /**
5479
+ * Whether to ignore any ternary expressions that could be simplified by
5480
+ * using the nullish coalescing operator.
5481
+ */
5482
+ ignoreTernaryTests?: boolean;
5483
+ }
5484
+ /**
5485
+ * Options for ignoring specific primitive types.
5486
+ */
5487
+ interface IgnorePrimitivesOptions {
5488
+ /**
5489
+ * Ignore bigint primitive types.
5490
+ */
5491
+ bigint?: boolean;
5492
+ /**
5493
+ * Ignore boolean primitive types.
5494
+ */
5495
+ boolean?: boolean;
5496
+ /**
5497
+ * Ignore number primitive types.
5498
+ */
5499
+ number?: boolean;
5500
+ /**
5501
+ * Ignore string primitive types.
5502
+ */
5503
+ string?: boolean;
5504
+ }
4420
5505
  interface PreferOptionalChainConfig {
4421
5506
  /**
4422
5507
  * Allow autofixers that will change the return type of the expression.
@@ -4496,6 +5581,12 @@ interface PreferReadonlyParameterTypesConfig {
4496
5581
  */
4497
5582
  treatMethodsAsReadonly?: boolean;
4498
5583
  }
5584
+ interface PreferStringStartsEndsWithConfig {
5585
+ /**
5586
+ * Whether equality checks against the first/last character are allowed.
5587
+ */
5588
+ allowSingleElementEquality?: AllowSingleElementEquality;
5589
+ }
4499
5590
  interface PromiseFunctionAsyncConfig {
4500
5591
  /**
4501
5592
  * Whether to allow functions returning `any` type without requiring `async`.
@@ -4654,6 +5745,14 @@ interface SwitchExhaustivenessCheckConfig {
4654
5745
  */
4655
5746
  requireDefaultForNonUnion?: boolean;
4656
5747
  }
5748
+ interface TripleSlashReferenceConfig {
5749
+ /**
5750
+ * What to enforce for `/// <reference lib="..." />` references.
5751
+ */
5752
+ lib?: AlwaysNever;
5753
+ path?: PathOption;
5754
+ types?: TypesOption;
5755
+ }
4657
5756
  interface UnboundMethodConfig {
4658
5757
  /**
4659
5758
  * Whether to ignore unbound methods that are static.
@@ -4675,12 +5774,147 @@ interface UnifiedSignaturesOptions {
4675
5774
  */
4676
5775
  ignoreOverloadsWithDifferentJSDoc?: boolean;
4677
5776
  }
5777
+ interface CatchErrorNameConfig {
5778
+ /**
5779
+ * A list of patterns to ignore when checking `catch` variable names. The pattern
5780
+ * can be a string or regular expression.
5781
+ */
5782
+ ignore?: string[];
5783
+ /**
5784
+ * The name to use for error variables in `catch` blocks. You can customize it
5785
+ * to something other than `'error'` (e.g., `'exception'`).
5786
+ */
5787
+ name?: string;
5788
+ }
4678
5789
  interface ConsistentFunctionScoping {
4679
5790
  /**
4680
5791
  * Whether to check scoping with arrow functions.
4681
5792
  */
4682
5793
  checkArrowFunctions?: boolean;
4683
5794
  }
5795
+ interface ExplicitLengthCheck {
5796
+ /**
5797
+ * Configuration option to specify how non-zero length checks should be enforced.
5798
+ */
5799
+ "non-zero"?: NonZero;
5800
+ }
5801
+ interface ImportStyleConfig {
5802
+ /**
5803
+ * Whether dynamic import expressions are checked.
5804
+ *
5805
+ * Set this to `false` to skip calls such as `await import("module")`.
5806
+ *
5807
+ * With the default configuration, examples of **incorrect** code:
5808
+ * ```js
5809
+ * async () => {
5810
+ * const {red} = await import("chalk");
5811
+ * };
5812
+ * ```
5813
+ *
5814
+ * Examples of **correct** code:
5815
+ * ```js
5816
+ * async () => {
5817
+ * const {default: chalk} = await import("chalk");
5818
+ * };
5819
+ * ```
5820
+ */
5821
+ checkDynamicImport?: boolean;
5822
+ /**
5823
+ * Whether export-from declarations are checked.
5824
+ *
5825
+ * This is disabled by default. Set this to `true` to check declarations like
5826
+ * `export ... from "module"`.
5827
+ *
5828
+ * With `{ "checkExportFrom": true }`, examples of **incorrect** code:
5829
+ * ```js
5830
+ * export * from "node:util";
5831
+ * ```
5832
+ *
5833
+ * Examples of **correct** code:
5834
+ * ```js
5835
+ * export {promisify} from "node:util";
5836
+ * ```
5837
+ */
5838
+ checkExportFrom?: boolean;
5839
+ /**
5840
+ * Whether static import declarations are checked.
5841
+ *
5842
+ * Set this to `false` to skip `import ... from "module"` and side-effect imports like
5843
+ * `import "module"`.
5844
+ *
5845
+ * With the default configuration, examples of **incorrect** code:
5846
+ * ```js
5847
+ * import {red} from "chalk";
5848
+ * ```
5849
+ *
5850
+ * Examples of **correct** code:
5851
+ * ```js
5852
+ * import chalk from "chalk";
5853
+ * ```
5854
+ */
5855
+ checkImport?: boolean;
5856
+ /**
5857
+ * Whether CommonJS `require()` calls are checked.
5858
+ *
5859
+ * Set this to `false` to skip `require("module")` calls completely.
5860
+ *
5861
+ * With the default configuration, examples of **incorrect** code:
5862
+ * ```js
5863
+ * const util = require("node:util");
5864
+ * ```
5865
+ *
5866
+ * Examples of **correct** code:
5867
+ * ```js
5868
+ * const {promisify} = require("node:util");
5869
+ * ```
5870
+ */
5871
+ checkRequire?: boolean;
5872
+ /**
5873
+ * Whether `styles` extends or replaces the built-in module preferences.
5874
+ *
5875
+ * When this is `true`, entries in `styles` are merged with the default preferences. For
5876
+ * example, `{ "styles": { "path": { "named": true } } }` allows named imports from
5877
+ * `path` while leaving its default import style allowed. When this is `false`, only modules
5878
+ * configured in `styles` are checked.
5879
+ *
5880
+ * With `{ "extendDefaultStyles": false, "styles": {} }`, examples of **correct** code:
5881
+ * ```js
5882
+ * import {red} from "chalk";
5883
+ * ```
5884
+ */
5885
+ extendDefaultStyles?: boolean;
5886
+ /**
5887
+ * Per-module import style preferences.
5888
+ *
5889
+ * Each key is a module specifier. Set the value to `false` to disable checking for the
5890
+ * module, or to an object that allows one or more import styles. The available styles are
5891
+ * `unassigned`, `default`, `namespace`, and `named`. When `extendDefaultStyles` is `true`,
5892
+ * these entries extend the built-in defaults instead of replacing them.
5893
+ *
5894
+ * The default module preferences are default imports for `chalk`, `path`, and `node:path`,
5895
+ * and named imports for `util` and `node:util`.
5896
+ *
5897
+ * With `{ "styles": { "node:util": { "named": true, "default": false } } }`,
5898
+ * examples of **incorrect** code:
5899
+ * ```js
5900
+ * import util from "node:util";
5901
+ * ```
5902
+ *
5903
+ * Examples of **correct** code:
5904
+ * ```js
5905
+ * import {promisify} from "node:util";
5906
+ * ```
5907
+ */
5908
+ styles?: {
5909
+ [k: string]: ModuleStylesOverride | undefined;
5910
+ };
5911
+ }
5912
+ interface MaxNestedCalls {
5913
+ /**
5914
+ * The maximum allowed nested call depth.
5915
+ */
5916
+ max?: number;
5917
+ }
4684
5918
  interface NoArrayReduce {
4685
5919
  /**
4686
5920
  * When set to `true`, allows simple operations (like summing numbers) in `reduce` and `reduceRight` calls.
@@ -4711,6 +5945,27 @@ interface NoArraySort {
4711
5945
  */
4712
5946
  allowExpressionStatement?: boolean;
4713
5947
  }
5948
+ interface NoInstanceofBuiltinsConfig {
5949
+ /**
5950
+ * Constructor names to exclude from checking.
5951
+ */
5952
+ exclude?: string[];
5953
+ /**
5954
+ * Additional constructor names to check beyond the default set.
5955
+ * Use this to extend the rule with additional constructors.
5956
+ */
5957
+ include?: string[];
5958
+ /**
5959
+ * Controls which built-in constructors are checked.
5960
+ */
5961
+ strategy?: NoInstanceofBuiltinsStrategy;
5962
+ /**
5963
+ * When `true`, checks `instanceof Error` and suggests using `Error.isError()` instead.
5964
+ * Requires [the `Error.isError()` function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/isError)
5965
+ * to be available.
5966
+ */
5967
+ useErrorIsError?: boolean;
5968
+ }
4714
5969
  interface NoNull {
4715
5970
  /**
4716
5971
  * When set to `true`, disallow the use of `null` as a direct function call or constructor argument.
@@ -4744,6 +5999,95 @@ interface NoUselessUndefined {
4744
5999
  */
4745
6000
  checkArrowFunctionBody?: boolean;
4746
6001
  }
6002
+ interface NumericSeparatorsStyleConfig {
6003
+ /**
6004
+ * Configuration for binary literals (e.g. `0b1010_0001` and bigint variants).
6005
+ * Controls how digits are grouped and when separators are applied.
6006
+ */
6007
+ binary?: NumericBaseConfig;
6008
+ /**
6009
+ * Configuration for hexadecimal literals (e.g. `0xAB_CD`, `0Xab_cd`, and bigint variants).
6010
+ * Controls how digits are grouped and when separators are applied.
6011
+ */
6012
+ hexadecimal?: NumericBaseConfig;
6013
+ /**
6014
+ * Configuration for decimal numbers (integers, fraction parts, and exponents).
6015
+ * Controls how digits are grouped and when separators are applied.
6016
+ */
6017
+ number?: NumericNumberConfig;
6018
+ /**
6019
+ * Configuration for octal literals (e.g. `0o1234_5670` and bigint variants).
6020
+ * Controls how digits are grouped and when separators are applied.
6021
+ */
6022
+ octal?: NumericBaseConfig;
6023
+ /**
6024
+ * Only enforce the rule when the numeric literal already contains a separator (`_`).
6025
+ *
6026
+ * When `true`, numbers without separators are left as-is; when `false` (default),
6027
+ * grouping will be enforced for eligible numbers even if they don't include separators yet.
6028
+ */
6029
+ onlyIfContainsSeparator?: boolean;
6030
+ }
6031
+ interface NumericBaseConfig {
6032
+ /**
6033
+ * The number of digits per group when inserting numeric separators.
6034
+ * For example, a `groupLength` of 3 formats `1234567` as `1_234_567`.
6035
+ */
6036
+ groupLength?: number;
6037
+ /**
6038
+ * The minimum number of digits required before grouping is applied.
6039
+ * Values with fewer digits than this threshold will not be grouped.
6040
+ */
6041
+ minimumDigits?: number;
6042
+ /**
6043
+ * Only enforce the rule when the numeric literal already contains a separator (`_`).
6044
+ *
6045
+ * When `true`, numbers without separators are left as-is; when `false` (default),
6046
+ * grouping will be enforced for eligible numbers even if they don't include separators yet.
6047
+ */
6048
+ onlyIfContainsSeparator?: boolean;
6049
+ }
6050
+ interface NumericNumberConfig {
6051
+ /**
6052
+ * The size a group of digits in the fractional part (after the decimal point) should be.
6053
+ */
6054
+ fractionGroupLength?: number;
6055
+ /**
6056
+ * The number of digits per group when inserting numeric separators.
6057
+ * For example, a `groupLength` of 3 formats `1234567` as `1_234_567`.
6058
+ */
6059
+ groupLength?: number;
6060
+ /**
6061
+ * The minimum number of digits required before grouping is applied.
6062
+ * Values with fewer digits than this threshold will not be grouped.
6063
+ */
6064
+ minimumDigits?: number;
6065
+ /**
6066
+ * Only enforce the rule when the numeric literal already contains a separator (`_`).
6067
+ *
6068
+ * When `true`, numbers without separators are left as-is; when `false` (default),
6069
+ * grouping will be enforced for eligible numbers even if they don't include separators yet.
6070
+ */
6071
+ onlyIfContainsSeparator?: boolean;
6072
+ }
6073
+ interface PreferAtConfig {
6074
+ /**
6075
+ * Check all index access, not just special patterns like `array.length - 1`.
6076
+ * When enabled, `array[0]`, `array[1]`, etc. will also be flagged.
6077
+ */
6078
+ checkAllIndexAccess?: boolean;
6079
+ /**
6080
+ * List of function names to treat as "get last element" functions.
6081
+ * These functions will be checked for `.at(-1)` usage.
6082
+ */
6083
+ getLastElementFunctions?: string[];
6084
+ }
6085
+ interface PreferExportFrom {
6086
+ /**
6087
+ * When false, if any import binding is used somewhere other than a re-export, all variables in the import declaration are ignored.
6088
+ */
6089
+ checkUsedVariables?: boolean;
6090
+ }
4747
6091
  interface PreferNumberPropertiesConfig {
4748
6092
  /**
4749
6093
  * If set to `true`, checks for usage of `Infinity` and `-Infinity` as global variables.
@@ -4754,6 +6098,18 @@ interface PreferNumberPropertiesConfig {
4754
6098
  */
4755
6099
  checkNaN?: boolean;
4756
6100
  }
6101
+ interface PreferObjectFromEntriesConfig {
6102
+ /**
6103
+ * Additional functions to treat as equivalents to `Object.fromEntries`.
6104
+ */
6105
+ functions?: string[];
6106
+ }
6107
+ interface PreferSingleCallConfig {
6108
+ /**
6109
+ * Methods to ignore.
6110
+ */
6111
+ ignore?: string[];
6112
+ }
4757
6113
  interface PreferStructuredCloneConfig {
4758
6114
  /**
4759
6115
  * List of functions that are allowed to be used for deep cloning instead of structuredClone.
@@ -4802,18 +6158,74 @@ interface ValidTypeof {
4802
6158
  */
4803
6159
  requireStringLiterals?: boolean;
4804
6160
  }
6161
+ interface ConsistentEachForJson {
6162
+ /**
6163
+ * Preferred method to create parameterized tests for `describe` blocks.
6164
+ */
6165
+ describe?: MemberNames;
6166
+ /**
6167
+ * Preferred method to create parameterized tests for `it` blocks.
6168
+ */
6169
+ it?: MemberNames;
6170
+ /**
6171
+ * Preferred method to create parameterized tests for `suite` blocks.
6172
+ */
6173
+ suite?: MemberNames;
6174
+ /**
6175
+ * Preferred method to create parameterized tests for `test` blocks.
6176
+ */
6177
+ test?: MemberNames;
6178
+ }
6179
+ interface ConsistentTestFilenameConfig {
6180
+ /**
6181
+ * Regex pattern to ensure we are linting only test filenames.
6182
+ * Decides whether a file is a testing file.
6183
+ */
6184
+ allTestPattern?: string;
6185
+ /**
6186
+ * Required regex to check if a test filename have a valid formart.
6187
+ * Pattern doesn't have a default value, you must provide one.
6188
+ */
6189
+ pattern?: string;
6190
+ }
6191
+ interface ConsistentVitestConfig {
6192
+ /**
6193
+ * Decides whether to prefer vitest function accessor
6194
+ */
6195
+ fn?: VitestFnName;
6196
+ }
6197
+ interface PreferImportInMockConfig {
6198
+ /**
6199
+ * Whether the rule should generate fixes or not.
6200
+ */
6201
+ fixable: boolean;
6202
+ }
4805
6203
  interface RequireMockTypeParametersConfig {
4806
6204
  /**
4807
6205
  * Also require type parameters for `importActual` and `importMock`.
4808
6206
  */
4809
6207
  checkImportFunctions?: boolean;
4810
6208
  }
6209
+ interface DefinePropsDestructuring {
6210
+ /**
6211
+ * Require or prohibit destructuring.
6212
+ */
6213
+ destructure?: Destructure;
6214
+ }
4811
6215
  interface MaxProps {
4812
6216
  /**
4813
6217
  * The maximum number of props allowed in a Vue SFC.
4814
6218
  */
4815
6219
  maxProps?: number;
4816
6220
  }
6221
+ interface NoAsyncInComputedPropertiesConfig {
6222
+ /**
6223
+ * Names of identifiers whose member-call chains (`.then` / `.catch` / `.finally`)
6224
+ * should be ignored. Useful for libraries like Zod where `.catch(default)` is
6225
+ * a builder API, not a Promise method.
6226
+ */
6227
+ ignoredObjectNames?: string[];
6228
+ }
4817
6229
  interface NoDeprecatedModelDefinitionConfig {
4818
6230
  /**
4819
6231
  * Allow `model: { prop: 'modelValue', event: 'update:modelValue' }` (or
@@ -4822,6 +6234,13 @@ interface NoDeprecatedModelDefinitionConfig {
4822
6234
  */
4823
6235
  allowVue3Compat?: boolean;
4824
6236
  }
6237
+ interface NoDupeKeysConfig {
6238
+ /**
6239
+ * Additional group names to search for duplicate keys in, on top of the
6240
+ * built-in `props`, `computed`, `data`, `methods` and `setup` groups.
6241
+ */
6242
+ groups?: string[];
6243
+ }
4825
6244
  interface NoReservedComponentNames {
4826
6245
  /**
4827
6246
  * Disallow Vue 3 built-in component names (e.g. `Teleport`, `Suspense`).
@@ -4925,7 +6344,7 @@ interface OxlintPluginSettings {
4925
6344
  next?: NextPluginSettings;
4926
6345
  react?: ReactPluginSettings;
4927
6346
  vitest?: VitestPluginSettings;
4928
- [k: string]: unknown;
6347
+ [k: string]: unknown | undefined;
4929
6348
  }
4930
6349
  /**
4931
6350
  * Configure Jest plugin rules.
@@ -4942,7 +6361,7 @@ interface JestPluginSettings {
4942
6361
  * :::
4943
6362
  */
4944
6363
  version?: JestVersionSchema;
4945
- [k: string]: unknown;
6364
+ [k: string]: unknown | undefined;
4946
6365
  }
4947
6366
  interface JSDocPluginSettings {
4948
6367
  /**
@@ -4974,9 +6393,9 @@ interface JSDocPluginSettings {
4974
6393
  */
4975
6394
  overrideReplacesDocs?: boolean;
4976
6395
  tagNamePreference?: {
4977
- [k: string]: TagNamePreference;
6396
+ [k: string]: TagNamePreference | undefined;
4978
6397
  };
4979
- [k: string]: unknown;
6398
+ [k: string]: unknown | undefined;
4980
6399
  }
4981
6400
  /**
4982
6401
  * Configure JSX A11y plugin rules.
@@ -5008,7 +6427,7 @@ interface JSXA11YPluginSettings {
5008
6427
  * ```
5009
6428
  */
5010
6429
  attributes?: {
5011
- [k: string]: string[];
6430
+ [k: string]: string[] | undefined;
5012
6431
  };
5013
6432
  /**
5014
6433
  * To have your custom components be checked as DOM elements, you can
@@ -5030,7 +6449,7 @@ interface JSXA11YPluginSettings {
5030
6449
  * ```
5031
6450
  */
5032
6451
  components?: {
5033
- [k: string]: string;
6452
+ [k: string]: string | undefined;
5034
6453
  };
5035
6454
  /**
5036
6455
  * An optional setting that define the prop your code uses to create polymorphic components.
@@ -5047,7 +6466,7 @@ interface JSXA11YPluginSettings {
5047
6466
  * as a `Box`.
5048
6467
  */
5049
6468
  polymorphicPropName?: string;
5050
- [k: string]: unknown;
6469
+ [k: string]: unknown | undefined;
5051
6470
  }
5052
6471
  /**
5053
6472
  * Configure Next.js plugin rules.
@@ -5072,7 +6491,7 @@ interface NextPluginSettings {
5072
6491
  * ```
5073
6492
  */
5074
6493
  rootDir?: OneOrManyFor_String;
5075
- [k: string]: unknown;
6494
+ [k: string]: unknown | undefined;
5076
6495
  }
5077
6496
  /**
5078
6497
  * Configure React plugin rules.
@@ -5159,7 +6578,7 @@ interface ReactPluginSettings {
5159
6578
  * ```
5160
6579
  */
5161
6580
  version?: string;
5162
- [k: string]: unknown;
6581
+ [k: string]: unknown | undefined;
5163
6582
  }
5164
6583
  /**
5165
6584
  * Configure Vitest plugin rules.
@@ -5174,7 +6593,7 @@ interface VitestPluginSettings {
5174
6593
  * to accommodate TypeScript type checking scenarios.
5175
6594
  */
5176
6595
  typecheck?: boolean;
5177
- [k: string]: unknown;
6596
+ [k: string]: unknown | undefined;
5178
6597
  } //#endregion
5179
6598
  //#region src-js/package/config.d.ts
5180
6599
  type Oxlintrc = Omit<Oxlintrc$1, "$schema" | "extends">;