@jsse/eslint-config 0.2.24 → 0.2.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -4348,233 +4348,233 @@ interface IgnoresRuleOptions {}
4348
4348
  interface ImportsRuleOptions {
4349
4349
  /**
4350
4350
  * Enforce or ban the use of inline type-only markers for named imports.
4351
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/consistent-type-specifier-style.md
4351
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/consistent-type-specifier-style.md
4352
4352
  */
4353
4353
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle$1>;
4354
4354
  /**
4355
4355
  * Ensure a default export is present, given a default import.
4356
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/default.md
4356
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/default.md
4357
4357
  */
4358
4358
  "import/default"?: Linter.RuleEntry<[]>;
4359
4359
  /**
4360
4360
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
4361
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/dynamic-import-chunkname.md
4361
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/dynamic-import-chunkname.md
4362
4362
  */
4363
4363
  "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname$1>;
4364
4364
  /**
4365
4365
  * Forbid any invalid exports, i.e. re-export of the same name.
4366
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/export.md
4366
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/export.md
4367
4367
  */
4368
4368
  "import/export"?: Linter.RuleEntry<[]>;
4369
4369
  /**
4370
4370
  * Ensure all exports appear after other statements.
4371
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/exports-last.md
4371
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/exports-last.md
4372
4372
  */
4373
4373
  "import/exports-last"?: Linter.RuleEntry<[]>;
4374
4374
  /**
4375
4375
  * Ensure consistent use of file extension within the import path.
4376
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/extensions.md
4376
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/extensions.md
4377
4377
  */
4378
4378
  "import/extensions"?: Linter.RuleEntry<ImportExtensions$1>;
4379
4379
  /**
4380
4380
  * Ensure all imports appear before other statements.
4381
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/first.md
4381
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/first.md
4382
4382
  */
4383
4383
  "import/first"?: Linter.RuleEntry<ImportFirst$1>;
4384
4384
  /**
4385
4385
  * Prefer named exports to be grouped together in a single export declaration.
4386
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/group-exports.md
4386
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/group-exports.md
4387
4387
  */
4388
4388
  "import/group-exports"?: Linter.RuleEntry<[]>;
4389
4389
  /**
4390
4390
  * Replaced by `import-x/first`.
4391
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/imports-first.md
4391
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/imports-first.md
4392
4392
  * @deprecated
4393
4393
  */
4394
4394
  "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst$1>;
4395
4395
  /**
4396
4396
  * Enforce the maximum number of dependencies a module can have.
4397
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/max-dependencies.md
4397
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/max-dependencies.md
4398
4398
  */
4399
4399
  "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies$1>;
4400
4400
  /**
4401
4401
  * Ensure named imports correspond to a named export in the remote file.
4402
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/named.md
4402
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/named.md
4403
4403
  */
4404
4404
  "import/named"?: Linter.RuleEntry<ImportNamed$1>;
4405
4405
  /**
4406
4406
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
4407
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/namespace.md
4407
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/namespace.md
4408
4408
  */
4409
4409
  "import/namespace"?: Linter.RuleEntry<ImportNamespace$1>;
4410
4410
  /**
4411
4411
  * Enforce a newline after import statements.
4412
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/newline-after-import.md
4412
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/newline-after-import.md
4413
4413
  */
4414
4414
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport$1>;
4415
4415
  /**
4416
4416
  * Forbid import of modules using absolute paths.
4417
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-absolute-path.md
4417
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-absolute-path.md
4418
4418
  */
4419
4419
  "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath$1>;
4420
4420
  /**
4421
4421
  * Forbid AMD `require` and `define` calls.
4422
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-amd.md
4422
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-amd.md
4423
4423
  */
4424
4424
  "import/no-amd"?: Linter.RuleEntry<[]>;
4425
4425
  /**
4426
4426
  * Forbid anonymous values as default exports.
4427
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-anonymous-default-export.md
4427
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-anonymous-default-export.md
4428
4428
  */
4429
4429
  "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport$1>;
4430
4430
  /**
4431
4431
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
4432
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-commonjs.md
4432
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-commonjs.md
4433
4433
  */
4434
4434
  "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs$1>;
4435
4435
  /**
4436
4436
  * Forbid a module from importing a module with a dependency path back to itself.
4437
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-cycle.md
4437
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-cycle.md
4438
4438
  */
4439
4439
  "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle$1>;
4440
4440
  /**
4441
4441
  * Forbid default exports.
4442
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-default-export.md
4442
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-default-export.md
4443
4443
  */
4444
4444
  "import/no-default-export"?: Linter.RuleEntry<[]>;
4445
4445
  /**
4446
4446
  * Forbid imported names marked with `@deprecated` documentation tag.
4447
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-deprecated.md
4447
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-deprecated.md
4448
4448
  */
4449
4449
  "import/no-deprecated"?: Linter.RuleEntry<[]>;
4450
4450
  /**
4451
4451
  * Forbid repeated import of the same module in multiple places.
4452
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-duplicates.md
4452
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-duplicates.md
4453
4453
  */
4454
4454
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates$1>;
4455
4455
  /**
4456
4456
  * Forbid `require()` calls with expressions.
4457
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-dynamic-require.md
4457
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-dynamic-require.md
4458
4458
  */
4459
4459
  "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire$1>;
4460
4460
  /**
4461
4461
  * Forbid empty named import blocks.
4462
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-empty-named-blocks.md
4462
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-empty-named-blocks.md
4463
4463
  */
4464
4464
  "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
4465
4465
  /**
4466
4466
  * Forbid the use of extraneous packages.
4467
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-extraneous-dependencies.md
4467
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-extraneous-dependencies.md
4468
4468
  */
4469
4469
  "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies$1>;
4470
4470
  /**
4471
4471
  * Forbid import statements with CommonJS module.exports.
4472
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-import-module-exports.md
4472
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-import-module-exports.md
4473
4473
  */
4474
4474
  "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports$1>;
4475
4475
  /**
4476
4476
  * Forbid importing the submodules of other modules.
4477
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-internal-modules.md
4477
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-internal-modules.md
4478
4478
  */
4479
4479
  "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules$1>;
4480
4480
  /**
4481
4481
  * Forbid the use of mutable exports with `var` or `let`.
4482
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-mutable-exports.md
4482
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-mutable-exports.md
4483
4483
  */
4484
4484
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
4485
4485
  /**
4486
4486
  * Forbid use of exported name as identifier of default export.
4487
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-as-default.md
4487
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-as-default.md
4488
4488
  */
4489
4489
  "import/no-named-as-default"?: Linter.RuleEntry<[]>;
4490
4490
  /**
4491
4491
  * Forbid use of exported name as property of default export.
4492
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-as-default-member.md
4492
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-as-default-member.md
4493
4493
  */
4494
4494
  "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
4495
4495
  /**
4496
4496
  * Forbid named default exports.
4497
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-default.md
4497
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-default.md
4498
4498
  */
4499
4499
  "import/no-named-default"?: Linter.RuleEntry<[]>;
4500
4500
  /**
4501
4501
  * Forbid named exports.
4502
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-export.md
4502
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-export.md
4503
4503
  */
4504
4504
  "import/no-named-export"?: Linter.RuleEntry<[]>;
4505
4505
  /**
4506
4506
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
4507
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-namespace.md
4507
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-namespace.md
4508
4508
  */
4509
4509
  "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace$1>;
4510
4510
  /**
4511
4511
  * Forbid Node.js builtin modules.
4512
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-nodejs-modules.md
4512
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-nodejs-modules.md
4513
4513
  */
4514
4514
  "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules$1>;
4515
4515
  /**
4516
4516
  * Forbid importing packages through relative paths.
4517
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-relative-packages.md
4517
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-relative-packages.md
4518
4518
  */
4519
4519
  "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages$1>;
4520
4520
  /**
4521
4521
  * Forbid importing modules from parent directories.
4522
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-relative-parent-imports.md
4522
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-relative-parent-imports.md
4523
4523
  */
4524
4524
  "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports$1>;
4525
4525
  /**
4526
4526
  * Forbid importing a default export by a different name.
4527
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-rename-default.md
4527
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-rename-default.md
4528
4528
  */
4529
4529
  "import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault$1>;
4530
4530
  /**
4531
4531
  * Enforce which files can be imported in a given folder.
4532
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-restricted-paths.md
4532
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-restricted-paths.md
4533
4533
  */
4534
4534
  "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths$1>;
4535
4535
  /**
4536
4536
  * Forbid a module from importing itself.
4537
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-self-import.md
4537
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-self-import.md
4538
4538
  */
4539
4539
  "import/no-self-import"?: Linter.RuleEntry<[]>;
4540
4540
  /**
4541
4541
  * Forbid unassigned imports.
4542
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-unassigned-import.md
4542
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unassigned-import.md
4543
4543
  */
4544
4544
  "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport$1>;
4545
4545
  /**
4546
4546
  * Ensure imports point to a file/module that can be resolved.
4547
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-unresolved.md
4547
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unresolved.md
4548
4548
  */
4549
4549
  "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved$1>;
4550
4550
  /**
4551
4551
  * Forbid modules without exports, or exports without matching import in another module.
4552
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-unused-modules.md
4552
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unused-modules.md
4553
4553
  */
4554
4554
  "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules$1>;
4555
4555
  /**
4556
4556
  * Forbid unnecessary path segments in import and require statements.
4557
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-useless-path-segments.md
4557
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-useless-path-segments.md
4558
4558
  */
4559
4559
  "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments$1>;
4560
4560
  /**
4561
4561
  * Forbid webpack loader syntax in imports.
4562
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-webpack-loader-syntax.md
4562
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-webpack-loader-syntax.md
4563
4563
  */
4564
4564
  "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
4565
4565
  /**
4566
4566
  * Enforce a convention in module import order.
4567
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/order.md
4567
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/order.md
4568
4568
  */
4569
4569
  "import/order"?: Linter.RuleEntry<ImportOrder$1>;
4570
4570
  /**
4571
4571
  * Prefer a default export if module exports a single name or multiple names.
4572
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/prefer-default-export.md
4572
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/prefer-default-export.md
4573
4573
  */
4574
4574
  "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport$1>;
4575
4575
  /**
4576
4576
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
4577
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/unambiguous.md
4577
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/unambiguous.md
4578
4578
  */
4579
4579
  "import/unambiguous"?: Linter.RuleEntry<[]>;
4580
4580
  }
