@jsse/eslint-config 0.2.29 → 0.2.30

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.ts CHANGED
@@ -6,6 +6,7 @@ import { Linter, Rule } from 'eslint';
6
6
  import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
7
7
  import * as neverthrow from 'neverthrow';
8
8
  import * as _stylistic_eslint_plugin from '@stylistic/eslint-plugin';
9
+ import * as eslint_plugin_jsdoc from 'eslint-plugin-jsdoc';
9
10
  import * as _eslint_markdown from '@eslint/markdown';
10
11
  import * as eslint_plugin_yml_lib_types_js from 'eslint-plugin-yml/lib/types.js';
11
12
  import * as eslint_plugin_yml_lib_meta_js from 'eslint-plugin-yml/lib/meta.js';
@@ -13,6 +14,7 @@ import * as yaml_eslint_parser from 'yaml-eslint-parser';
13
14
  import * as eslint_plugin_jsonc_types from 'eslint-plugin-jsonc/types';
14
15
  import * as eslint_plugin_jsonc_meta from 'eslint-plugin-jsonc/meta';
15
16
  import * as jsonc_eslint_parser from 'jsonc-eslint-parser';
17
+ import * as eslint_plugin_react_refresh from 'eslint-plugin-react-refresh';
16
18
  import * as eslint_plugin_react from 'eslint-plugin-react';
17
19
  export { default as pluginEslintComments } from '@eslint-community/eslint-plugin-eslint-comments';
18
20
  export { default as pluginTs } from '@typescript-eslint/eslint-plugin';
@@ -4348,233 +4350,233 @@ interface IgnoresRuleOptions {}
4348
4350
  interface ImportsRuleOptions {
4349
4351
  /**
4350
4352
  * 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.4.2/docs/rules/consistent-type-specifier-style.md
4353
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/consistent-type-specifier-style.md
4352
4354
  */
4353
4355
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle$1>;
4354
4356
  /**
4355
4357
  * Ensure a default export is present, given a default import.
4356
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/default.md
4358
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/default.md
4357
4359
  */
4358
4360
  "import/default"?: Linter.RuleEntry<[]>;
4359
4361
  /**
4360
4362
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
4361
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/dynamic-import-chunkname.md
4363
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/dynamic-import-chunkname.md
4362
4364
  */
4363
4365
  "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname$1>;
4364
4366
  /**
4365
4367
  * 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.4.2/docs/rules/export.md
4368
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/export.md
4367
4369
  */
4368
4370
  "import/export"?: Linter.RuleEntry<[]>;
4369
4371
  /**
4370
4372
  * Ensure all exports appear after other statements.
4371
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/exports-last.md
4373
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/exports-last.md
4372
4374
  */
4373
4375
  "import/exports-last"?: Linter.RuleEntry<[]>;
4374
4376
  /**
4375
4377
  * Ensure consistent use of file extension within the import path.
4376
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/extensions.md
4378
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/extensions.md
4377
4379
  */
4378
4380
  "import/extensions"?: Linter.RuleEntry<ImportExtensions$1>;
4379
4381
  /**
4380
4382
  * Ensure all imports appear before other statements.
4381
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/first.md
4383
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/first.md
4382
4384
  */
4383
4385
  "import/first"?: Linter.RuleEntry<ImportFirst$1>;
4384
4386
  /**
4385
4387
  * 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.4.2/docs/rules/group-exports.md
4388
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/group-exports.md
4387
4389
  */
4388
4390
  "import/group-exports"?: Linter.RuleEntry<[]>;
4389
4391
  /**
4390
4392
  * Replaced by `import-x/first`.
4391
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/imports-first.md
4393
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/imports-first.md
4392
4394
  * @deprecated
4393
4395
  */
4394
4396
  "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst$1>;
4395
4397
  /**
4396
4398
  * Enforce the maximum number of dependencies a module can have.
4397
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/max-dependencies.md
4399
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/max-dependencies.md
4398
4400
  */
4399
4401
  "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies$1>;
4400
4402
  /**
4401
4403
  * 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.4.2/docs/rules/named.md
4404
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/named.md
4403
4405
  */
4404
4406
  "import/named"?: Linter.RuleEntry<ImportNamed$1>;
4405
4407
  /**
4406
4408
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
4407
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/namespace.md
4409
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/namespace.md
4408
4410
  */
4409
4411
  "import/namespace"?: Linter.RuleEntry<ImportNamespace$1>;
4410
4412
  /**
4411
4413
  * Enforce a newline after import statements.
4412
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/newline-after-import.md
4414
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/newline-after-import.md
4413
4415
  */
4414
4416
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport$1>;
4415
4417
  /**
4416
4418
  * Forbid import of modules using absolute paths.
4417
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-absolute-path.md
4419
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-absolute-path.md
4418
4420
  */
4419
4421
  "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath$1>;
4420
4422
  /**
4421
4423
  * Forbid AMD `require` and `define` calls.
4422
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-amd.md
4424
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-amd.md
4423
4425
  */
4424
4426
  "import/no-amd"?: Linter.RuleEntry<[]>;
4425
4427
  /**
4426
4428
  * Forbid anonymous values as default exports.
4427
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-anonymous-default-export.md
4429
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-anonymous-default-export.md
4428
4430
  */
4429
4431
  "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport$1>;
4430
4432
  /**
4431
4433
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
4432
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-commonjs.md
4434
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-commonjs.md
4433
4435
  */
4434
4436
  "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs$1>;
4435
4437
  /**
4436
4438
  * 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.4.2/docs/rules/no-cycle.md
4439
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-cycle.md
4438
4440
  */
4439
4441
  "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle$1>;
4440
4442
  /**
4441
4443
  * Forbid default exports.
4442
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-default-export.md
4444
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-default-export.md
4443
4445
  */
4444
4446
  "import/no-default-export"?: Linter.RuleEntry<[]>;
4445
4447
  /**
4446
4448
  * Forbid imported names marked with `@deprecated` documentation tag.
4447
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-deprecated.md
4449
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-deprecated.md
4448
4450
  */
4449
4451
  "import/no-deprecated"?: Linter.RuleEntry<[]>;
4450
4452
  /**
4451
4453
  * Forbid repeated import of the same module in multiple places.
4452
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-duplicates.md
4454
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-duplicates.md
4453
4455
  */
4454
4456
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates$1>;
4455
4457
  /**
4456
4458
  * Forbid `require()` calls with expressions.
4457
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-dynamic-require.md
4459
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-dynamic-require.md
4458
4460
  */
4459
4461
  "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire$1>;
4460
4462
  /**
4461
4463
  * Forbid empty named import blocks.
4462
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-empty-named-blocks.md
4464
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-empty-named-blocks.md
4463
4465
  */
4464
4466
  "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
4465
4467
  /**
4466
4468
  * Forbid the use of extraneous packages.
4467
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-extraneous-dependencies.md
4469
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-extraneous-dependencies.md
4468
4470
  */
4469
4471
  "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies$1>;
4470
4472
  /**
4471
4473
  * Forbid import statements with CommonJS module.exports.
4472
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-import-module-exports.md
4474
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-import-module-exports.md
4473
4475
  */
4474
4476
  "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports$1>;
4475
4477
  /**
4476
4478
  * Forbid importing the submodules of other modules.
4477
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-internal-modules.md
4479
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-internal-modules.md
4478
4480
  */
4479
4481
  "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules$1>;
4480
4482
  /**
4481
4483
  * Forbid the use of mutable exports with `var` or `let`.
4482
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-mutable-exports.md
4484
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-mutable-exports.md
4483
4485
  */
4484
4486
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
4485
4487
  /**
4486
4488
  * Forbid use of exported name as identifier of default export.
4487
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-as-default.md
4489
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-as-default.md
4488
4490
  */
4489
4491
  "import/no-named-as-default"?: Linter.RuleEntry<[]>;
4490
4492
  /**
4491
4493
  * Forbid use of exported name as property of default export.
4492
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-as-default-member.md
4494
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-as-default-member.md
4493
4495
  */
4494
4496
  "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
4495
4497
  /**
4496
4498
  * Forbid named default exports.
4497
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-default.md
4499
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-default.md
4498
4500
  */
4499
4501
  "import/no-named-default"?: Linter.RuleEntry<[]>;
4500
4502
  /**
4501
4503
  * Forbid named exports.
4502
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-export.md
4504
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-export.md
4503
4505
  */
4504
4506
  "import/no-named-export"?: Linter.RuleEntry<[]>;
4505
4507
  /**
4506
4508
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
4507
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-namespace.md
4509
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-namespace.md
4508
4510
  */
4509
4511
  "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace$1>;
4510
4512
  /**
4511
4513
  * Forbid Node.js builtin modules.
4512
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-nodejs-modules.md
4514
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-nodejs-modules.md
4513
4515
  */
4514
4516
  "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules$1>;
4515
4517
  /**
4516
4518
  * Forbid importing packages through relative paths.
4517
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-relative-packages.md
4519
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-relative-packages.md
4518
4520
  */
4519
4521
  "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages$1>;
4520
4522
  /**
4521
4523
  * Forbid importing modules from parent directories.
4522
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-relative-parent-imports.md
4524
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-relative-parent-imports.md
4523
4525
  */
4524
4526
  "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports$1>;
4525
4527
  /**
4526
4528
  * Forbid importing a default export by a different name.
4527
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-rename-default.md
4529
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-rename-default.md
4528
4530
  */
4529
4531
  "import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault$1>;
4530
4532
  /**
4531
4533
  * Enforce which files can be imported in a given folder.
4532
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-restricted-paths.md
4534
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-restricted-paths.md
4533
4535
  */
4534
4536
  "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths$1>;
4535
4537
  /**
4536
4538
  * Forbid a module from importing itself.
4537
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-self-import.md
4539
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-self-import.md
4538
4540
  */
4539
4541
  "import/no-self-import"?: Linter.RuleEntry<[]>;
4540
4542
  /**
4541
4543
  * Forbid unassigned imports.
4542
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-unassigned-import.md
4544
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unassigned-import.md
4543
4545
  */
4544
4546
  "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport$1>;
4545
4547
  /**
4546
4548
  * Ensure imports point to a file/module that can be resolved.
4547
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-unresolved.md
4549
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unresolved.md
4548
4550
  */
4549
4551
  "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved$1>;
4550
4552
  /**
4551
4553
  * 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.4.2/docs/rules/no-unused-modules.md
4554
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unused-modules.md
4553
4555
  */
4554
4556
  "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules$1>;
4555
4557
  /**
4556
4558
  * Forbid unnecessary path segments in import and require statements.
4557
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-useless-path-segments.md
4559
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-useless-path-segments.md
4558
4560
  */
4559
4561
  "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments$1>;
4560
4562
  /**
4561
4563
  * Forbid webpack loader syntax in imports.
4562
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-webpack-loader-syntax.md
4564
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-webpack-loader-syntax.md
4563
4565
  */
4564
4566
  "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
4565
4567
  /**
4566
4568
  * Enforce a convention in module import order.
4567
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/order.md
4569
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/order.md
4568
4570
  */
4569
4571
  "import/order"?: Linter.RuleEntry<ImportOrder$1>;
4570
4572
  /**
4571
4573
  * 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.4.2/docs/rules/prefer-default-export.md
4574
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/prefer-default-export.md
4573
4575
  */
4574
4576
  "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport$1>;
4575
4577
  /**
4576
4578
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
4577
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/unambiguous.md
4579
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/unambiguous.md
4578
4580
  */
4579
4581
  "import/unambiguous"?: Linter.RuleEntry<[]>;
4580
4582
  }