@@ -4608,6 +4608,7 @@ type ImportExtensions$1 =
4608
4608
  [k: string]: "always" | "ignorePackages" | "never";
4609
4609
  };
4610
4610
  ignorePackages?: boolean;
4611
+ checkTypeImports?: boolean;
4611
4612
  [k: string]: unknown | undefined;
4612
4613
  },
4613
4614
  ]
@@ -4618,6 +4619,7 @@ type ImportExtensions$1 =
4618
4619
  [k: string]: "always" | "ignorePackages" | "never";
4619
4620
  };
4620
4621
  ignorePackages?: boolean;
4622
+ checkTypeImports?: boolean;
4621
4623
  [k: string]: unknown | undefined;
4622
4624
  },
4623
4625
  ]
@@ -8423,6 +8425,7 @@ type NNoUnsupportedFeaturesNodeBuiltins =
8423
8425
  | "Crypto"
8424
8426
  | "CryptoKey"
8425
8427
  | "SubtleCrypto"
8428
+ | "CloseEvent"
8426
8429
  | "CustomEvent"
8427
8430
  | "Event"
8428
8431
  | "EventTarget"
@@ -8472,6 +8475,17 @@ type NNoUnsupportedFeaturesNodeBuiltins =
8472
8475
  | "process.execArgv"
8473
8476
  | "process.execPath"
8474
8477
  | "process.exitCode"
8478
+ | "process.features.cached_builtins"
8479
+ | "process.features.debug"
8480
+ | "process.features.inspector"
8481
+ | "process.features.ipv6"
8482
+ | "process.features.require_module"
8483
+ | "process.features.tls"
8484
+ | "process.features.tls_alpn"
8485
+ | "process.features.tls_ocsp"
8486
+ | "process.features.tls_sni"
8487
+ | "process.features.typescript"
8488
+ | "process.features.uv"
8475
8489
  | "process.finalization.register"
8476
8490
  | "process.finalization.registerBeforeExit"
8477
8491
  | "process.finalization.unregister"
@@ -9140,6 +9154,7 @@ type NNoUnsupportedFeaturesNodeBuiltins =
9140
9154
  | "module.createRequire"
9141
9155
  | "module.createRequireFromPath"
9142
9156
  | "module.enableCompileCache"
9157
+ | "module.flushCompileCache"
9143
9158
  | "module.getCompileCacheDir"
9144
9159
  | "module.isBuiltin"
9145
9160
  | "module.register"
@@ -9150,6 +9165,7 @@ type NNoUnsupportedFeaturesNodeBuiltins =
9150
9165
  | "module.Module.createRequire"
9151
9166
  | "module.Module.createRequireFromPath"
9152
9167
  | "module.Module.enableCompileCache"
9168
+ | "module.Module.flushCompileCache"
9153
9169
  | "module.Module.getCompileCacheDir"
9154
9170
  | "module.Module.isBuiltin"
9155
9171
  | "module.Module.register"
@@ -9358,10 +9374,10 @@ type NNoUnsupportedFeaturesNodeBuiltins =
9358
9374
  | "sea.getAsset"
9359
9375
  | "sea.getAssetAsBlob"
9360
9376
  | "sea.getRawAsset"
9361
- | "sea.test.isSea"
9362
- | "sea.test.getAsset"
9363
- | "sea.test.getAssetAsBlob"
9364
- | "sea.test.getRawAsset"
9377
+ | "sea.sea.isSea"
9378
+ | "sea.sea.getAsset"
9379
+ | "sea.sea.getAssetAsBlob"
9380
+ | "sea.sea.getRawAsset"
9365
9381
  | "stream"
9366
9382
  | "stream.promises"
9367
9383
  | "stream.promises.pipeline"
@@ -9534,6 +9550,7 @@ type NNoUnsupportedFeaturesNodeBuiltins =
9534
9550
  | "util.getCallSite"
9535
9551
  | "util.getSystemErrorName"
9536
9552
  | "util.getSystemErrorMap"
9553
+ | "util.getSystemErrorMessage"
9537
9554
  | "util.inherits"
9538
9555
  | "util.inspect"
9539
9556
  | "util.inspect.custom"
@@ -9711,6 +9728,7 @@ type NNoUnsupportedFeaturesNodeBuiltins =
9711
9728
  | "worker_threads.threadId"
9712
9729
  | "worker_threads.workerData"
9713
9730
  | "worker_threads.getEnvironmentData"
9731
+ | "worker_threads.markAsUncloneable"
9714
9732
  | "worker_threads.markAsUntransferable"
9715
9733
  | "worker_threads.isMarkedAsUntransferable"
9716
9734
  | "worker_threads.moveMessagePortToContext"
@@ -13609,6 +13627,31 @@ type StylisticMaxStatementsPerLine =
13609
13627
  | [
13610
13628
  {
13611
13629
  max?: number;
13630
+ ignoredNodes?: (
13631
+ | "BreakStatement"
13632
+ | "ClassDeclaration"
13633
+ | "ContinueStatement"
13634
+ | "DebuggerStatement"
13635
+ | "DoWhileStatement"
13636
+ | "ExpressionStatement"
13637
+ | "ForInStatement"
13638
+ | "ForOfStatement"
13639
+ | "ForStatement"
13640
+ | "FunctionDeclaration"
13641
+ | "IfStatement"
13642
+ | "ImportDeclaration"
13643
+ | "LabeledStatement"
13644
+ | "ReturnStatement"
13645
+ | "SwitchStatement"
13646
+ | "ThrowStatement"
13647
+ | "TryStatement"
13648
+ | "VariableDeclaration"
13649
+ | "WhileStatement"
13650
+ | "WithStatement"
13651
+ | "ExportNamedDeclaration"
13652
+ | "ExportDefaultDeclaration"
13653
+ | "ExportAllDeclaration"
13654
+ )[];
13612
13655
  },
13613
13656
  ];
13614
13657
  // ----- @stylistic/member-delimiter-style -----
@@ -13990,9 +14033,11 @@ type _StylisticPaddingLineBetweenStatementsStatementType =
13990
14033
  | "multiline-block-like"
13991
14034
  | "multiline-expression"
13992
14035
  | "multiline-const"
14036
+ | "multiline-export"
13993
14037
  | "multiline-let"
13994
14038
  | "multiline-var"
13995
14039
  | "singleline-const"
14040
+ | "singleline-export"
13996
14041
  | "singleline-let"
13997
14042
  | "singleline-var"
13998
14043
  | "block"
@@ -14038,9 +14083,11 @@ type _StylisticPaddingLineBetweenStatementsStatementType =
14038
14083
  | "multiline-block-like"
14039
14084
  | "multiline-expression"
14040
14085
  | "multiline-const"
14086
+ | "multiline-export"
14041
14087
  | "multiline-let"
14042
14088
  | "multiline-var"
14043
14089
  | "singleline-const"
14090
+ | "singleline-export"
14044
14091
  | "singleline-let"
14045
14092
  | "singleline-var"
14046
14093
  | "block"
@@ -14085,9 +14132,11 @@ type _StylisticPaddingLineBetweenStatementsStatementType =
14085
14132
  | "multiline-block-like"
14086
14133
  | "multiline-expression"
14087
14134
  | "multiline-const"
14135
+ | "multiline-export"
14088
14136
  | "multiline-let"
14089
14137
  | "multiline-var"
14090
14138
  | "singleline-const"
14139
+ | "singleline-export"
14091
14140
  | "singleline-let"
14092
14141
  | "singleline-var"
14093
14142
  | "block"