@@ -5507,6 +5509,7 @@ type JsdocLinesBeforeBlock =
5507
5509
  | []
5508
5510
  | [
5509
5511
  {
5512
+ checkBlockStarts?: boolean;
5510
5513
  excludedTags?: string[];
5511
5514
  ignoreSameLine?: boolean;
5512
5515
  lines?: number;
@@ -7173,6 +7176,9 @@ type NNoExtraneousImport =
7173
7176
  }[],
7174
7177
  ];
7175
7178
  resolvePaths?: string[];
7179
+ resolverConfig?: {
7180
+ [k: string]: unknown | undefined;
7181
+ };
7176
7182
  },
7177
7183
  ];
7178
7184
  // ----- n/no-extraneous-require -----
@@ -7200,6 +7206,9 @@ type NNoExtraneousRequire =
7200
7206
  }[],
7201
7207
  ];
7202
7208
  resolvePaths?: string[];
7209
+ resolverConfig?: {
7210
+ [k: string]: unknown | undefined;
7211
+ };
7203
7212
  tryExtensions?: string[];
7204
7213
  },
7205
7214
  ];
@@ -7250,6 +7259,9 @@ type NNoMissingImport =
7250
7259
  {
7251
7260
  allowModules?: string[];
7252
7261
  resolvePaths?: string[];
7262
+ resolverConfig?: {
7263
+ [k: string]: unknown | undefined;
7264
+ };
7253
7265
  tryExtensions?: string[];
7254
7266
  ignoreTypeImport?: boolean;
7255
7267
  tsconfigPath?: string;
@@ -7272,6 +7284,9 @@ type NNoMissingRequire =
7272
7284
  allowModules?: string[];
7273
7285
  tryExtensions?: string[];
7274
7286
  resolvePaths?: string[];
7287
+ resolverConfig?: {
7288
+ [k: string]: unknown | undefined;
7289
+ };
7275
7290
  typescriptExtensionMap?:
7276
7291
  | unknown[][]
7277
7292
  | (
@@ -7332,6 +7347,7 @@ type NNoSync =
7332
7347
  | [
7333
7348
  {
7334
7349
  allowAtRootLevel?: boolean;
7350
+ ignores?: string[];
7335
7351
  },
7336
7352
  ];
7337
7353
  // ----- n/no-unpublished-bin -----
@@ -7385,6 +7401,9 @@ type NNoUnpublishedImport =
7385
7401
  }[],
7386
7402
  ];
7387
7403
  resolvePaths?: string[];
7404
+ resolverConfig?: {
7405
+ [k: string]: unknown | undefined;
7406
+ };
7388
7407
  ignoreTypeImport?: boolean;
7389
7408
  ignorePrivate?: boolean;
7390
7409
  },
@@ -7414,6 +7433,9 @@ type NNoUnpublishedRequire =
7414
7433
  }[],
7415
7434
  ];
7416
7435
  resolvePaths?: string[];
7436
+ resolverConfig?: {
7437
+ [k: string]: unknown | undefined;
7438
+ };
7417
7439
  tryExtensions?: string[];
7418
7440
  ignorePrivate?: boolean;
7419
7441
  },
@@ -8499,6 +8521,7 @@ type NNoUnsupportedFeaturesNodeBuiltins =
8499
8521
  | "process.ppid"
8500
8522
  | "process.release"
8501
8523
  | "process.report"
8524
+ | "process.report.excludeEnv"
8502
8525
  | "process.sourceMapsEnabled"
8503
8526
  | "process.stdin"
8504
8527
  | "process.stdin.isRaw"
@@ -9145,6 +9168,10 @@ type NNoUnsupportedFeaturesNodeBuiltins =
9145
9168
  | "inspector.waitForDebugger"
9146
9169
  | "inspector/promises"
9147
9170
  | "inspector/promises.Session"
9171
+ | "inspector/promises.Network.loadingFailed"
9172
+ | "inspector/promises.Network.loadingFinished"
9173
+ | "inspector/promises.Network.requestWillBeSent"
9174
+ | "inspector/promises.Network.responseReceived"
9148
9175
  | "inspector/promises.console"
9149
9176
  | "inspector/promises.close"
9150
9177
  | "inspector/promises.open"
@@ -9155,10 +9182,12 @@ type NNoUnsupportedFeaturesNodeBuiltins =
9155
9182
  | "module.createRequire"
9156
9183
  | "module.createRequireFromPath"
9157
9184
  | "module.enableCompileCache"
9185
+ | "module.findPackageJSON"
9158
9186
  | "module.flushCompileCache"
9159
9187
  | "module.getCompileCacheDir"
9160
9188
  | "module.isBuiltin"
9161
9189
  | "module.register"
9190
+ | "module.stripTypeScriptTypes"
9162
9191
  | "module.syncBuiltinESMExports"
9163
9192
  | "module.findSourceMap"
9164
9193
  | "module.SourceMap"
@@ -9166,10 +9195,12 @@ type NNoUnsupportedFeaturesNodeBuiltins =
9166
9195
  | "module.Module.createRequire"
9167
9196
  | "module.Module.createRequireFromPath"
9168
9197
  | "module.Module.enableCompileCache"
9198
+ | "module.Module.findPackageJSON"
9169
9199
  | "module.Module.flushCompileCache"
9170
9200
  | "module.Module.getCompileCacheDir"
9171
9201
  | "module.Module.isBuiltin"
9172
9202
  | "module.Module.register"
9203
+ | "module.Module.stripTypeScriptTypes"
9173
9204
  | "module.Module.syncBuiltinESMExports"
9174
9205
  | "module.Module.findSourceMap"
9175
9206
  | "module.Module.SourceMap"
@@ -9490,6 +9521,8 @@ type NNoUnsupportedFeaturesNodeBuiltins =
9490
9521
  | "timers/promises.setTimeout"
9491
9522
  | "timers/promises.setImmediate"
9492
9523
  | "timers/promises.setInterval"
9524
+ | "timers/promises.scheduler.wait"
9525
+ | "timers/promises.scheduler.yield"
9493
9526
  | "tls"
9494
9527
  | "tls.rootCertificates"
9495
9528
  | "tls.DEFAULT_ECDH_CURVE"
@@ -9536,6 +9569,7 @@ type NNoUnsupportedFeaturesNodeBuiltins =
9536
9569
  | "util.format"
9537
9570
  | "util.formatWithOptions"
9538
9571
  | "util.getCallSite"
9572
+ | "util.getCallSites"
9539
9573
  | "util.getSystemErrorName"
9540
9574
  | "util.getSystemErrorMap"
9541
9575
  | "util.getSystemErrorMessage"
@@ -9954,11 +9988,13 @@ type PerfectionistSortArrayIncludes =
9954
9988
 
9955
9989
  ignoreCase?: boolean;
9956
9990
 
9991
+ alphabet?: string;
9992
+
9957
9993
  locales?: string | string[];
9958
9994
 
9959
9995
  order?: "asc" | "desc";
9960
9996
 
9961
- type?: "alphabetical" | "natural" | "line-length";
9997
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
9962
9998
  },
9963
9999
  ];
9964
10000
  // ----- perfectionist/sort-classes -----
@@ -9966,6 +10002,10 @@ type PerfectionistSortClasses =
9966
10002
  | []