@@ -15659,233 +15708,233 @@ interface TypescriptRuleOptions {
15659
15708
  >;
15660
15709
  /**
15661
15710
  * Enforce or ban the use of inline type-only markers for named imports.
15662
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/consistent-type-specifier-style.md
15711
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/consistent-type-specifier-style.md
15663
15712
  */
15664
15713
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
15665
15714
  /**
15666
15715
  * Ensure a default export is present, given a default import.
15667
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/default.md
15716
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/default.md
15668
15717
  */
15669
15718
  "import/default"?: Linter.RuleEntry<[]>;
15670
15719
  /**
15671
15720
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
15672
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/dynamic-import-chunkname.md
15721
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/dynamic-import-chunkname.md
15673
15722
  */
15674
15723
  "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname>;
15675
15724
  /**
15676
15725
  * Forbid any invalid exports, i.e. re-export of the same name.
15677
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/export.md
15726
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/export.md
15678
15727
  */
15679
15728
  "import/export"?: Linter.RuleEntry<[]>;
15680
15729
  /**
15681
15730
  * Ensure all exports appear after other statements.
15682
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/exports-last.md
15731
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/exports-last.md
15683
15732
  */
15684
15733
  "import/exports-last"?: Linter.RuleEntry<[]>;
15685
15734
  /**
15686
15735
  * Ensure consistent use of file extension within the import path.
15687
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/extensions.md
15736
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/extensions.md
15688
15737
  */
15689
15738
  "import/extensions"?: Linter.RuleEntry<ImportExtensions>;
15690
15739
  /**
15691
15740
  * Ensure all imports appear before other statements.
15692
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/first.md
15741
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/first.md
15693
15742
  */
15694
15743
  "import/first"?: Linter.RuleEntry<ImportFirst>;
15695
15744
  /**
15696
15745
  * Prefer named exports to be grouped together in a single export declaration.
15697
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/group-exports.md
15746
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/group-exports.md
15698
15747
  */
15699
15748
  "import/group-exports"?: Linter.RuleEntry<[]>;
15700
15749
  /**
15701
15750
  * Replaced by `import-x/first`.
15702
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/imports-first.md
15751
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/imports-first.md
15703
15752
  * @deprecated
15704
15753
  */
15705
15754
  "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst>;
15706
15755
  /**
15707
15756
  * Enforce the maximum number of dependencies a module can have.
15708
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/max-dependencies.md
15757
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/max-dependencies.md
15709
15758
  */
15710
15759
  "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies>;
15711
15760
  /**
15712
15761
  * Ensure named imports correspond to a named export in the remote file.
15713
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/named.md
15762
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/named.md
15714
15763
  */
15715
15764
  "import/named"?: Linter.RuleEntry<ImportNamed>;
15716
15765
  /**
15717
15766
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
15718
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/namespace.md
15767
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/namespace.md
15719
15768
  */
15720
15769
  "import/namespace"?: Linter.RuleEntry<ImportNamespace>;
15721
15770
  /**
15722
15771
  * Enforce a newline after import statements.
15723
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/newline-after-import.md
15772
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/newline-after-import.md
15724
15773
  */
15725
15774
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport>;
15726
15775
  /**
15727
15776
  * Forbid import of modules using absolute paths.
15728
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-absolute-path.md
15777
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-absolute-path.md
15729
15778
  */
15730
15779
  "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath>;
15731
15780
  /**
15732
15781
  * Forbid AMD `require` and `define` calls.
15733
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-amd.md
15782
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-amd.md
15734
15783
  */
15735
15784
  "import/no-amd"?: Linter.RuleEntry<[]>;
15736
15785
  /**
15737
15786
  * Forbid anonymous values as default exports.
15738
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-anonymous-default-export.md
15787
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-anonymous-default-export.md
15739
15788
  */
15740
15789
  "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
15741
15790
  /**
15742
15791
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
15743
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-commonjs.md
15792
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-commonjs.md
15744
15793
  */
15745
15794
  "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs>;
15746
15795
  /**
15747
15796
  * Forbid a module from importing a module with a dependency path back to itself.
15748
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-cycle.md
15797
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-cycle.md
15749
15798
  */
15750
15799
  "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle>;
15751
15800
  /**
15752
15801
  * Forbid default exports.
15753
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-default-export.md
15802
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-default-export.md
15754
15803
  */
15755
15804
  "import/no-default-export"?: Linter.RuleEntry<[]>;
15756
15805
  /**
15757
15806
  * Forbid imported names marked with `@deprecated` documentation tag.
15758
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-deprecated.md
15807
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-deprecated.md
15759
15808
  */
15760
15809
  "import/no-deprecated"?: Linter.RuleEntry<[]>;
15761
15810
  /**
15762
15811
  * Forbid repeated import of the same module in multiple places.
15763
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-duplicates.md
15812
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-duplicates.md
15764
15813
  */
15765
15814
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates>;
15766
15815
  /**
15767
15816
  * Forbid `require()` calls with expressions.
15768
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-dynamic-require.md
15817
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-dynamic-require.md
15769
15818
  */
15770
15819
  "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire>;
15771
15820
  /**
15772
15821
  * Forbid empty named import blocks.
15773
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-empty-named-blocks.md
15822
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-empty-named-blocks.md
15774
15823
  */
15775
15824
  "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
15776
15825
  /**
15777
15826
  * Forbid the use of extraneous packages.
15778
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-extraneous-dependencies.md
15827
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-extraneous-dependencies.md
15779
15828
  */
15780
15829
  "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
15781
15830
  /**
15782
15831
  * Forbid import statements with CommonJS module.exports.
15783
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-import-module-exports.md
15832
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-import-module-exports.md
15784
15833
  */
15785
15834
  "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports>;
15786
15835
  /**
15787
15836
  * Forbid importing the submodules of other modules.
15788
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-internal-modules.md
15837
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-internal-modules.md
15789
15838
  */
15790
15839
  "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules>;
15791
15840
  /**
15792
15841
  * Forbid the use of mutable exports with `var` or `let`.
15793
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-mutable-exports.md
15842
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-mutable-exports.md
15794
15843
  */
15795
15844
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
15796
15845
  /**
15797
15846
  * Forbid use of exported name as identifier of default export.
15798
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-as-default.md
15847
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-as-default.md
15799
15848
  */
15800
15849
  "import/no-named-as-default"?: Linter.RuleEntry<[]>;
15801
15850
  /**
15802
15851
  * Forbid use of exported name as property of default export.
15803
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-as-default-member.md
15852
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-as-default-member.md
15804
15853
  */
15805
15854
  "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
15806
15855
  /**
15807
15856
  * Forbid named default exports.
15808
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-default.md
15857
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-default.md
15809
15858
  */
15810
15859
  "import/no-named-default"?: Linter.RuleEntry<[]>;
15811
15860
  /**
15812
15861
  * Forbid named exports.
15813
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-export.md
15862
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-named-export.md
15814
15863
  */
15815
15864
  "import/no-named-export"?: Linter.RuleEntry<[]>;
15816
15865
  /**
15817
15866
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
15818
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-namespace.md
15867
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-namespace.md
15819
15868
  */
15820
15869
  "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace>;
15821
15870
  /**
15822
15871
  * Forbid Node.js builtin modules.
15823
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-nodejs-modules.md
15872
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-nodejs-modules.md
15824
15873
  */
15825
15874
  "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules>;
15826
15875
  /**
15827
15876
  * Forbid importing packages through relative paths.
15828
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-relative-packages.md
15877
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-relative-packages.md
15829
15878
  */
15830
15879
  "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages>;
15831
15880
  /**
15832
15881
  * Forbid importing modules from parent directories.
15833
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-relative-parent-imports.md
15882
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-relative-parent-imports.md
15834
15883
  */
15835
15884
  "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports>;
15836
15885
  /**
15837
15886
  * Forbid importing a default export by a different name.
15838
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-rename-default.md
15887
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-rename-default.md
15839
15888
  */
15840
15889
  "import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault>;
15841
15890
  /**
15842
15891
  * Enforce which files can be imported in a given folder.
15843
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-restricted-paths.md
15892
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-restricted-paths.md
15844
15893
  */
15845
15894
  "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths>;
15846
15895
  /**
15847
15896
  * Forbid a module from importing itself.
15848
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-self-import.md
15897
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-self-import.md
15849
15898
  */
15850
15899
  "import/no-self-import"?: Linter.RuleEntry<[]>;
15851
15900
  /**
15852
15901
  * Forbid unassigned imports.
15853
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-unassigned-import.md
15902
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unassigned-import.md
15854
15903
  */
15855
15904
  "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport>;
15856
15905
  /**
15857
15906
  * Ensure imports point to a file/module that can be resolved.
15858
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-unresolved.md
15907
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unresolved.md
15859
15908
  */
15860
15909
  "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved>;
15861
15910
  /**
15862
15911
  * Forbid modules without exports, or exports without matching import in another module.
15863
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-unused-modules.md
15912
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-unused-modules.md
15864
15913
  */
15865
15914
  "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules>;
15866
15915
  /**
15867
15916
  * Forbid unnecessary path segments in import and require statements.
15868
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-useless-path-segments.md
15917
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-useless-path-segments.md
15869
15918
  */
15870
15919
  "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments>;
15871
15920
  /**
15872
15921
  * Forbid webpack loader syntax in imports.
15873
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-webpack-loader-syntax.md
15922
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/no-webpack-loader-syntax.md
15874
15923
  */
15875
15924
  "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
15876
15925
  /**
15877
15926
  * Enforce a convention in module import order.
15878
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/order.md
15927
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/order.md
15879
15928
  */
15880
15929
  "import/order"?: Linter.RuleEntry<ImportOrder>;
15881
15930
  /**
15882
15931
  * Prefer a default export if module exports a single name or multiple names.
15883
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/prefer-default-export.md
15932
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/prefer-default-export.md
15884
15933
  */
15885
15934
  "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport>;
15886
15935
  /**
15887
15936
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
15888
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/unambiguous.md
15937
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.0/docs/rules/unambiguous.md
15889
15938
  */
15890
15939
  "import/unambiguous"?: Linter.RuleEntry<[]>;
15891
15940
  }
@@ -19453,6 +19502,8 @@ type TypescriptEslintSwitchExhaustivenessCheck =
19453
19502
  {
19454
19503
  allowDefaultCaseForExhaustiveSwitch?: boolean;
19455
19504
 
19505
+ considerDefaultExhaustiveForUnions?: boolean;
19506
+
19456
19507
  requireDefaultForNonUnion?: boolean;
19457
19508
  },
19458
19509
  ];
@@ -19534,6 +19585,7 @@ type ImportExtensions =
19534
19585
  [k: string]: "always" | "ignorePackages" | "never";
19535
19586
  };
19536
19587
  ignorePackages?: boolean;
19588
+ checkTypeImports?: boolean;
19537
19589
  [k: string]: unknown | undefined;
19538
19590
  },
19539
19591
  ]
@@ -19544,6 +19596,7 @@ type ImportExtensions =
19544
19596
  [k: string]: "always" | "ignorePackages" | "never";
19545
19597
  };
19546
19598
  ignorePackages?: boolean;
19599
+ checkTypeImports?: boolean;
19547
19600
  [k: string]: unknown | undefined;
19548
19601
  },
19549
19602
  ]
@@ -21255,6 +21308,9 @@ type YamlPlainScalar =
21255
21308
  "always" | "never",
21256
21309
  {
21257
21310
  ignorePatterns?: string[];
21311
+ overrides?: {
21312
+ mappingKey?: "always" | "never" | null;
21313
+ };
21258
21314
  },
21259
21315
  ];
21260
21316
  // ----- yaml/quotes -----