9967
10003
  | [
9968
10004
  {
10005
+ ignoreCallbackDependenciesPatterns?: string[];
10006
+
10007
+ partitionByComment?: string[] | boolean | string;
10008
+
9969
10009
  customGroups?: (
9970
10010
  | {
9971
10011
  groupName?: string;
@@ -9974,6 +10014,10 @@ type PerfectionistSortClasses =
9974
10014
 
9975
10015
  order?: "desc" | "asc";
9976
10016
  anyOf?: {
10017
+ elementValuePattern?: string;
10018
+
10019
+ decoratorNamePattern?: string;
10020
+
9977
10021
  modifiers?: (
9978
10022
  | "async"
9979
10023
  | "protected"
@@ -9988,10 +10032,6 @@ type PerfectionistSortClasses =
9988
10032
  | "optional"
9989
10033
  )[];
9990
10034
 
9991
- elementValuePattern?: string;
9992
-
9993
- decoratorNamePattern?: string;
9994
-
9995
10035
  selector?:
9996
10036
  | "accessor-property"
9997
10037
  | "index-signature"
@@ -10013,6 +10053,10 @@ type PerfectionistSortClasses =
10013
10053
 
10014
10054
  order?: "desc" | "asc";
10015
10055
 
10056
+ elementValuePattern?: string;
10057
+
10058
+ decoratorNamePattern?: string;
10059
+
10016
10060
  modifiers?: (
10017
10061
  | "async"
10018
10062
  | "protected"
@@ -10027,10 +10071,6 @@ type PerfectionistSortClasses =
10027
10071
  | "optional"
10028
10072
  )[];
10029
10073
 
10030
- elementValuePattern?: string;
10031
-
10032
- decoratorNamePattern?: string;
10033
-
10034
10074
  selector?:
10035
10075
  | "accessor-property"
10036
10076
  | "index-signature"
@@ -10046,10 +10086,6 @@ type PerfectionistSortClasses =
10046
10086
  }
10047
10087
  )[];
10048
10088
 
10049
- ignoreCallbackDependenciesPatterns?: string[];
10050
-
10051
- partitionByComment?: string[] | boolean | string;
10052
-
10053
10089
  partitionByNewLine?: boolean;
10054
10090
 
10055
10091
  specialCharacters?: "remove" | "trim" | "keep";
@@ -10058,13 +10094,15 @@ type PerfectionistSortClasses =
10058
10094
 
10059
10095
  ignoreCase?: boolean;
10060
10096
 
10097
+ alphabet?: string;
10098
+
10061
10099
  locales?: string | string[];
10062
10100
 
10063
10101
  groups?: (string | string[])[];
10064
10102
 
10065
10103
  order?: "asc" | "desc";
10066
10104
 
10067
- type?: "alphabetical" | "natural" | "line-length";
10105
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10068
10106
  },
10069
10107
  ];
10070
10108
  // ----- perfectionist/sort-decorators -----
@@ -10092,13 +10130,15 @@ type PerfectionistSortDecorators =
10092
10130
 
10093
10131
  ignoreCase?: boolean;
10094
10132
 
10133
+ alphabet?: string;
10134
+
10095
10135
  locales?: string | string[];
10096
10136
 
10097
10137
  groups?: (string | string[])[];
10098
10138
 
10099
10139
  order?: "asc" | "desc";
10100
10140
 
10101
- type?: "alphabetical" | "natural" | "line-length";
10141
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10102
10142
  },
10103
10143
  ];
10104
10144
  // ----- perfectionist/sort-enums -----
@@ -10118,11 +10158,13 @@ type PerfectionistSortEnums =
10118
10158
 
10119
10159
  ignoreCase?: boolean;
10120
10160
 
10161
+ alphabet?: string;
10162
+
10121
10163
  locales?: string | string[];
10122
10164
 
10123
10165
  order?: "asc" | "desc";
10124
10166
 
10125
- type?: "alphabetical" | "natural" | "line-length";
10167
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10126
10168
  },
10127
10169
  ];
10128
10170
  // ----- perfectionist/sort-exports -----
@@ -10140,11 +10182,13 @@ type PerfectionistSortExports =
10140
10182
 
10141
10183
  ignoreCase?: boolean;
10142
10184
 
10185
+ alphabet?: string;
10186
+
10143
10187
  locales?: string | string[];
10144
10188
 
10145
10189
  order?: "asc" | "desc";
10146
10190
 
10147
- type?: "alphabetical" | "natural" | "line-length";
10191
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10148
10192
  },
10149
10193
  ];
10150
10194
  // ----- perfectionist/sort-heritage-clauses -----
@@ -10160,13 +10204,15 @@ type PerfectionistSortHeritageClauses =
10160
10204
 
10161
10205
  ignoreCase?: boolean;
10162
10206
 
10207
+ alphabet?: string;
10208
+
10163
10209
  locales?: string | string[];
10164
10210
 
10165
10211
  groups?: (string | string[])[];
10166
10212
 
10167
10213
  order?: "asc" | "desc";
10168
10214
 
10169
- type?: "alphabetical" | "natural" | "line-length";
10215
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10170
10216
  },
10171
10217
  ];
10172
10218
  // ----- perfectionist/sort-imports -----
@@ -10203,13 +10249,15 @@ type _PerfectionistSortImportsSortImports =
10203
10249
 
10204
10250
  ignoreCase?: boolean;
10205
10251
 
10252
+ alphabet?: string;
10253
+
10206
10254
  locales?: string | string[];
10207
10255
 
10208
10256
  groups?: (string | string[])[];
10209
10257
 
10210
10258
  order?: "asc" | "desc";
10211
10259
 
10212
- type?: "alphabetical" | "natural" | "line-length";
10260
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10213
10261
  };
10214
10262
  type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType =
10215
10263
  | {
@@ -10228,8 +10276,59 @@ type PerfectionistSortInterfaces =
10228
10276
  ignorePattern?: string[];
10229
10277
 
10230
10278
  partitionByComment?: string[] | boolean | string;
10279
+ customGroups?:
10280
+ | {
10281
+ [k: string]: (string | string[]) | undefined;
10282
+ }
10283
+ | (
10284
+ | {
10285
+ groupName?: string;
10286
+
10287
+ type?:
10288
+ | "alphabetical"
10289
+ | "line-length"
10290
+ | "natural"
10291
+ | "unsorted";
10292
+
10293
+ order?: "desc" | "asc";
10294
+ anyOf?: {
10295
+ modifiers?: ("optional" | "required" | "multiline")[];
10296
+
10297
+ selector?:
10298
+ | "index-signature"
10299
+ | "member"
10300
+ | "method"
10301
+ | "multiline"
10302
+ | "property";
10303
+
10304
+ elementNamePattern?: string;
10305
+ }[];
10306
+ }
10307
+ | {
10308
+ groupName?: string;
10309
+
10310
+ type?:
10311
+ | "alphabetical"
10312
+ | "line-length"
10313
+ | "natural"
10314
+ | "unsorted";
10315
+
10316
+ order?: "desc" | "asc";
10317
+
10318
+ modifiers?: ("optional" | "required" | "multiline")[];
10231
10319
 
10232
- groupKind?: "mixed" | "optional-first" | "required-first";
10320
+ selector?:
10321
+ | "index-signature"
10322
+ | "member"
10323
+ | "method"
10324
+ | "multiline"
10325
+ | "property";
10326
+
10327
+ elementNamePattern?: string;
10328
+ }
10329
+ )[];
10330
+
10331
+ groupKind?: "mixed" | "required-first" | "optional-first";
10233
10332
 
10234
10333
  partitionByNewLine?: boolean;
10235
10334
 
@@ -10237,19 +10336,17 @@ type PerfectionistSortInterfaces =
10237
10336
 
10238
10337
  newlinesBetween?: "ignore" | "always" | "never";
10239
10338
 
10240
- customGroups?: {
10241
- [k: string]: (string | string[]) | undefined;
10242
- };
10243
-
10244
10339
  ignoreCase?: boolean;
10245
10340
 
10341
+ alphabet?: string;
10342
+
10246
10343
  locales?: string | string[];
10247
10344
 
10248
10345
  groups?: (string | string[])[];
10249
10346
 
10250
10347
  order?: "asc" | "desc";
10251
10348
 
10252
- type?: "alphabetical" | "natural" | "line-length";
10349
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10253
10350
  },
10254
10351
  ];
10255
10352
  // ----- perfectionist/sort-intersection-types -----
@@ -10267,13 +10364,15 @@ type PerfectionistSortIntersectionTypes =
10267
10364
 
10268
10365
  ignoreCase?: boolean;
10269
10366
 
10367
+ alphabet?: string;
10368
+
10270
10369
  locales?: string | string[];
10271
10370
 
10272
10371
  groups?: (string | string[])[];
10273
10372
 
10274
10373
  order?: "asc" | "desc";
10275
10374
 
10276
- type?: "alphabetical" | "natural" | "line-length";
10375
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10277
10376
  },
10278
10377
  ];
10279
10378
  // ----- perfectionist/sort-jsx-props -----
@@ -10291,13 +10390,15 @@ type PerfectionistSortJsxProps =
10291
10390
 
10292
10391
  ignoreCase?: boolean;
10293
10392
 
10393
+ alphabet?: string;
10394
+
10294
10395
  locales?: string | string[];
10295
10396
 
10296
10397
  groups?: (string | string[])[];
10297
10398
 
10298
10399
  order?: "asc" | "desc";
10299
10400
 
10300
- type?: "alphabetical" | "natural" | "line-length";
10401
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10301
10402
  },
10302
10403
  ];
10303
10404
  // ----- perfectionist/sort-maps -----
@@ -10313,11 +10414,13 @@ type PerfectionistSortMaps =
10313
10414
 
10314
10415
  ignoreCase?: boolean;
10315
10416
 
10417
+ alphabet?: string;
10418
+
10316
10419
  locales?: string | string[];
10317
10420
 
10318
10421
  order?: "asc" | "desc";
10319
10422
 
10320
- type?: "alphabetical" | "natural" | "line-length";
10423
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10321
10424
  },
10322
10425
  ];
10323
10426
  // ----- perfectionist/sort-modules -----
@@ -10325,6 +10428,8 @@ type PerfectionistSortModules =
10325
10428
  | []
10326
10429
  | [
10327
10430
  {
10431
+ partitionByComment?: string[] | boolean | string;
10432
+
10328
10433
  customGroups?: (
10329
10434
  | {
10330
10435
  groupName?: string;
@@ -10333,6 +10438,8 @@ type PerfectionistSortModules =
10333
10438
 
10334
10439
  order?: "desc" | "asc";
10335
10440
  anyOf?: {
10441
+ decoratorNamePattern?: string;
10442
+
10336
10443
  modifiers?: (
10337
10444
  | "async"
10338
10445
  | "declare"
@@ -10341,10 +10448,6 @@ type PerfectionistSortModules =
10341
10448
  | "export"
10342
10449
  )[];
10343
10450
 
10344
- elementValuePattern?: string;
10345
-
10346
- decoratorNamePattern?: string;
10347
-
10348
10451
  selector?: "enum" | "function" | "interface" | "type" | "class";
10349
10452
 
10350
10453
  elementNamePattern?: string;
@@ -10357,6 +10460,8 @@ type PerfectionistSortModules =
10357
10460
 
10358
10461
  order?: "desc" | "asc";
10359
10462
 
10463
+ decoratorNamePattern?: string;
10464
+
10360
10465
  modifiers?: (
10361
10466
  | "async"
10362
10467
  | "declare"
@@ -10365,18 +10470,12 @@ type PerfectionistSortModules =
10365
10470
  | "export"
10366
10471
  )[];
10367
10472
 
10368
- elementValuePattern?: string;
10369
-
10370
- decoratorNamePattern?: string;
10371
-
10372
10473
  selector?: "enum" | "function" | "interface" | "type" | "class";
10373
10474
 
10374
10475
  elementNamePattern?: string;
10375
10476
  }
10376
10477
  )[];
10377
10478
 
10378
- partitionByComment?: string[] | boolean | string;
10379
-
10380
10479
  partitionByNewLine?: boolean;
10381
10480
 
10382
10481
  specialCharacters?: "remove" | "trim" | "keep";
@@ -10385,13 +10484,15 @@ type PerfectionistSortModules =
10385
10484
 
10386
10485
  ignoreCase?: boolean;
10387
10486
 
10487
+ alphabet?: string;
10488
+
10388
10489
  locales?: string | string[];
10389
10490
 
10390
10491
  groups?: (string | string[])[];
10391
10492
 
10392
10493
  order?: "asc" | "desc";
10393
10494
 
10394
- type?: "alphabetical" | "natural" | "line-length";
10495
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10395
10496
  },
10396
10497
  ];
10397
10498
  // ----- perfectionist/sort-named-exports -----
@@ -10409,11 +10510,13 @@ type PerfectionistSortNamedExports =
10409
10510
 
10410
10511
  ignoreCase?: boolean;
10411
10512
 
10513
+ alphabet?: string;
10514
+
10412
10515
  locales?: string | string[];
10413
10516
 
10414
10517
  order?: "asc" | "desc";
10415
10518
 
10416
- type?: "alphabetical" | "natural" | "line-length";
10519
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10417
10520
  },
10418
10521
  ];
10419
10522
  // ----- perfectionist/sort-named-imports -----
@@ -10433,11 +10536,13 @@ type PerfectionistSortNamedImports =
10433
10536
 
10434
10537
  ignoreCase?: boolean;
10435
10538
 
10539
+ alphabet?: string;
10540
+
10436
10541
  locales?: string | string[];
10437
10542
 
10438
10543
  order?: "asc" | "desc";
10439
10544
 
10440
- type?: "alphabetical" | "natural" | "line-length";
10545
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10441
10546
  },
10442
10547
  ];
10443
10548
  // ----- perfectionist/sort-object-types -----
@@ -10445,7 +10550,60 @@ type PerfectionistSortObjectTypes =
10445
10550
  | []