@@ -21705,7 +21761,378 @@ declare const GLOB_ALL_SRC: string[];
21705
21761
  declare const GLOB_EXCLUDE: string[];
21706
21762
 
21707
21763
  declare function importPluginReact(): Promise<{
21708
- pluginReact: typeof eslint_plugin_react;
21764
+ pluginReact: {
21765
+ deprecatedRules: Partial<{
21766
+ 'boolean-prop-naming': eslint.Rule.RuleModule;
21767
+ 'button-has-type': eslint.Rule.RuleModule;
21768
+ 'checked-requires-onchange-or-readonly': eslint.Rule.RuleModule;
21769
+ 'default-props-match-prop-types': eslint.Rule.RuleModule;
21770
+ 'destructuring-assignment': eslint.Rule.RuleModule;
21771
+ 'display-name': eslint.Rule.RuleModule;
21772
+ 'forbid-component-props': eslint.Rule.RuleModule;
21773
+ 'forbid-dom-props': eslint.Rule.RuleModule;
21774
+ 'forbid-elements': eslint.Rule.RuleModule;
21775
+ 'forbid-foreign-prop-types': eslint.Rule.RuleModule;
21776
+ 'forbid-prop-types': eslint.Rule.RuleModule;
21777
+ 'forward-ref-uses-ref': {
21778
+ meta: {
21779
+ docs: {
21780
+ description: string;
21781
+ category: string;
21782
+ recommended: boolean;
21783
+ url: string;
21784
+ };
21785
+ messages: {
21786
+ missingRefParameter: string;
21787
+ addRefParameter: string;
21788
+ removeForwardRef: string;
21789
+ };
21790
+ schema: undefined[];
21791
+ type: string;
21792
+ hasSuggestions: boolean;
21793
+ };
21794
+ create(context: any): {
21795
+ "FunctionExpression, ArrowFunctionExpression"(node: any): void;
21796
+ };
21797
+ };
21798
+ 'function-component-definition': eslint.Rule.RuleModule;
21799
+ 'hook-use-state': eslint.Rule.RuleModule;
21800
+ 'iframe-missing-sandbox': eslint.Rule.RuleModule;
21801
+ 'jsx-boolean-value': eslint.Rule.RuleModule;
21802
+ 'jsx-child-element-spacing': eslint.Rule.RuleModule;
21803
+ 'jsx-closing-bracket-location': eslint.Rule.RuleModule;
21804
+ 'jsx-closing-tag-location': eslint.Rule.RuleModule;
21805
+ 'jsx-curly-spacing': eslint.Rule.RuleModule;
21806
+ 'jsx-curly-newline': eslint.Rule.RuleModule;
21807
+ 'jsx-equals-spacing': eslint.Rule.RuleModule;
21808
+ 'jsx-filename-extension': eslint.Rule.RuleModule;
21809
+ 'jsx-first-prop-new-line': eslint.Rule.RuleModule;
21810
+ 'jsx-handler-names': eslint.Rule.RuleModule;
21811
+ 'jsx-indent': eslint.Rule.RuleModule;
21812
+ 'jsx-indent-props': eslint.Rule.RuleModule;
21813
+ 'jsx-key': eslint.Rule.RuleModule;
21814
+ 'jsx-max-depth': eslint.Rule.RuleModule;
21815
+ 'jsx-max-props-per-line': eslint.Rule.RuleModule;
21816
+ 'jsx-newline': eslint.Rule.RuleModule;
21817
+ 'jsx-no-bind': eslint.Rule.RuleModule;
21818
+ 'jsx-no-comment-textnodes': eslint.Rule.RuleModule;
21819
+ 'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
21820
+ 'jsx-no-duplicate-props': eslint.Rule.RuleModule;
21821
+ 'jsx-no-leaked-render': eslint.Rule.RuleModule;
21822
+ 'jsx-no-literals': {
21823
+ meta: eslint.Rule.RuleMetaData;
21824
+ create(context: any): (false & {
21825
+ Literal(node: any): void;
21826
+ JSXAttribute(node: any): void;
21827
+ JSXText(node: any): void;
21828
+ TemplateLiteral(node: any): void;
21829
+ }) | ({
21830
+ ImportDeclaration(node: any): void;
21831
+ VariableDeclaration(node: any): void;
21832
+ } & {
21833
+ Literal(node: any): void;
21834
+ JSXAttribute(node: any): void;
21835
+ JSXText(node: any): void;
21836
+ TemplateLiteral(node: any): void;
21837
+ });
21838
+ };
21839
+ 'jsx-no-script-url': eslint.Rule.RuleModule;
21840
+ 'jsx-no-target-blank': eslint.Rule.RuleModule;
21841
+ 'jsx-no-useless-fragment': eslint.Rule.RuleModule;
21842
+ 'jsx-one-expression-per-line': eslint.Rule.RuleModule;
21843
+ 'jsx-no-undef': eslint.Rule.RuleModule;
21844
+ 'jsx-curly-brace-presence': eslint.Rule.RuleModule;
21845
+ 'jsx-pascal-case': eslint.Rule.RuleModule;
21846
+ 'jsx-fragments': eslint.Rule.RuleModule;
21847
+ 'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
21848
+ 'jsx-props-no-spreading': eslint.Rule.RuleModule;
21849
+ 'jsx-props-no-spread-multi': {
21850
+ meta: {
21851
+ docs: {
21852
+ description: string;
21853
+ category: string;
21854
+ recommended: boolean;
21855
+ url: string;
21856
+ };
21857
+ messages: {
21858
+ noMultiSpreading: string;
21859
+ };
21860
+ };
21861
+ create(context: any): {
21862
+ JSXOpeningElement(node: any): void;
21863
+ };
21864
+ };
21865
+ 'jsx-sort-default-props': eslint.Rule.RuleModule;
21866
+ 'jsx-sort-props': eslint.Rule.RuleModule;
21867
+ 'jsx-space-before-closing': eslint.Rule.RuleModule;
21868
+ 'jsx-tag-spacing': eslint.Rule.RuleModule;
21869
+ 'jsx-uses-react': eslint.Rule.RuleModule;
21870
+ 'jsx-uses-vars': eslint.Rule.RuleModule;
21871
+ 'jsx-wrap-multilines': eslint.Rule.RuleModule;
21872
+ 'no-invalid-html-attribute': eslint.Rule.RuleModule;
21873
+ 'no-access-state-in-setstate': eslint.Rule.RuleModule;
21874
+ 'no-adjacent-inline-elements': eslint.Rule.RuleModule;
21875
+ 'no-array-index-key': eslint.Rule.RuleModule;
21876
+ 'no-arrow-function-lifecycle': eslint.Rule.RuleModule;
21877
+ 'no-children-prop': eslint.Rule.RuleModule;
21878
+ 'no-danger': eslint.Rule.RuleModule;
21879
+ 'no-danger-with-children': eslint.Rule.RuleModule;
21880
+ 'no-deprecated': eslint.Rule.RuleModule;
21881
+ 'no-did-mount-set-state': eslint.Rule.RuleModule;
21882
+ 'no-did-update-set-state': eslint.Rule.RuleModule;
21883
+ 'no-direct-mutation-state': eslint.Rule.RuleModule;
21884
+ 'no-find-dom-node': eslint.Rule.RuleModule;
21885
+ 'no-is-mounted': eslint.Rule.RuleModule;
21886
+ 'no-multi-comp': eslint.Rule.RuleModule;
21887
+ 'no-namespace': eslint.Rule.RuleModule;
21888
+ 'no-set-state': eslint.Rule.RuleModule;
21889
+ 'no-string-refs': eslint.Rule.RuleModule;
21890
+ 'no-redundant-should-component-update': eslint.Rule.RuleModule;
21891
+ 'no-render-return-value': eslint.Rule.RuleModule;
21892
+ 'no-this-in-sfc': eslint.Rule.RuleModule;
21893
+ 'no-typos': eslint.Rule.RuleModule;
21894
+ 'no-unescaped-entities': eslint.Rule.RuleModule;
21895
+ 'no-unknown-property': eslint.Rule.RuleModule;
21896
+ 'no-unsafe': eslint.Rule.RuleModule;
21897
+ 'no-unstable-nested-components': eslint.Rule.RuleModule;
21898
+ 'no-unused-class-component-methods': eslint.Rule.RuleModule;
21899
+ 'no-unused-prop-types': eslint.Rule.RuleModule;
21900
+ 'no-unused-state': eslint.Rule.RuleModule;
21901
+ 'no-object-type-as-default-prop': eslint.Rule.RuleModule;
21902
+ 'no-will-update-set-state': eslint.Rule.RuleModule;
21903
+ 'prefer-es6-class': eslint.Rule.RuleModule;
21904
+ 'prefer-exact-props': eslint.Rule.RuleModule;
21905
+ 'prefer-read-only-props': eslint.Rule.RuleModule;
21906
+ 'prefer-stateless-function': eslint.Rule.RuleModule;
21907
+ 'prop-types': eslint.Rule.RuleModule;
21908
+ 'react-in-jsx-scope': eslint.Rule.RuleModule;
21909
+ 'require-default-props': eslint.Rule.RuleModule;
21910
+ 'require-optimization': eslint.Rule.RuleModule;
21911
+ 'require-render-return': eslint.Rule.RuleModule;
21912
+ 'self-closing-comp': eslint.Rule.RuleModule;
21913
+ 'sort-comp': eslint.Rule.RuleModule;
21914
+ 'sort-default-props': eslint.Rule.RuleModule;
21915
+ 'sort-prop-types': eslint.Rule.RuleModule;
21916
+ 'state-in-constructor': eslint.Rule.RuleModule;
21917
+ 'static-property-placement': eslint.Rule.RuleModule;
21918
+ 'style-prop-object': eslint.Rule.RuleModule;
21919
+ 'void-dom-elements-no-children': eslint.Rule.RuleModule;
21920
+ }>;
21921
+ rules: {
21922
+ 'boolean-prop-naming': eslint.Rule.RuleModule;
21923
+ 'button-has-type': eslint.Rule.RuleModule;
21924
+ 'checked-requires-onchange-or-readonly': eslint.Rule.RuleModule;
21925
+ 'default-props-match-prop-types': eslint.Rule.RuleModule;
21926
+ 'destructuring-assignment': eslint.Rule.RuleModule;
21927
+ 'display-name': eslint.Rule.RuleModule;
21928
+ 'forbid-component-props': eslint.Rule.RuleModule;
21929
+ 'forbid-dom-props': eslint.Rule.RuleModule;
21930
+ 'forbid-elements': eslint.Rule.RuleModule;
21931
+ 'forbid-foreign-prop-types': eslint.Rule.RuleModule;
21932
+ 'forbid-prop-types': eslint.Rule.RuleModule;
21933
+ 'forward-ref-uses-ref': {
21934
+ meta: {
21935
+ docs: {
21936
+ description: string;
21937
+ category: string;
21938
+ recommended: boolean;
21939
+ url: string;
21940
+ };
21941
+ messages: {
21942
+ missingRefParameter: string;
21943
+ addRefParameter: string;
21944
+ removeForwardRef: string;
21945
+ };
21946
+ schema: undefined[];
21947
+ type: string;
21948
+ hasSuggestions: boolean;
21949
+ };
21950
+ create(context: any): {
21951
+ "FunctionExpression, ArrowFunctionExpression"(node: any): void;
21952
+ };
21953
+ };
21954
+ 'function-component-definition': eslint.Rule.RuleModule;
21955
+ 'hook-use-state': eslint.Rule.RuleModule;
21956
+ 'iframe-missing-sandbox': eslint.Rule.RuleModule;
21957
+ 'jsx-boolean-value': eslint.Rule.RuleModule;
21958
+ 'jsx-child-element-spacing': eslint.Rule.RuleModule;
21959
+ 'jsx-closing-bracket-location': eslint.Rule.RuleModule;
21960
+ 'jsx-closing-tag-location': eslint.Rule.RuleModule;
21961
+ 'jsx-curly-spacing': eslint.Rule.RuleModule;
21962
+ 'jsx-curly-newline': eslint.Rule.RuleModule;
21963
+ 'jsx-equals-spacing': eslint.Rule.RuleModule;
21964
+ 'jsx-filename-extension': eslint.Rule.RuleModule;
21965
+ 'jsx-first-prop-new-line': eslint.Rule.RuleModule;
21966
+ 'jsx-handler-names': eslint.Rule.RuleModule;
21967
+ 'jsx-indent': eslint.Rule.RuleModule;
21968
+ 'jsx-indent-props': eslint.Rule.RuleModule;
21969
+ 'jsx-key': eslint.Rule.RuleModule;
21970
+ 'jsx-max-depth': eslint.Rule.RuleModule;
21971
+ 'jsx-max-props-per-line': eslint.Rule.RuleModule;
21972
+ 'jsx-newline': eslint.Rule.RuleModule;
21973
+ 'jsx-no-bind': eslint.Rule.RuleModule;
21974
+ 'jsx-no-comment-textnodes': eslint.Rule.RuleModule;
21975
+ 'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
21976
+ 'jsx-no-duplicate-props': eslint.Rule.RuleModule;
21977
+ 'jsx-no-leaked-render': eslint.Rule.RuleModule;
21978
+ 'jsx-no-literals': {
21979
+ meta: eslint.Rule.RuleMetaData;
21980
+ create(context: any): (false & {
21981
+ Literal(node: any): void;
21982
+ JSXAttribute(node: any): void;
21983
+ JSXText(node: any): void;
21984
+ TemplateLiteral(node: any): void;
21985
+ }) | ({
21986
+ ImportDeclaration(node: any): void;
21987
+ VariableDeclaration(node: any): void;
21988
+ } & {
21989
+ Literal(node: any): void;
21990
+ JSXAttribute(node: any): void;
21991
+ JSXText(node: any): void;
21992
+ TemplateLiteral(node: any): void;
21993
+ });
21994
+ };
21995
+ 'jsx-no-script-url': eslint.Rule.RuleModule;
21996
+ 'jsx-no-target-blank': eslint.Rule.RuleModule;
21997
+ 'jsx-no-useless-fragment': eslint.Rule.RuleModule;
21998
+ 'jsx-one-expression-per-line': eslint.Rule.RuleModule;
21999
+ 'jsx-no-undef': eslint.Rule.RuleModule;
22000
+ 'jsx-curly-brace-presence': eslint.Rule.RuleModule;
22001
+ 'jsx-pascal-case': eslint.Rule.RuleModule;
22002
+ 'jsx-fragments': eslint.Rule.RuleModule;
22003
+ 'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
22004
+ 'jsx-props-no-spreading': eslint.Rule.RuleModule;
22005
+ 'jsx-props-no-spread-multi': {
22006
+ meta: {
22007
+ docs: {
22008
+ description: string;
22009
+ category: string;
22010
+ recommended: boolean;
22011
+ url: string;
22012
+ };
22013
+ messages: {
22014
+ noMultiSpreading: string;
22015
+ };
22016
+ };
22017
+ create(context: any): {
22018
+ JSXOpeningElement(node: any): void;
22019
+ };
22020
+ };
22021
+ 'jsx-sort-default-props': eslint.Rule.RuleModule;
22022
+ 'jsx-sort-props': eslint.Rule.RuleModule;
22023
+ 'jsx-space-before-closing': eslint.Rule.RuleModule;
22024
+ 'jsx-tag-spacing': eslint.Rule.RuleModule;
22025
+ 'jsx-uses-react': eslint.Rule.RuleModule;
22026
+ 'jsx-uses-vars': eslint.Rule.RuleModule;
22027
+ 'jsx-wrap-multilines': eslint.Rule.RuleModule;
22028
+ 'no-invalid-html-attribute': eslint.Rule.RuleModule;
22029
+ 'no-access-state-in-setstate': eslint.Rule.RuleModule;
22030
+ 'no-adjacent-inline-elements': eslint.Rule.RuleModule;
22031
+ 'no-array-index-key': eslint.Rule.RuleModule;
22032
+ 'no-arrow-function-lifecycle': eslint.Rule.RuleModule;
22033
+ 'no-children-prop': eslint.Rule.RuleModule;
22034
+ 'no-danger': eslint.Rule.RuleModule;
22035
+ 'no-danger-with-children': eslint.Rule.RuleModule;
22036
+ 'no-deprecated': eslint.Rule.RuleModule;
22037
+ 'no-did-mount-set-state': eslint.Rule.RuleModule;
22038
+ 'no-did-update-set-state': eslint.Rule.RuleModule;
22039
+ 'no-direct-mutation-state': eslint.Rule.RuleModule;
22040
+ 'no-find-dom-node': eslint.Rule.RuleModule;
22041
+ 'no-is-mounted': eslint.Rule.RuleModule;
22042
+ 'no-multi-comp': eslint.Rule.RuleModule;
22043
+ 'no-namespace': eslint.Rule.RuleModule;
22044
+ 'no-set-state': eslint.Rule.RuleModule;
22045
+ 'no-string-refs': eslint.Rule.RuleModule;
22046
+ 'no-redundant-should-component-update': eslint.Rule.RuleModule;
22047
+ 'no-render-return-value': eslint.Rule.RuleModule;
22048
+ 'no-this-in-sfc': eslint.Rule.RuleModule;
22049
+ 'no-typos': eslint.Rule.RuleModule;
22050
+ 'no-unescaped-entities': eslint.Rule.RuleModule;
22051
+ 'no-unknown-property': eslint.Rule.RuleModule;
22052
+ 'no-unsafe': eslint.Rule.RuleModule;
22053
+ 'no-unstable-nested-components': eslint.Rule.RuleModule;
22054
+ 'no-unused-class-component-methods': eslint.Rule.RuleModule;
22055
+ 'no-unused-prop-types': eslint.Rule.RuleModule;
22056
+ 'no-unused-state': eslint.Rule.RuleModule;
22057
+ 'no-object-type-as-default-prop': eslint.Rule.RuleModule;
22058
+ 'no-will-update-set-state': eslint.Rule.RuleModule;
22059
+ 'prefer-es6-class': eslint.Rule.RuleModule;
22060
+ 'prefer-exact-props': eslint.Rule.RuleModule;
22061
+ 'prefer-read-only-props': eslint.Rule.RuleModule;
22062
+ 'prefer-stateless-function': eslint.Rule.RuleModule;
22063
+ 'prop-types': eslint.Rule.RuleModule;
22064
+ 'react-in-jsx-scope': eslint.Rule.RuleModule;
22065
+ 'require-default-props': eslint.Rule.RuleModule;
22066
+ 'require-optimization': eslint.Rule.RuleModule;
22067
+ 'require-render-return': eslint.Rule.RuleModule;
22068
+ 'self-closing-comp': eslint.Rule.RuleModule;
22069
+ 'sort-comp': eslint.Rule.RuleModule;
22070
+ 'sort-default-props': eslint.Rule.RuleModule;
22071
+ 'sort-prop-types': eslint.Rule.RuleModule;
22072
+ 'state-in-constructor': eslint.Rule.RuleModule;
22073
+ 'static-property-placement': eslint.Rule.RuleModule;
22074
+ 'style-prop-object': eslint.Rule.RuleModule;
22075
+ 'void-dom-elements-no-children': eslint.Rule.RuleModule;
22076
+ };
22077
+ configs: {
22078
+ recommended: {
22079
+ plugins: ["react"];
22080
+ parserOptions: {
22081
+ ecmaFeatures: {
22082
+ jsx: boolean;
22083
+ };
22084
+ };
22085
+ rules: {
22086
+ "react/display-name": number;
22087
+ "react/jsx-key": number;
22088
+ "react/jsx-no-comment-textnodes": number;
22089
+ "react/jsx-no-duplicate-props": number;
22090
+ "react/jsx-no-target-blank": number;
22091
+ "react/jsx-no-undef": number;
22092
+ "react/jsx-uses-react": number;
22093
+ "react/jsx-uses-vars": number;
22094
+ "react/no-children-prop": number;
22095
+ "react/no-danger-with-children": number;
22096
+ "react/no-deprecated": number;
22097
+ "react/no-direct-mutation-state": number;
22098
+ "react/no-find-dom-node": number;
22099
+ "react/no-is-mounted": number;
22100
+ "react/no-render-return-value": number;
22101
+ "react/no-string-refs": number;
22102
+ "react/no-unescaped-entities": number;
22103
+ "react/no-unknown-property": number;
22104
+ "react/no-unsafe": number;
22105
+ "react/prop-types": number;
22106
+ "react/react-in-jsx-scope": number;
22107
+ "react/require-render-return": number;
22108
+ };
22109
+ };
22110
+ all: {
22111
+ plugins: ["react"];
22112
+ parserOptions: {
22113
+ ecmaFeatures: {
22114
+ jsx: boolean;
22115
+ };
22116
+ };
22117
+ rules: Record<"boolean-prop-naming" | "button-has-type" | "checked-requires-onchange-or-readonly" | "default-props-match-prop-types" | "destructuring-assignment" | "display-name" | "forbid-component-props" | "forbid-dom-props" | "forbid-elements" | "forbid-foreign-prop-types" | "forbid-prop-types" | "prop-types" | "forward-ref-uses-ref" | "function-component-definition" | "hook-use-state" | "iframe-missing-sandbox" | "jsx-boolean-value" | "jsx-child-element-spacing" | "jsx-closing-bracket-location" | "jsx-closing-tag-location" | "jsx-curly-spacing" | "jsx-curly-newline" | "jsx-equals-spacing" | "jsx-filename-extension" | "jsx-first-prop-new-line" | "jsx-handler-names" | "jsx-indent" | "jsx-indent-props" | "jsx-key" | "jsx-max-depth" | "jsx-max-props-per-line" | "jsx-newline" | "jsx-no-bind" | "jsx-no-comment-textnodes" | "jsx-no-constructed-context-values" | "jsx-no-duplicate-props" | "jsx-no-leaked-render" | "jsx-no-literals" | "jsx-no-script-url" | "jsx-no-target-blank" | "jsx-no-useless-fragment" | "jsx-one-expression-per-line" | "jsx-no-undef" | "jsx-curly-brace-presence" | "jsx-pascal-case" | "jsx-fragments" | "jsx-props-no-multi-spaces" | "jsx-props-no-spreading" | "jsx-props-no-spread-multi" | "sort-default-props" | "jsx-sort-default-props" | "jsx-sort-props" | "jsx-tag-spacing" | "jsx-space-before-closing" | "jsx-uses-react" | "jsx-uses-vars" | "jsx-wrap-multilines" | "no-invalid-html-attribute" | "no-access-state-in-setstate" | "no-adjacent-inline-elements" | "no-array-index-key" | "no-arrow-function-lifecycle" | "no-children-prop" | "no-danger" | "no-danger-with-children" | "no-deprecated" | "no-direct-mutation-state" | "no-find-dom-node" | "no-is-mounted" | "no-multi-comp" | "no-namespace" | "no-set-state" | "no-string-refs" | "no-redundant-should-component-update" | "no-render-return-value" | "no-this-in-sfc" | "no-typos" | "no-unescaped-entities" | "no-unknown-property" | "no-unsafe" | "no-unstable-nested-components" | "no-unused-class-component-methods" | "no-unused-prop-types" | "no-unused-state" | "no-object-type-as-default-prop" | "prefer-es6-class" | "prefer-exact-props" | "prefer-read-only-props" | "prefer-stateless-function" | "react-in-jsx-scope" | "require-default-props" | "require-optimization" | "require-render-return" | "self-closing-comp" | "sort-comp" | "sort-prop-types" | "state-in-constructor" | "static-property-placement" | "style-prop-object" | "void-dom-elements-no-children" | "no-did-mount-set-state" | "no-did-update-set-state" | "no-will-update-set-state", 2 | "error">;
22118
+ };
22119
+ 'jsx-runtime': {
22120
+ plugins: ["react"];
22121
+ parserOptions: {
22122
+ ecmaFeatures: {
22123
+ jsx: boolean;
22124
+ };
22125
+ jsxPragma: any;
22126
+ };
22127
+ rules: {
22128
+ "react/react-in-jsx-scope": number;
22129
+ "react/jsx-uses-react": number;
22130
+ };
22131
+ };
22132
+ } & {
22133
+ flat?: Record<string, eslint_plugin_react.ReactFlatConfig>;
22134
+ };
22135
+ };
21709
22136
  }>;