10446
10551
  | [
10447
10552
  {
10553
+ ignorePattern?: string[];
10554
+
10448
10555
  partitionByComment?: string[] | boolean | string;
10556
+ customGroups?:
10557
+ | {
10558
+ [k: string]: (string | string[]) | undefined;
10559
+ }
10560
+ | (
10561
+ | {
10562
+ groupName?: string;
10563
+
10564
+ type?:
10565
+ | "alphabetical"
10566
+ | "line-length"
10567
+ | "natural"
10568
+ | "unsorted";
10569
+
10570
+ order?: "desc" | "asc";
10571
+ anyOf?: {
10572
+ modifiers?: ("optional" | "required" | "multiline")[];
10573
+
10574
+ selector?:
10575
+ | "index-signature"
10576
+ | "member"
10577
+ | "method"
10578
+ | "multiline"
10579
+ | "property";
10580
+
10581
+ elementNamePattern?: string;
10582
+ }[];
10583
+ }
10584
+ | {
10585
+ groupName?: string;
10586
+
10587
+ type?:
10588
+ | "alphabetical"
10589
+ | "line-length"
10590
+ | "natural"
10591
+ | "unsorted";
10592
+
10593
+ order?: "desc" | "asc";
10594
+
10595
+ modifiers?: ("optional" | "required" | "multiline")[];
10596
+
10597
+ selector?:
10598
+ | "index-signature"
10599
+ | "member"
10600
+ | "method"
10601
+ | "multiline"
10602
+ | "property";
10603
+
10604
+ elementNamePattern?: string;
10605
+ }
10606
+ )[];
10449
10607
 
10450
10608
  groupKind?: "mixed" | "required-first" | "optional-first";
10451
10609
 
@@ -10455,55 +10613,62 @@ type PerfectionistSortObjectTypes =
10455
10613
 
10456
10614
  newlinesBetween?: "ignore" | "always" | "never";
10457
10615
 
10458
- customGroups?: {
10459
- [k: string]: (string | string[]) | undefined;
10460
- };
10461
-
10462
10616
  ignoreCase?: boolean;
10463
10617
 
10618
+ alphabet?: string;
10619
+
10464
10620
  locales?: string | string[];
10465
10621
 
10466
10622
  groups?: (string | string[])[];
10467
10623
 
10468
10624
  order?: "asc" | "desc";
10469
10625
 
10470
- type?: "alphabetical" | "natural" | "line-length";
10626
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10471
10627
  },
10472
10628
  ];
10473
10629
  // ----- perfectionist/sort-objects -----
10474
- type PerfectionistSortObjects =
10475
- | []
10476
- | [
10477
- {
10478
- ignorePattern?: string[];
10630
+ type PerfectionistSortObjects = {
10631
+ destructuredObjects?:
10632
+ | boolean
10633
+ | {
10634
+ groups?: boolean;
10635
+ };
10479
10636
 
10480
- partitionByComment?: string[] | boolean | string;
10637
+ ignorePattern?: string[];
10481
10638
 
10482
- destructureOnly?: boolean;
10639
+ partitionByComment?: string[] | boolean | string;
10483
10640
 
10484
- styledComponents?: boolean;
10641
+ destructureOnly?: boolean;
10485
10642
 
10486
- partitionByNewLine?: boolean;
10643
+ objectDeclarations?: boolean;
10487
10644
 
10488
- specialCharacters?: "remove" | "trim" | "keep";
10645
+ styledComponents?: boolean;
10489
10646
 
10490
- newlinesBetween?: "ignore" | "always" | "never";
10647
+ partitionByNewLine?: boolean;
10648
+ useConfigurationIf?: {
10649
+ allNamesMatchPattern?: string;
10650
+ };
10491
10651
 
10492
- customGroups?: {
10493
- [k: string]: (string | string[]) | undefined;
10494
- };
10652
+ specialCharacters?: "remove" | "trim" | "keep";
10495
10653
 
10496
- ignoreCase?: boolean;
10654
+ newlinesBetween?: "ignore" | "always" | "never";
10497
10655
 
10498
- locales?: string | string[];
10656
+ customGroups?: {
10657
+ [k: string]: (string | string[]) | undefined;
10658
+ };
10499
10659
 
10500
- groups?: (string | string[])[];
10660
+ ignoreCase?: boolean;
10501
10661
 
10502
- order?: "asc" | "desc";
10662
+ alphabet?: string;
10503
10663
 
10504
- type?: "alphabetical" | "natural" | "line-length";
10505
- },
10506
- ];
10664
+ locales?: string | string[];
10665
+
10666
+ groups?: (string | string[])[];
10667
+
10668
+ order?: "asc" | "desc";
10669
+
10670
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10671
+ }[];
10507
10672
  // ----- perfectionist/sort-sets -----
10508
10673
  type PerfectionistSortSets =
10509
10674
  | []
@@ -10519,11 +10684,13 @@ type PerfectionistSortSets =
10519
10684
 
10520
10685
  ignoreCase?: boolean;
10521
10686
 
10687
+ alphabet?: string;
10688
+
10522
10689
  locales?: string | string[];
10523
10690
 
10524
10691
  order?: "asc" | "desc";
10525
10692
 
10526
- type?: "alphabetical" | "natural" | "line-length";
10693
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10527
10694
  },
10528
10695
  ];
10529
10696
  // ----- perfectionist/sort-switch-case -----
@@ -10535,11 +10702,13 @@ type PerfectionistSortSwitchCase =
10535
10702
 
10536
10703
  ignoreCase?: boolean;
10537
10704
 
10705
+ alphabet?: string;
10706
+
10538
10707
  locales?: string | string[];
10539
10708
 
10540
10709
  order?: "asc" | "desc";
10541
10710
 
10542
- type?: "alphabetical" | "natural" | "line-length";
10711
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10543
10712
  },
10544
10713
  ];
10545
10714
  // ----- perfectionist/sort-union-types -----
@@ -10557,13 +10726,15 @@ type PerfectionistSortUnionTypes =
10557
10726
 
10558
10727
  ignoreCase?: boolean;
10559
10728
 
10729
+ alphabet?: string;
10730
+
10560
10731
  locales?: string | string[];
10561
10732
 
10562
10733
  groups?: (string | string[])[];
10563
10734
 
10564
10735
  order?: "asc" | "desc";
10565
10736
 
10566
- type?: "alphabetical" | "natural" | "line-length";
10737
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10567
10738
  },
10568
10739
  ];
10569
10740
  // ----- perfectionist/sort-variable-declarations -----
@@ -10579,11 +10750,13 @@ type PerfectionistSortVariableDeclarations =
10579
10750
 
10580
10751
  ignoreCase?: boolean;
10581
10752
 
10753
+ alphabet?: string;
10754
+
10582
10755
  locales?: string | string[];
10583
10756
 
10584
10757
  order?: "asc" | "desc";
10585
10758
 
10586
- type?: "alphabetical" | "natural" | "line-length";
10759
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10587
10760
  },
10588
10761
  ];
10589
10762
 
@@ -11143,9 +11316,10 @@ type ReactRefreshOnlyExportComponents =
11143
11316
  | []
11144
11317
  | [
11145
11318
  {
11319
+ allowExportNames?: string[];
11146
11320
  allowConstantExport?: boolean;
11321
+ customHOCs?: string[];
11147
11322
  checkJS?: boolean;
11148
- allowExportNames?: string[];
11149
11323
  },
11150
11324
  ];
11151
11325
  // ----- react/boolean-prop-naming -----
@@ -12929,6 +13103,7 @@ type StylisticIndent =
12929
13103
  ImportDeclaration?: number | ("first" | "off");
12930
13104
  flatTernaryExpressions?: boolean;
12931
13105
  offsetTernaryExpressions?: boolean;
13106
+ offsetTernaryExpressionsOffsetCallExpressions?: boolean;
12932
13107
  ignoredNodes?: string[];
12933
13108
  ignoreComments?: boolean;
12934
13109
  tabLength?: number;
@@ -15797,233 +15972,233 @@ interface TypescriptRuleOptions {
15797
15972
  >;
15798
15973
  /**
15799
15974
  * Enforce or ban the use of inline type-only markers for named imports.
15800
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/consistent-type-specifier-style.md
15975
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/consistent-type-specifier-style.md
15801
15976
  */
15802
15977
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
15803
15978
  /**
15804
15979
  * Ensure a default export is present, given a default import.
15805
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/default.md
15980
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/default.md
15806
15981
  */
15807
15982
  "import/default"?: Linter.RuleEntry<[]>;
15808
15983
  /**
15809
15984
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
15810
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/dynamic-import-chunkname.md
15985
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/dynamic-import-chunkname.md
15811
15986
  */
15812
15987
  "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname>;
15813
15988
  /**
15814
15989
  * Forbid any invalid exports, i.e. re-export of the same name.
15815
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/export.md
15990
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/export.md
15816
15991
  */
15817
15992
  "import/export"?: Linter.RuleEntry<[]>;
15818
15993
  /**
15819
15994
  * Ensure all exports appear after other statements.
15820
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/exports-last.md
15995
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/exports-last.md
15821
15996
  */
15822
15997
  "import/exports-last"?: Linter.RuleEntry<[]>;
15823
15998
  /**
15824
15999
  * Ensure consistent use of file extension within the import path.
15825
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/extensions.md
16000
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/extensions.md
15826
16001
  */
15827
16002
  "import/extensions"?: Linter.RuleEntry<ImportExtensions>;
15828
16003
  /**
15829
16004
  * Ensure all imports appear before other statements.
15830
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/first.md
16005
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/first.md
15831
16006
  */
15832
16007
  "import/first"?: Linter.RuleEntry<ImportFirst>;
15833
16008
  /**
15834
16009
  * Prefer named exports to be grouped together in a single export declaration.
15835
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/group-exports.md
16010
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/group-exports.md
15836
16011
  */
15837
16012
  "import/group-exports"?: Linter.RuleEntry<[]>;
15838
16013
  /**
15839
16014
  * Replaced by `import-x/first`.
15840
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/imports-first.md
16015
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/imports-first.md
15841
16016
  * @deprecated
15842
16017
  */
15843
16018
  "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst>;
15844
16019
  /**
15845
16020
  * Enforce the maximum number of dependencies a module can have.
15846
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/max-dependencies.md
16021
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/max-dependencies.md
15847
16022
  */
15848
16023
  "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies>;
15849
16024
  /**
15850
16025
  * Ensure named imports correspond to a named export in the remote file.
15851
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/named.md
16026
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/named.md
15852
16027
  */
15853
16028
  "import/named"?: Linter.RuleEntry<ImportNamed>;
15854
16029
  /**
15855
16030
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
15856
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/namespace.md
16031
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/namespace.md
15857
16032
  */
15858
16033
  "import/namespace"?: Linter.RuleEntry<ImportNamespace>;
15859
16034
  /**
15860
16035
  * Enforce a newline after import statements.
15861
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/newline-after-import.md
16036
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/newline-after-import.md
15862
16037
  */
15863
16038
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport>;
15864
16039
  /**
15865
16040
  * Forbid import of modules using absolute paths.
15866
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-absolute-path.md
16041
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-absolute-path.md
15867
16042
  */
15868
16043
  "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath>;
15869
16044
  /**
15870
16045
  * Forbid AMD `require` and `define` calls.
15871
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-amd.md
16046
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-amd.md
15872
16047
  */
15873
16048
  "import/no-amd"?: Linter.RuleEntry<[]>;
15874
16049
  /**
15875
16050
  * Forbid anonymous values as default exports.
15876
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-anonymous-default-export.md
16051
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-anonymous-default-export.md
15877
16052
  */
15878
16053
  "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
15879
16054
  /**
15880
16055
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
15881
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-commonjs.md
16056
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-commonjs.md
15882
16057
  */
15883
16058
  "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs>;
15884
16059
  /**
15885
16060
  * Forbid a module from importing a module with a dependency path back to itself.
15886
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-cycle.md
16061
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-cycle.md
15887
16062
  */
15888
16063
  "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle>;
15889
16064
  /**
15890
16065
  * Forbid default exports.
15891
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-default-export.md
16066
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-default-export.md
15892
16067
  */
15893
16068
  "import/no-default-export"?: Linter.RuleEntry<[]>;
15894
16069
  /**
15895
16070
  * Forbid imported names marked with `@deprecated` documentation tag.
15896
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-deprecated.md
16071
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-deprecated.md
15897
16072
  */
15898
16073
  "import/no-deprecated"?: Linter.RuleEntry<[]>;
15899
16074
  /**
15900
16075
  * Forbid repeated import of the same module in multiple places.
15901
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-duplicates.md
16076
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-duplicates.md
15902
16077
  */
15903
16078
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates>;
15904
16079
  /**
15905
16080
  * Forbid `require()` calls with expressions.
15906
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-dynamic-require.md
16081
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-dynamic-require.md
15907
16082
  */
15908
16083
  "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire>;
15909
16084
  /**
15910
16085
  * Forbid empty named import blocks.
15911
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-empty-named-blocks.md
16086
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-empty-named-blocks.md
15912
16087
  */
15913
16088
  "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
15914
16089
  /**
15915
16090
  * Forbid the use of extraneous packages.
15916
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-extraneous-dependencies.md
16091
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-extraneous-dependencies.md
15917
16092
  */
15918
16093
  "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
15919
16094
  /**
15920
16095
  * Forbid import statements with CommonJS module.exports.
15921
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-import-module-exports.md
16096
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-import-module-exports.md
15922
16097
  */
15923
16098
  "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports>;
15924
16099
  /**
15925
16100
  * Forbid importing the submodules of other modules.
15926
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-internal-modules.md
16101
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-internal-modules.md
15927
16102
  */
15928
16103
  "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules>;
15929
16104
  /**
15930
16105
  * Forbid the use of mutable exports with `var` or `let`.
15931
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-mutable-exports.md
16106
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-mutable-exports.md
15932
16107
  */
15933
16108
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
15934
16109
  /**
15935
16110
  * Forbid use of exported name as identifier of default export.
15936
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-as-default.md
16111
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-as-default.md
15937
16112
  */
15938
16113
  "import/no-named-as-default"?: Linter.RuleEntry<[]>;
15939
16114
  /**
15940
16115
  * Forbid use of exported name as property of default export.
15941
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-as-default-member.md
16116
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-as-default-member.md
15942
16117
  */
15943
16118
  "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
15944
16119
  /**
15945
16120
  * Forbid named default exports.
15946
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-default.md
16121
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-default.md
15947
16122
  */
15948
16123
  "import/no-named-default"?: Linter.RuleEntry<[]>;
15949
16124
  /**
15950
16125
  * Forbid named exports.
15951
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-named-export.md
16126
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-export.md
15952
16127
  */
15953
16128
  "import/no-named-export"?: Linter.RuleEntry<[]>;
15954
16129
  /**
15955
16130
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
15956
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-namespace.md
16131
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-namespace.md
15957
16132
  */
15958
16133
  "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace>;
15959
16134
  /**
15960
16135
  * Forbid Node.js builtin modules.
15961
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-nodejs-modules.md
16136
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-nodejs-modules.md
15962
16137
  */
15963
16138
  "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules>;
15964
16139
  /**
15965
16140
  * Forbid importing packages through relative paths.
15966
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-relative-packages.md
16141
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-relative-packages.md
15967
16142
  */
15968
16143
  "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages>;
15969
16144
  /**
15970
16145
  * Forbid importing modules from parent directories.
15971
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-relative-parent-imports.md
16146
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-relative-parent-imports.md
15972
16147
  */
15973
16148
  "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports>;
15974
16149
  /**
15975
16150
  * Forbid importing a default export by a different name.
15976
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-rename-default.md
16151
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-rename-default.md
15977
16152
  */
15978
16153
  "import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault>;
15979
16154
  /**
15980
16155
  * Enforce which files can be imported in a given folder.
15981
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-restricted-paths.md
16156
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-restricted-paths.md
15982
16157
  */
15983
16158
  "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths>;
15984
16159
  /**
15985
16160
  * Forbid a module from importing itself.
15986
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-self-import.md
16161
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-self-import.md
15987
16162
  */
15988
16163
  "import/no-self-import"?: Linter.RuleEntry<[]>;
15989
16164
  /**
15990
16165
  * Forbid unassigned imports.
15991
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-unassigned-import.md
16166
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unassigned-import.md
15992
16167
  */
15993
16168
  "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport>;
15994
16169
  /**
15995
16170
  * Ensure imports point to a file/module that can be resolved.
15996
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-unresolved.md
16171
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unresolved.md
15997
16172
  */
15998
16173
  "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved>;
15999
16174
  /**
16000
16175
  * Forbid modules without exports, or exports without matching import in another module.
16001
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-unused-modules.md
16176
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unused-modules.md
16002
16177
  */
16003
16178
  "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules>;
16004
16179
  /**
16005
16180
  * Forbid unnecessary path segments in import and require statements.
16006
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-useless-path-segments.md
16181
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-useless-path-segments.md
16007
16182
  */
16008
16183
  "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments>;
16009
16184
  /**
16010
16185
  * Forbid webpack loader syntax in imports.
16011
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/no-webpack-loader-syntax.md
16186
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-webpack-loader-syntax.md
16012
16187
  */
16013
16188
  "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
16014
16189
  /**
16015
16190
  * Enforce a convention in module import order.
16016
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/order.md
16191
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/order.md
16017
16192
  */
16018
16193
  "import/order"?: Linter.RuleEntry<ImportOrder>;
16019
16194
  /**
16020
16195
  * Prefer a default export if module exports a single name or multiple names.
16021
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/prefer-default-export.md
16196
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/prefer-default-export.md
16022
16197
  */
16023
16198
  "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport>;
16024
16199
  /**
16025
16200
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
16026
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.2/docs/rules/unambiguous.md
16201
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/unambiguous.md
16027
16202
  */
16028
16203
  "import/unambiguous"?: Linter.RuleEntry<[]>;
16029
16204
  }