21710
22137
  declare function importPluginReactHooks(): Promise<{
21711
22138
  pluginReactHooks: any;
@@ -21714,7 +22141,378 @@ declare function importPluginReactRefresh(): Promise<{
21714
22141
  pluginReactRefresh: any;
21715
22142
  }>;
21716
22143
  declare function importReactPlugins(): Promise<{
21717
- pluginReact: typeof eslint_plugin_react;
22144
+ pluginReact: {
22145
+ deprecatedRules: Partial<{
22146
+ 'boolean-prop-naming': eslint.Rule.RuleModule;
22147
+ 'button-has-type': eslint.Rule.RuleModule;
22148
+ 'checked-requires-onchange-or-readonly': eslint.Rule.RuleModule;
22149
+ 'default-props-match-prop-types': eslint.Rule.RuleModule;
22150
+ 'destructuring-assignment': eslint.Rule.RuleModule;
22151
+ 'display-name': eslint.Rule.RuleModule;
22152
+ 'forbid-component-props': eslint.Rule.RuleModule;
22153
+ 'forbid-dom-props': eslint.Rule.RuleModule;
22154
+ 'forbid-elements': eslint.Rule.RuleModule;
22155
+ 'forbid-foreign-prop-types': eslint.Rule.RuleModule;
22156
+ 'forbid-prop-types': eslint.Rule.RuleModule;
22157
+ 'forward-ref-uses-ref': {
22158
+ meta: {
22159
+ docs: {
22160
+ description: string;
22161
+ category: string;
22162
+ recommended: boolean;
22163
+ url: string;
22164
+ };
22165
+ messages: {
22166
+ missingRefParameter: string;
22167
+ addRefParameter: string;
22168
+ removeForwardRef: string;
22169
+ };
22170
+ schema: undefined[];
22171
+ type: string;
22172
+ hasSuggestions: boolean;
22173
+ };
22174
+ create(context: any): {
22175
+ "FunctionExpression, ArrowFunctionExpression"(node: any): void;
22176
+ };
22177
+ };
22178
+ 'function-component-definition': eslint.Rule.RuleModule;
22179
+ 'hook-use-state': eslint.Rule.RuleModule;
22180
+ 'iframe-missing-sandbox': eslint.Rule.RuleModule;
22181
+ 'jsx-boolean-value': eslint.Rule.RuleModule;
22182
+ 'jsx-child-element-spacing': eslint.Rule.RuleModule;
22183
+ 'jsx-closing-bracket-location': eslint.Rule.RuleModule;
22184
+ 'jsx-closing-tag-location': eslint.Rule.RuleModule;
22185
+ 'jsx-curly-spacing': eslint.Rule.RuleModule;
22186
+ 'jsx-curly-newline': eslint.Rule.RuleModule;
22187
+ 'jsx-equals-spacing': eslint.Rule.RuleModule;
22188
+ 'jsx-filename-extension': eslint.Rule.RuleModule;
22189
+ 'jsx-first-prop-new-line': eslint.Rule.RuleModule;
22190
+ 'jsx-handler-names': eslint.Rule.RuleModule;
22191
+ 'jsx-indent': eslint.Rule.RuleModule;
22192
+ 'jsx-indent-props': eslint.Rule.RuleModule;
22193
+ 'jsx-key': eslint.Rule.RuleModule;
22194
+ 'jsx-max-depth': eslint.Rule.RuleModule;
22195
+ 'jsx-max-props-per-line': eslint.Rule.RuleModule;
22196
+ 'jsx-newline': eslint.Rule.RuleModule;
22197
+ 'jsx-no-bind': eslint.Rule.RuleModule;
22198
+ 'jsx-no-comment-textnodes': eslint.Rule.RuleModule;
22199
+ 'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
22200
+ 'jsx-no-duplicate-props': eslint.Rule.RuleModule;
22201
+ 'jsx-no-leaked-render': eslint.Rule.RuleModule;
22202
+ 'jsx-no-literals': {
22203
+ meta: eslint.Rule.RuleMetaData;
22204
+ create(context: any): (false & {
22205
+ Literal(node: any): void;
22206
+ JSXAttribute(node: any): void;
22207
+ JSXText(node: any): void;
22208
+ TemplateLiteral(node: any): void;
22209
+ }) | ({
22210
+ ImportDeclaration(node: any): void;
22211
+ VariableDeclaration(node: any): void;
22212
+ } & {
22213
+ Literal(node: any): void;
22214
+ JSXAttribute(node: any): void;
22215
+ JSXText(node: any): void;
22216
+ TemplateLiteral(node: any): void;
22217
+ });
22218
+ };
22219
+ 'jsx-no-script-url': eslint.Rule.RuleModule;
22220
+ 'jsx-no-target-blank': eslint.Rule.RuleModule;
22221
+ 'jsx-no-useless-fragment': eslint.Rule.RuleModule;
22222
+ 'jsx-one-expression-per-line': eslint.Rule.RuleModule;
22223
+ 'jsx-no-undef': eslint.Rule.RuleModule;
22224
+ 'jsx-curly-brace-presence': eslint.Rule.RuleModule;
22225
+ 'jsx-pascal-case': eslint.Rule.RuleModule;
22226
+ 'jsx-fragments': eslint.Rule.RuleModule;
22227
+ 'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
22228
+ 'jsx-props-no-spreading': eslint.Rule.RuleModule;
22229
+ 'jsx-props-no-spread-multi': {
22230
+ meta: {
22231
+ docs: {
22232
+ description: string;
22233
+ category: string;
22234
+ recommended: boolean;
22235
+ url: string;
22236
+ };
22237
+ messages: {
22238
+ noMultiSpreading: string;
22239
+ };
22240
+ };
22241
+ create(context: any): {
22242
+ JSXOpeningElement(node: any): void;
22243
+ };
22244
+ };
22245
+ 'jsx-sort-default-props': eslint.Rule.RuleModule;
22246
+ 'jsx-sort-props': eslint.Rule.RuleModule;
22247
+ 'jsx-space-before-closing': eslint.Rule.RuleModule;
22248
+ 'jsx-tag-spacing': eslint.Rule.RuleModule;
22249
+ 'jsx-uses-react': eslint.Rule.RuleModule;
22250
+ 'jsx-uses-vars': eslint.Rule.RuleModule;
22251
+ 'jsx-wrap-multilines': eslint.Rule.RuleModule;
22252
+ 'no-invalid-html-attribute': eslint.Rule.RuleModule;
22253
+ 'no-access-state-in-setstate': eslint.Rule.RuleModule;
22254
+ 'no-adjacent-inline-elements': eslint.Rule.RuleModule;
22255
+ 'no-array-index-key': eslint.Rule.RuleModule;
22256
+ 'no-arrow-function-lifecycle': eslint.Rule.RuleModule;
22257
+ 'no-children-prop': eslint.Rule.RuleModule;
22258
+ 'no-danger': eslint.Rule.RuleModule;
22259
+ 'no-danger-with-children': eslint.Rule.RuleModule;
22260
+ 'no-deprecated': eslint.Rule.RuleModule;
22261
+ 'no-did-mount-set-state': eslint.Rule.RuleModule;
22262
+ 'no-did-update-set-state': eslint.Rule.RuleModule;
22263
+ 'no-direct-mutation-state': eslint.Rule.RuleModule;
22264
+ 'no-find-dom-node': eslint.Rule.RuleModule;
22265
+ 'no-is-mounted': eslint.Rule.RuleModule;
22266
+ 'no-multi-comp': eslint.Rule.RuleModule;
22267
+ 'no-namespace': eslint.Rule.RuleModule;
22268
+ 'no-set-state': eslint.Rule.RuleModule;
22269
+ 'no-string-refs': eslint.Rule.RuleModule;
22270
+ 'no-redundant-should-component-update': eslint.Rule.RuleModule;
22271
+ 'no-render-return-value': eslint.Rule.RuleModule;
22272
+ 'no-this-in-sfc': eslint.Rule.RuleModule;
22273
+ 'no-typos': eslint.Rule.RuleModule;
22274
+ 'no-unescaped-entities': eslint.Rule.RuleModule;
22275
+ 'no-unknown-property': eslint.Rule.RuleModule;
22276
+ 'no-unsafe': eslint.Rule.RuleModule;
22277
+ 'no-unstable-nested-components': eslint.Rule.RuleModule;
22278
+ 'no-unused-class-component-methods': eslint.Rule.RuleModule;
22279
+ 'no-unused-prop-types': eslint.Rule.RuleModule;
22280
+ 'no-unused-state': eslint.Rule.RuleModule;
22281
+ 'no-object-type-as-default-prop': eslint.Rule.RuleModule;
22282
+ 'no-will-update-set-state': eslint.Rule.RuleModule;
22283
+ 'prefer-es6-class': eslint.Rule.RuleModule;
22284
+ 'prefer-exact-props': eslint.Rule.RuleModule;
22285
+ 'prefer-read-only-props': eslint.Rule.RuleModule;
22286
+ 'prefer-stateless-function': eslint.Rule.RuleModule;
22287
+ 'prop-types': eslint.Rule.RuleModule;
22288
+ 'react-in-jsx-scope': eslint.Rule.RuleModule;
22289
+ 'require-default-props': eslint.Rule.RuleModule;
22290
+ 'require-optimization': eslint.Rule.RuleModule;
22291
+ 'require-render-return': eslint.Rule.RuleModule;
22292
+ 'self-closing-comp': eslint.Rule.RuleModule;
22293
+ 'sort-comp': eslint.Rule.RuleModule;
22294
+ 'sort-default-props': eslint.Rule.RuleModule;
22295
+ 'sort-prop-types': eslint.Rule.RuleModule;
22296
+ 'state-in-constructor': eslint.Rule.RuleModule;
22297
+ 'static-property-placement': eslint.Rule.RuleModule;
22298
+ 'style-prop-object': eslint.Rule.RuleModule;
22299
+ 'void-dom-elements-no-children': eslint.Rule.RuleModule;
22300
+ }>;
22301
+ rules: {
22302
+ 'boolean-prop-naming': eslint.Rule.RuleModule;
22303
+ 'button-has-type': eslint.Rule.RuleModule;
22304
+ 'checked-requires-onchange-or-readonly': eslint.Rule.RuleModule;
22305
+ 'default-props-match-prop-types': eslint.Rule.RuleModule;
22306
+ 'destructuring-assignment': eslint.Rule.RuleModule;
22307
+ 'display-name': eslint.Rule.RuleModule;
22308
+ 'forbid-component-props': eslint.Rule.RuleModule;
22309
+ 'forbid-dom-props': eslint.Rule.RuleModule;
22310
+ 'forbid-elements': eslint.Rule.RuleModule;
22311
+ 'forbid-foreign-prop-types': eslint.Rule.RuleModule;
22312
+ 'forbid-prop-types': eslint.Rule.RuleModule;
22313
+ 'forward-ref-uses-ref': {
22314
+ meta: {
22315
+ docs: {
22316
+ description: string;
22317
+ category: string;
22318
+ recommended: boolean;
22319
+ url: string;
22320
+ };
22321
+ messages: {
22322
+ missingRefParameter: string;
22323
+ addRefParameter: string;
22324
+ removeForwardRef: string;
22325
+ };
22326
+ schema: undefined[];
22327
+ type: string;
22328
+ hasSuggestions: boolean;
22329
+ };
22330
+ create(context: any): {
22331
+ "FunctionExpression, ArrowFunctionExpression"(node: any): void;
22332
+ };
22333
+ };
22334
+ 'function-component-definition': eslint.Rule.RuleModule;
22335
+ 'hook-use-state': eslint.Rule.RuleModule;
22336
+ 'iframe-missing-sandbox': eslint.Rule.RuleModule;
22337
+ 'jsx-boolean-value': eslint.Rule.RuleModule;
22338
+ 'jsx-child-element-spacing': eslint.Rule.RuleModule;
22339
+ 'jsx-closing-bracket-location': eslint.Rule.RuleModule;
22340
+ 'jsx-closing-tag-location': eslint.Rule.RuleModule;
22341
+ 'jsx-curly-spacing': eslint.Rule.RuleModule;
22342
+ 'jsx-curly-newline': eslint.Rule.RuleModule;
22343
+ 'jsx-equals-spacing': eslint.Rule.RuleModule;
22344
+ 'jsx-filename-extension': eslint.Rule.RuleModule;
22345
+ 'jsx-first-prop-new-line': eslint.Rule.RuleModule;
22346
+ 'jsx-handler-names': eslint.Rule.RuleModule;
22347
+ 'jsx-indent': eslint.Rule.RuleModule;
22348
+ 'jsx-indent-props': eslint.Rule.RuleModule;
22349
+ 'jsx-key': eslint.Rule.RuleModule;
22350
+ 'jsx-max-depth': eslint.Rule.RuleModule;
22351
+ 'jsx-max-props-per-line': eslint.Rule.RuleModule;
22352
+ 'jsx-newline': eslint.Rule.RuleModule;
22353
+ 'jsx-no-bind': eslint.Rule.RuleModule;
22354
+ 'jsx-no-comment-textnodes': eslint.Rule.RuleModule;
22355
+ 'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
22356
+ 'jsx-no-duplicate-props': eslint.Rule.RuleModule;
22357
+ 'jsx-no-leaked-render': eslint.Rule.RuleModule;
22358
+ 'jsx-no-literals': {
22359
+ meta: eslint.Rule.RuleMetaData;
22360
+ create(context: any): (false & {
22361
+ Literal(node: any): void;
22362
+ JSXAttribute(node: any): void;
22363
+ JSXText(node: any): void;
22364
+ TemplateLiteral(node: any): void;
22365
+ }) | ({
22366
+ ImportDeclaration(node: any): void;
22367
+ VariableDeclaration(node: any): void;
22368
+ } & {
22369
+ Literal(node: any): void;
22370
+ JSXAttribute(node: any): void;
22371
+ JSXText(node: any): void;
22372
+ TemplateLiteral(node: any): void;
22373
+ });
22374
+ };
22375
+ 'jsx-no-script-url': eslint.Rule.RuleModule;
22376
+ 'jsx-no-target-blank': eslint.Rule.RuleModule;
22377
+ 'jsx-no-useless-fragment': eslint.Rule.RuleModule;
22378
+ 'jsx-one-expression-per-line': eslint.Rule.RuleModule;
22379
+ 'jsx-no-undef': eslint.Rule.RuleModule;
22380
+ 'jsx-curly-brace-presence': eslint.Rule.RuleModule;
22381
+ 'jsx-pascal-case': eslint.Rule.RuleModule;
22382
+ 'jsx-fragments': eslint.Rule.RuleModule;
22383
+ 'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
22384
+ 'jsx-props-no-spreading': eslint.Rule.RuleModule;
22385
+ 'jsx-props-no-spread-multi': {
22386
+ meta: {
22387
+ docs: {
22388
+ description: string;
22389
+ category: string;
22390
+ recommended: boolean;
22391
+ url: string;
22392
+ };
22393
+ messages: {
22394
+ noMultiSpreading: string;
22395
+ };
22396
+ };
22397
+ create(context: any): {
22398
+ JSXOpeningElement(node: any): void;
22399
+ };
22400
+ };
22401
+ 'jsx-sort-default-props': eslint.Rule.RuleModule;
22402
+ 'jsx-sort-props': eslint.Rule.RuleModule;
22403
+ 'jsx-space-before-closing': eslint.Rule.RuleModule;
22404
+ 'jsx-tag-spacing': eslint.Rule.RuleModule;
22405
+ 'jsx-uses-react': eslint.Rule.RuleModule;
22406
+ 'jsx-uses-vars': eslint.Rule.RuleModule;
22407
+ 'jsx-wrap-multilines': eslint.Rule.RuleModule;
22408
+ 'no-invalid-html-attribute': eslint.Rule.RuleModule;
22409
+ 'no-access-state-in-setstate': eslint.Rule.RuleModule;
22410
+ 'no-adjacent-inline-elements': eslint.Rule.RuleModule;
22411
+ 'no-array-index-key': eslint.Rule.RuleModule;
22412
+ 'no-arrow-function-lifecycle': eslint.Rule.RuleModule;
22413
+ 'no-children-prop': eslint.Rule.RuleModule;
22414
+ 'no-danger': eslint.Rule.RuleModule;
22415
+ 'no-danger-with-children': eslint.Rule.RuleModule;
22416
+ 'no-deprecated': eslint.Rule.RuleModule;
22417
+ 'no-did-mount-set-state': eslint.Rule.RuleModule;
22418
+ 'no-did-update-set-state': eslint.Rule.RuleModule;
22419
+ 'no-direct-mutation-state': eslint.Rule.RuleModule;
22420
+ 'no-find-dom-node': eslint.Rule.RuleModule;
22421
+ 'no-is-mounted': eslint.Rule.RuleModule;
22422
+ 'no-multi-comp': eslint.Rule.RuleModule;
22423
+ 'no-namespace': eslint.Rule.RuleModule;
22424
+ 'no-set-state': eslint.Rule.RuleModule;
22425
+ 'no-string-refs': eslint.Rule.RuleModule;
22426
+ 'no-redundant-should-component-update': eslint.Rule.RuleModule;
22427
+ 'no-render-return-value': eslint.Rule.RuleModule;
22428
+ 'no-this-in-sfc': eslint.Rule.RuleModule;
22429
+ 'no-typos': eslint.Rule.RuleModule;
22430
+ 'no-unescaped-entities': eslint.Rule.RuleModule;
22431
+ 'no-unknown-property': eslint.Rule.RuleModule;
22432
+ 'no-unsafe': eslint.Rule.RuleModule;
22433
+ 'no-unstable-nested-components': eslint.Rule.RuleModule;
22434
+ 'no-unused-class-component-methods': eslint.Rule.RuleModule;
22435
+ 'no-unused-prop-types': eslint.Rule.RuleModule;
22436
+ 'no-unused-state': eslint.Rule.RuleModule;
22437
+ 'no-object-type-as-default-prop': eslint.Rule.RuleModule;
22438
+ 'no-will-update-set-state': eslint.Rule.RuleModule;
22439
+ 'prefer-es6-class': eslint.Rule.RuleModule;
22440
+ 'prefer-exact-props': eslint.Rule.RuleModule;
22441
+ 'prefer-read-only-props': eslint.Rule.RuleModule;
22442
+ 'prefer-stateless-function': eslint.Rule.RuleModule;
22443
+ 'prop-types': eslint.Rule.RuleModule;
22444
+ 'react-in-jsx-scope': eslint.Rule.RuleModule;
22445
+ 'require-default-props': eslint.Rule.RuleModule;
22446
+ 'require-optimization': eslint.Rule.RuleModule;
22447
+ 'require-render-return': eslint.Rule.RuleModule;
22448
+ 'self-closing-comp': eslint.Rule.RuleModule;
22449
+ 'sort-comp': eslint.Rule.RuleModule;
22450
+ 'sort-default-props': eslint.Rule.RuleModule;
22451
+ 'sort-prop-types': eslint.Rule.RuleModule;
22452
+ 'state-in-constructor': eslint.Rule.RuleModule;
22453
+ 'static-property-placement': eslint.Rule.RuleModule;
22454
+ 'style-prop-object': eslint.Rule.RuleModule;
22455
+ 'void-dom-elements-no-children': eslint.Rule.RuleModule;
22456
+ };
22457
+ configs: {
22458
+ recommended: {
22459
+ plugins: ["react"];
22460
+ parserOptions: {
22461
+ ecmaFeatures: {
22462
+ jsx: boolean;
22463
+ };
22464
+ };
22465
+ rules: {
22466
+ "react/display-name": number;
22467
+ "react/jsx-key": number;
22468
+ "react/jsx-no-comment-textnodes": number;
22469
+ "react/jsx-no-duplicate-props": number;
22470
+ "react/jsx-no-target-blank": number;
22471
+ "react/jsx-no-undef": number;
22472
+ "react/jsx-uses-react": number;
22473
+ "react/jsx-uses-vars": number;
22474
+ "react/no-children-prop": number;
22475
+ "react/no-danger-with-children": number;
22476
+ "react/no-deprecated": number;
22477
+ "react/no-direct-mutation-state": number;
22478
+ "react/no-find-dom-node": number;
22479
+ "react/no-is-mounted": number;
22480
+ "react/no-render-return-value": number;
22481
+ "react/no-string-refs": number;
22482
+ "react/no-unescaped-entities": number;
22483
+ "react/no-unknown-property": number;
22484
+ "react/no-unsafe": number;
22485
+ "react/prop-types": number;
22486
+ "react/react-in-jsx-scope": number;
22487
+ "react/require-render-return": number;
22488
+ };
22489
+ };
22490
+ all: {
22491
+ plugins: ["react"];
22492
+ parserOptions: {
22493
+ ecmaFeatures: {
22494
+ jsx: boolean;
22495
+ };
22496
+ };
22497
+ rules: Record<"boolean-prop-naming" | "button-has-type" | "checked-requires-onchange-or-readonly" | "default-props-match-prop-types" | "destructuring-assignment" | "display-name" | "forbid-component-props" | "forbid-dom-props" | "forbid-elements" | "forbid-foreign-prop-types" | "forbid-prop-types" | "prop-types" | "forward-ref-uses-ref" | "function-component-definition" | "hook-use-state" | "iframe-missing-sandbox" | "jsx-boolean-value" | "jsx-child-element-spacing" | "jsx-closing-bracket-location" | "jsx-closing-tag-location" | "jsx-curly-spacing" | "jsx-curly-newline" | "jsx-equals-spacing" | "jsx-filename-extension" | "jsx-first-prop-new-line" | "jsx-handler-names" | "jsx-indent" | "jsx-indent-props" | "jsx-key" | "jsx-max-depth" | "jsx-max-props-per-line" | "jsx-newline" | "jsx-no-bind" | "jsx-no-comment-textnodes" | "jsx-no-constructed-context-values" | "jsx-no-duplicate-props" | "jsx-no-leaked-render" | "jsx-no-literals" | "jsx-no-script-url" | "jsx-no-target-blank" | "jsx-no-useless-fragment" | "jsx-one-expression-per-line" | "jsx-no-undef" | "jsx-curly-brace-presence" | "jsx-pascal-case" | "jsx-fragments" | "jsx-props-no-multi-spaces" | "jsx-props-no-spreading" | "jsx-props-no-spread-multi" | "sort-default-props" | "jsx-sort-default-props" | "jsx-sort-props" | "jsx-tag-spacing" | "jsx-space-before-closing" | "jsx-uses-react" | "jsx-uses-vars" | "jsx-wrap-multilines" | "no-invalid-html-attribute" | "no-access-state-in-setstate" | "no-adjacent-inline-elements" | "no-array-index-key" | "no-arrow-function-lifecycle" | "no-children-prop" | "no-danger" | "no-danger-with-children" | "no-deprecated" | "no-direct-mutation-state" | "no-find-dom-node" | "no-is-mounted" | "no-multi-comp" | "no-namespace" | "no-set-state" | "no-string-refs" | "no-redundant-should-component-update" | "no-render-return-value" | "no-this-in-sfc" | "no-typos" | "no-unescaped-entities" | "no-unknown-property" | "no-unsafe" | "no-unstable-nested-components" | "no-unused-class-component-methods" | "no-unused-prop-types" | "no-unused-state" | "no-object-type-as-default-prop" | "prefer-es6-class" | "prefer-exact-props" | "prefer-read-only-props" | "prefer-stateless-function" | "react-in-jsx-scope" | "require-default-props" | "require-optimization" | "require-render-return" | "self-closing-comp" | "sort-comp" | "sort-prop-types" | "state-in-constructor" | "static-property-placement" | "style-prop-object" | "void-dom-elements-no-children" | "no-did-mount-set-state" | "no-did-update-set-state" | "no-will-update-set-state", 2 | "error">;
22498
+ };
22499
+ 'jsx-runtime': {
22500
+ plugins: ["react"];
22501
+ parserOptions: {
22502
+ ecmaFeatures: {
22503
+ jsx: boolean;
22504
+ };
22505
+ jsxPragma: any;
22506
+ };
22507
+ rules: {
22508
+ "react/react-in-jsx-scope": number;
22509
+ "react/jsx-uses-react": number;
22510
+ };
22511
+ };
22512
+ } & {
22513
+ flat?: Record<string, eslint_plugin_react.ReactFlatConfig>;
22514
+ };
22515
+ };
21718
22516
  pluginReactHooks: any;
21719
22517
  pluginReactRefresh: any;
21720
22518
  }>;