@@ -19413,6 +19588,10 @@ type TypescriptEslintPreferPromiseRejectErrors =
19413
19588
  | [
19414
19589
  {
19415
19590
  allowEmptyReject?: boolean;
19591
+
19592
+ allowThrowingAny?: boolean;
19593
+
19594
+ allowThrowingUnknown?: boolean;
19416
19595
  },
19417
19596
  ];
19418
19597
  // ----- @typescript-eslint/prefer-readonly -----
@@ -19615,6 +19794,8 @@ type TypescriptEslintSwitchExhaustivenessCheck =
19615
19794
 
19616
19795
  considerDefaultExhaustiveForUnions?: boolean;
19617
19796
 
19797
+ defaultCaseCommentPattern?: string;
19798
+
19618
19799
  requireDefaultForNonUnion?: boolean;
19619
19800
  },
19620
19801
  ];
@@ -21851,7 +22032,7 @@ declare function jsse(options?: OptionsConfig & TypedFlatConfigItem, ...userConf
21851
22032
  declare function defineConfig(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: (TypedFlatConfigItem | TypedFlatConfigItem[])[]): Promise<TypedFlatConfigItem[]>;
21852
22033
  type DefineConfig = typeof defineConfig;
21853
22034
 
21854
- declare const VERSION = "0.2.29";
22035
+ declare const VERSION = "0.2.30";
21855
22036
 
21856
22037
  declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
21857
22038
  declare const GLOB_JS_SRC_EXT = "?([cm])js?(x)";
@@ -22286,7 +22467,7 @@ declare function importPluginReactHooks(): Promise<{
22286
22467
  pluginReactHooks: any;
22287
22468
  }>;
22288
22469
  declare function importPluginReactRefresh(): Promise<{
22289
- pluginReactRefresh: any;
22470
+ pluginReactRefresh: typeof eslint_plugin_react_refresh;
22290
22471
  }>;
22291
22472
  declare function importReactPlugins(): Promise<{
22292
22473
  pluginReact: {
@@ -22662,7 +22843,7 @@ declare function importReactPlugins(): Promise<{
22662
22843
  };
22663
22844
  };
22664
22845
  pluginReactHooks: any;
22665
- pluginReactRefresh: any;
22846
+ pluginReactRefresh: typeof eslint_plugin_react_refresh;
22666
22847
  }>;
22667
22848
  declare function importParserJsonc(): Promise<{
22668
22849
  parserJsonc: typeof jsonc_eslint_parser;
@@ -23604,7 +23785,7 @@ declare function importPluginMarkdown(): Promise<{
23604
23785
  }>;
23605
23786
  declare function importPluginJsdoc(): Promise<{
23606
23787
  pluginJsdoc: eslint.ESLint.Plugin & {
23607
- configs: Record<"recommended" | "recommended-error" | "recommended-typescript" | "recommended-typescript-error" | "recommended-typescript-flavor" | "recommended-typescript-flavor-error" | "flat/recommended" | "flat/recommended-error" | "flat/recommended-typescript" | "flat/recommended-typescript-error" | "flat/recommended-typescript-flavor" | "flat/recommended-typescript-flavor-error", eslint.Linter.FlatConfig>;
23788
+ configs: Record<`flat/${eslint_plugin_jsdoc.ConfigGroups}${eslint_plugin_jsdoc.ConfigVariants}${eslint_plugin_jsdoc.ErrorLevelVariants}`, eslint.Linter.Config>;
23608
23789
  };
23609
23790
  }>;
23610
23791
  declare function importPluginTsdoc(): Promise<{