@jsse/eslint-config 0.2.28 → 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.cts 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"
@@ -9841,17 +9875,16 @@ interface PerfectionistRuleOptions {
9841
9875
  * @see https://perfectionist.dev/rules/sort-array-includes
9842
9876
  */
9843
9877
  "perfectionist/sort-array-includes"?: Linter.RuleEntry<PerfectionistSortArrayIncludes>;
9844
- /**
9845
- * Enforce sorted Astro attributes.
9846
- * @see https://perfectionist.dev/rules/sort-astro-attributes
9847
- * @deprecated
9848
- */
9849
- "perfectionist/sort-astro-attributes"?: Linter.RuleEntry<PerfectionistSortAstroAttributes>;
9850
9878
  /**
9851
9879
  * Enforce sorted classes.
9852
9880
  * @see https://perfectionist.dev/rules/sort-classes
9853
9881
  */
9854
9882
  "perfectionist/sort-classes"?: Linter.RuleEntry<PerfectionistSortClasses>;
9883
+ /**
9884
+ * Enforce sorted decorators.
9885
+ * @see https://perfectionist.dev/rules/sort-decorators
9886
+ */
9887
+ "perfectionist/sort-decorators"?: Linter.RuleEntry<PerfectionistSortDecorators>;
9855
9888
  /**
9856
9889
  * Enforce sorted TypeScript enums.
9857
9890
  * @see https://perfectionist.dev/rules/sort-enums
@@ -9862,6 +9895,11 @@ interface PerfectionistRuleOptions {
9862
9895
  * @see https://perfectionist.dev/rules/sort-exports
9863
9896
  */
9864
9897
  "perfectionist/sort-exports"?: Linter.RuleEntry<PerfectionistSortExports>;
9898
+ /**
9899
+ * Enforce sorted heritage clauses.
9900
+ * @see https://perfectionist.dev/rules/sort-heritage-clauses
9901
+ */
9902
+ "perfectionist/sort-heritage-clauses"?: Linter.RuleEntry<PerfectionistSortHeritageClauses>;
9865
9903
  /**
9866
9904
  * Enforce sorted imports.
9867
9905
  * @see https://perfectionist.dev/rules/sort-imports
@@ -9887,6 +9925,11 @@ interface PerfectionistRuleOptions {
9887
9925
  * @see https://perfectionist.dev/rules/sort-maps
9888
9926
  */
9889
9927
  "perfectionist/sort-maps"?: Linter.RuleEntry<PerfectionistSortMaps>;
9928
+ /**
9929
+ * Enforce sorted modules.
9930
+ * @see https://perfectionist.dev/rules/sort-modules
9931
+ */
9932
+ "perfectionist/sort-modules"?: Linter.RuleEntry<PerfectionistSortModules>;
9890
9933
  /**
9891
9934
  * Enforce sorted named exports.
9892
9935
  * @see https://perfectionist.dev/rules/sort-named-exports
@@ -9912,12 +9955,6 @@ interface PerfectionistRuleOptions {
9912
9955
  * @see https://perfectionist.dev/rules/sort-sets
9913
9956
  */
9914
9957
  "perfectionist/sort-sets"?: Linter.RuleEntry<PerfectionistSortSets>;
9915
- /**
9916
- * Enforce sorted Svelte attributes.
9917
- * @see https://perfectionist.dev/rules/sort-svelte-attributes
9918
- * @deprecated
9919
- */
9920
- "perfectionist/sort-svelte-attributes"?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>;
9921
9958
  /**
9922
9959
  * Enforce sorted switch cases.
9923
9960
  * @see https://perfectionist.dev/rules/sort-switch-case
@@ -9933,12 +9970,6 @@ interface PerfectionistRuleOptions {
9933
9970
  * @see https://perfectionist.dev/rules/sort-variable-declarations
9934
9971
  */
9935
9972
  "perfectionist/sort-variable-declarations"?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>;
9936
- /**
9937
- * Enforce sorted Vue attributes.
9938
- * @see https://perfectionist.dev/rules/sort-vue-attributes
9939
- * @deprecated
9940
- */
9941
- "perfectionist/sort-vue-attributes"?: Linter.RuleEntry<PerfectionistSortVueAttributes>;
9942
9973
  }
9943
9974
 
9944
9975
  /* ======= Declarations ======= */
@@ -9947,153 +9978,167 @@ type PerfectionistSortArrayIncludes =
9947
9978
  | []
9948
9979
  | [
9949
9980
  {
9950
- type?: "alphabetical" | "natural" | "line-length";
9981
+ partitionByComment?: string[] | boolean | string;
9951
9982
 
9952
- order?: "asc" | "desc";
9983
+ groupKind?: "mixed" | "literals-first" | "spreads-first";
9953
9984
 
9954
- matcher?: "minimatch" | "regex";
9985
+ partitionByNewLine?: boolean;
9986
+
9987
+ specialCharacters?: "remove" | "trim" | "keep";
9955
9988
 
9956
9989
  ignoreCase?: boolean;
9957
9990
 
9958
- specialCharacters?: "remove" | "trim" | "keep";
9991
+ alphabet?: string;
9959
9992
 
9960
- groupKind?: "mixed" | "literals-first" | "spreads-first";
9993
+ locales?: string | string[];
9961
9994
 
9962
- partitionByComment?: string[] | boolean | string;
9995
+ order?: "asc" | "desc";
9963
9996
 
9964
- partitionByNewLine?: boolean;
9997
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
9965
9998
  },
9966
9999
  ];
9967
- // ----- perfectionist/sort-astro-attributes -----
9968
- type PerfectionistSortAstroAttributes =
10000
+ // ----- perfectionist/sort-classes -----
10001
+ type PerfectionistSortClasses =
9969
10002
  | []
9970
10003
  | [
9971
10004
  {
9972
- type?: "alphabetical" | "natural" | "line-length";
10005
+ ignoreCallbackDependenciesPatterns?: string[];
9973
10006
 
9974
- order?: "asc" | "desc";
10007
+ partitionByComment?: string[] | boolean | string;
10008
+
10009
+ customGroups?: (
10010
+ | {
10011
+ groupName?: string;
10012
+
10013
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10014
+
10015
+ order?: "desc" | "asc";
10016
+ anyOf?: {
10017
+ elementValuePattern?: string;
10018
+
10019
+ decoratorNamePattern?: string;
10020
+
10021
+ modifiers?: (
10022
+ | "async"
10023
+ | "protected"
10024
+ | "private"
10025
+ | "public"
10026
+ | "static"
10027
+ | "abstract"
10028
+ | "override"
10029
+ | "readonly"
10030
+ | "decorated"
10031
+ | "declare"
10032
+ | "optional"
10033
+ )[];
10034
+
10035
+ selector?:
10036
+ | "accessor-property"
10037
+ | "index-signature"
10038
+ | "constructor"
10039
+ | "static-block"
10040
+ | "get-method"
10041
+ | "set-method"
10042
+ | "function-property"
10043
+ | "property"
10044
+ | "method";
10045
+
10046
+ elementNamePattern?: string;
10047
+ }[];
10048
+ }
10049
+ | {
10050
+ groupName?: string;
10051
+
10052
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10053
+
10054
+ order?: "desc" | "asc";
10055
+
10056
+ elementValuePattern?: string;
10057
+
10058
+ decoratorNamePattern?: string;
10059
+
10060
+ modifiers?: (
10061
+ | "async"
10062
+ | "protected"
10063
+ | "private"
10064
+ | "public"
10065
+ | "static"
10066
+ | "abstract"
10067
+ | "override"
10068
+ | "readonly"
10069
+ | "decorated"
10070
+ | "declare"
10071
+ | "optional"
10072
+ )[];
10073
+
10074
+ selector?:
10075
+ | "accessor-property"
10076
+ | "index-signature"
10077
+ | "constructor"
10078
+ | "static-block"
10079
+ | "get-method"
10080
+ | "set-method"
10081
+ | "function-property"
10082
+ | "property"
10083
+ | "method";
10084
+
10085
+ elementNamePattern?: string;
10086
+ }
10087
+ )[];
10088
+
10089
+ partitionByNewLine?: boolean;
10090
+
10091
+ specialCharacters?: "remove" | "trim" | "keep";
9975
10092
 
9976
- matcher?: "minimatch" | "regex";
10093
+ newlinesBetween?: "ignore" | "always" | "never";
9977
10094
 
9978
10095
  ignoreCase?: boolean;
9979
10096
 
9980
- specialCharacters?: "remove" | "trim" | "keep";
10097
+ alphabet?: string;
10098
+
10099
+ locales?: string | string[];
9981
10100
 
9982
10101
  groups?: (string | string[])[];
9983
10102
 
9984
- customGroups?: {
9985
- [k: string]: (string | string[]) | undefined;
9986
- };
10103
+ order?: "asc" | "desc";
10104
+
10105
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
9987
10106
  },
9988
10107
  ];
9989
- // ----- perfectionist/sort-classes -----
9990
- type PerfectionistSortClasses =
10108
+ // ----- perfectionist/sort-decorators -----
10109
+ type PerfectionistSortDecorators =
9991
10110
  | []
9992
10111
  | [
9993
10112
  {
9994
- type?: "alphabetical" | "natural" | "line-length";
9995
-
9996
- order?: "asc" | "desc";
9997
-
9998
- matcher?: "minimatch" | "regex";
9999
-
10000
- ignoreCase?: boolean;
10001
-
10002
- specialCharacters?: "remove" | "trim" | "keep";
10003
-
10004
10113
  partitionByComment?: string[] | boolean | string;
10005
10114
 
10006
- groups?: (string | string[])[];
10115
+ sortOnParameters?: boolean;
10007
10116
 
10008
- customGroups?:
10009
- | {
10010
- [k: string]: (string | string[]) | undefined;
10011
- }
10012
- | (
10013
- | {
10014
- groupName?: string;
10117
+ sortOnProperties?: boolean;
10015
10118
 
10016
- type?:
10017
- | "alphabetical"
10018
- | "line-length"
10019
- | "natural"
10020
- | "unsorted";
10119
+ sortOnAccessors?: boolean;
10021
10120
 
10022
- order?: "desc" | "asc";
10023
- anyOf?: {
10024
- selector?:
10025
- | "accessor-property"
10026
- | "index-signature"
10027
- | "constructor"
10028
- | "static-block"
10029
- | "get-method"
10030
- | "set-method"
10031
- | "function-property"
10032
- | "property"
10033
- | "method";
10034
-
10035
- modifiers?: (
10036
- | "protected"
10037
- | "private"
10038
- | "public"
10039
- | "static"
10040
- | "abstract"
10041
- | "override"
10042
- | "readonly"
10043
- | "decorated"
10044
- | "declare"
10045
- | "optional"
10046
- )[];
10121
+ sortOnMethods?: boolean;
10047
10122
 
10048
- elementNamePattern?: string;
10123
+ sortOnClasses?: boolean;
10049
10124
 
10050
- elementValuePattern?: string;
10125
+ specialCharacters?: "remove" | "trim" | "keep";
10051
10126
 
10052
- decoratorNamePattern?: string;
10053
- }[];
10054
- }
10055
- | {
10056
- groupName?: string;
10127
+ customGroups?: {
10128
+ [k: string]: (string | string[]) | undefined;
10129
+ };
10057
10130
 
10058
- type?:
10059
- | "alphabetical"
10060
- | "line-length"
10061
- | "natural"
10062
- | "unsorted";
10131
+ ignoreCase?: boolean;
10063
10132
 
10064
- order?: "desc" | "asc";
10133
+ alphabet?: string;
10065
10134
 
10066
- selector?:
10067
- | "accessor-property"
10068
- | "index-signature"
10069
- | "constructor"
10070
- | "static-block"
10071
- | "get-method"
10072
- | "set-method"
10073
- | "function-property"
10074
- | "property"
10075
- | "method";
10076
-
10077
- modifiers?: (
10078
- | "protected"
10079
- | "private"
10080
- | "public"
10081
- | "static"
10082
- | "abstract"
10083
- | "override"
10084
- | "readonly"
10085
- | "decorated"
10086
- | "declare"
10087
- | "optional"
10088
- )[];
10135
+ locales?: string | string[];
10089
10136
 
10090
- elementNamePattern?: string;
10137
+ groups?: (string | string[])[];
10091
10138
 
10092
- elementValuePattern?: string;
10139
+ order?: "asc" | "desc";
10093
10140
 
10094
- decoratorNamePattern?: string;
10095
- }
10096
- )[];
10141
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10097
10142
  },
10098
10143
  ];
10099
10144
  // ----- perfectionist/sort-enums -----
@@ -10101,23 +10146,25 @@ type PerfectionistSortEnums =
10101
10146
  | []
10102
10147
  | [
10103
10148
  {
10104
- type?: "alphabetical" | "natural" | "line-length";
10149
+ partitionByComment?: string[] | boolean | string;
10105
10150
 
10106
- order?: "asc" | "desc";
10151
+ forceNumericSort?: boolean;
10107
10152
 
10108
- matcher?: "minimatch" | "regex";
10153
+ sortByValue?: boolean;
10109
10154
 
10110
- ignoreCase?: boolean;
10155
+ partitionByNewLine?: boolean;
10111
10156
 
10112
10157
  specialCharacters?: "remove" | "trim" | "keep";
10113
10158
 
10114
- sortByValue?: boolean;
10159
+ ignoreCase?: boolean;
10115
10160
 
10116
- forceNumericSort?: boolean;
10161
+ alphabet?: string;
10117
10162
 
10118
- partitionByComment?: string[] | boolean | string;
10163
+ locales?: string | string[];
10119
10164
 
10120
- partitionByNewLine?: boolean;
10165
+ order?: "asc" | "desc";
10166
+
10167
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10121
10168
  },
10122
10169
  ];
10123
10170
  // ----- perfectionist/sort-exports -----
@@ -10125,57 +10172,92 @@ type PerfectionistSortExports =
10125
10172
  | []
10126
10173
  | [
10127
10174
  {
10128
- type?: "alphabetical" | "natural" | "line-length";
10175
+ partitionByComment?: string[] | boolean | string;
10129
10176
 
10130
- order?: "asc" | "desc";
10177
+ groupKind?: "mixed" | "values-first" | "types-first";
10178
+
10179
+ partitionByNewLine?: boolean;
10131
10180
 
10132
- matcher?: "minimatch" | "regex";
10181
+ specialCharacters?: "remove" | "trim" | "keep";
10133
10182
 
10134
10183
  ignoreCase?: boolean;
10135
10184
 
10185
+ alphabet?: string;
10186
+
10187
+ locales?: string | string[];
10188
+
10189
+ order?: "asc" | "desc";
10190
+
10191
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10192
+ },
10193
+ ];
10194
+ // ----- perfectionist/sort-heritage-clauses -----
10195
+ type PerfectionistSortHeritageClauses =
10196
+ | []
10197
+ | [
10198
+ {
10136
10199
  specialCharacters?: "remove" | "trim" | "keep";
10137
10200
 
10138
- partitionByComment?: string[] | boolean | string;
10201
+ customGroups?: {
10202
+ [k: string]: (string | string[]) | undefined;
10203
+ };
10139
10204
 
10140
- partitionByNewLine?: boolean;
10205
+ ignoreCase?: boolean;
10141
10206
 
10142
- groupKind?: "mixed" | "values-first" | "types-first";
10207
+ alphabet?: string;
10208
+
10209
+ locales?: string | string[];
10210
+
10211
+ groups?: (string | string[])[];
10212
+
10213
+ order?: "asc" | "desc";
10214
+
10215
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10143
10216
  },
10144
10217
  ];
10145
10218
  // ----- perfectionist/sort-imports -----
10146
10219
  type PerfectionistSortImports = [] | [_PerfectionistSortImportsSortImports];
10147
10220
  type _PerfectionistSortImportsSortImports =
10148
10221
  _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
10149
- type?: "alphabetical" | "natural" | "line-length";
10150
-
10151
- order?: "asc" | "desc";
10152
-
10153
- matcher?: "minimatch" | "regex";
10222
+ customGroups?: {
10223
+ value?: {
10224
+ [k: string]: unknown | undefined;
10225
+ };
10154
10226
 
10155
- ignoreCase?: boolean;
10227
+ type?: {
10228
+ [k: string]: unknown | undefined;
10229
+ };
10230
+ };
10156
10231
 
10157
- specialCharacters?: "remove" | "trim" | "keep";
10232
+ partitionByComment?: string[] | boolean | string;
10158
10233
 
10159
10234
  internalPattern?: string[];
10160
10235
 
10236
+ maxLineLength?: number;
10237
+
10161
10238
  sortSideEffects?: boolean;
10162
10239
 
10240
+ environment?: "node" | "bun";
10241
+
10242
+ tsconfigRootDir?: string;
10243
+
10244
+ partitionByNewLine?: boolean;
10245
+
10246
+ specialCharacters?: "remove" | "trim" | "keep";
10247
+
10163
10248
  newlinesBetween?: "ignore" | "always" | "never";
10164
10249
 
10165
- maxLineLength?: number;
10250
+ ignoreCase?: boolean;
10251
+
10252
+ alphabet?: string;
10253
+
10254
+ locales?: string | string[];
10166
10255
 
10167
10256
  groups?: (string | string[])[];
10168
10257
 
10169
- customGroups?: {
10170
- type?: {
10171
- [k: string]: unknown | undefined;
10172
- };
10173
- value?: {
10174
- [k: string]: unknown | undefined;
10175
- };
10176
- };
10258
+ order?: "asc" | "desc";
10177
10259
 
10178
- environment?: "node" | "bun";
10260
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10179
10261
  };
10180
10262
  type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType =
10181
10263
  | {
@@ -10191,29 +10273,80 @@ type PerfectionistSortInterfaces =
10191
10273
  | []
10192
10274
  | [
10193
10275
  {
10194
- type?: "alphabetical" | "natural" | "line-length";
10276
+ ignorePattern?: string[];
10195
10277
 
10196
- order?: "asc" | "desc";
10278
+ partitionByComment?: string[] | boolean | string;
10279
+ customGroups?:
10280
+ | {
10281
+ [k: string]: (string | string[]) | undefined;
10282
+ }
10283
+ | (
10284
+ | {
10285
+ groupName?: string;
10197
10286
 
10198
- matcher?: "minimatch" | "regex";
10287
+ type?:
10288
+ | "alphabetical"
10289
+ | "line-length"
10290
+ | "natural"
10291
+ | "unsorted";
10199
10292
 
10200
- ignoreCase?: boolean;
10293
+ order?: "desc" | "asc";
10294
+ anyOf?: {
10295
+ modifiers?: ("optional" | "required" | "multiline")[];
10201
10296
 
10202
- specialCharacters?: "remove" | "trim" | "keep";
10297
+ selector?:
10298
+ | "index-signature"
10299
+ | "member"
10300
+ | "method"
10301
+ | "multiline"
10302
+ | "property";
10203
10303
 
10204
- ignorePattern?: string[];
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")[];
10319
+
10320
+ selector?:
10321
+ | "index-signature"
10322
+ | "member"
10323
+ | "method"
10324
+ | "multiline"
10325
+ | "property";
10326
+
10327
+ elementNamePattern?: string;
10328
+ }
10329
+ )[];
10205
10330
 
10206
- partitionByComment?: boolean | string | string[];
10331
+ groupKind?: "mixed" | "required-first" | "optional-first";
10207
10332
 
10208
10333
  partitionByNewLine?: boolean;
10209
10334
 
10210
- groupKind?: "mixed" | "optional-first" | "required-first";
10335
+ specialCharacters?: "remove" | "trim" | "keep";
10336
+
10337
+ newlinesBetween?: "ignore" | "always" | "never";
10338
+
10339
+ ignoreCase?: boolean;
10340
+
10341
+ alphabet?: string;
10342
+
10343
+ locales?: string | string[];
10211
10344
 
10212
10345
  groups?: (string | string[])[];
10213
10346
 
10214
- customGroups?: {
10215
- [k: string]: (string | string[]) | undefined;
10216
- };
10347
+ order?: "asc" | "desc";
10348
+
10349
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10217
10350
  },
10218
10351
  ];
10219
10352
  // ----- perfectionist/sort-intersection-types -----
@@ -10221,21 +10354,25 @@ type PerfectionistSortIntersectionTypes =
10221
10354
  | []
10222
10355
  | [
10223
10356
  {
10224
- type?: "alphabetical" | "natural" | "line-length";
10357
+ partitionByComment?: string[] | boolean | string;
10225
10358
 
10226
- order?: "asc" | "desc";
10359
+ partitionByNewLine?: boolean;
10360
+
10361
+ specialCharacters?: "remove" | "trim" | "keep";
10227
10362
 
10228
- matcher?: "minimatch" | "regex";
10363
+ newlinesBetween?: "ignore" | "always" | "never";
10229
10364
 
10230
10365
  ignoreCase?: boolean;
10231
10366
 
10232
- specialCharacters?: "remove" | "trim" | "keep";
10367
+ alphabet?: string;
10368
+
10369
+ locales?: string | string[];
10233
10370
 
10234
10371
  groups?: (string | string[])[];
10235
10372
 
10236
- partitionByComment?: string[] | boolean | string;
10373
+ order?: "asc" | "desc";
10237
10374
 
10238
- partitionByNewLine?: boolean;
10375
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10239
10376
  },
10240
10377
  ];
10241
10378
  // ----- perfectionist/sort-jsx-props -----
@@ -10243,23 +10380,25 @@ type PerfectionistSortJsxProps =
10243
10380
  | []
10244
10381
  | [
10245
10382
  {
10246
- type?: "alphabetical" | "natural" | "line-length";
10383
+ ignorePattern?: string[];
10247
10384
 
10248
- order?: "asc" | "desc";
10385
+ specialCharacters?: "remove" | "trim" | "keep";
10249
10386
 
10250
- matcher?: "minimatch" | "regex";
10387
+ customGroups?: {
10388
+ [k: string]: (string | string[]) | undefined;
10389
+ };
10251
10390
 
10252
10391
  ignoreCase?: boolean;
10253
10392
 
10254
- specialCharacters?: "remove" | "trim" | "keep";
10393
+ alphabet?: string;
10255
10394
 
10256
- ignorePattern?: string[];
10395
+ locales?: string | string[];
10257
10396
 
10258
10397
  groups?: (string | string[])[];
10259
10398
 
10260
- customGroups?: {
10261
- [k: string]: (string | string[]) | undefined;
10262
- };
10399
+ order?: "asc" | "desc";
10400
+
10401
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10263
10402
  },
10264
10403
  ];
10265
10404
  // ----- perfectionist/sort-maps -----
@@ -10267,19 +10406,93 @@ type PerfectionistSortMaps =
10267
10406
  | []
10268
10407
  | [
10269
10408
  {
10270
- type?: "alphabetical" | "natural" | "line-length";
10409
+ partitionByComment?: string[] | boolean | string;
10271
10410
 
10272
- order?: "asc" | "desc";
10411
+ partitionByNewLine?: boolean;
10273
10412
 
10274
- matcher?: "minimatch" | "regex";
10413
+ specialCharacters?: "remove" | "trim" | "keep";
10275
10414
 
10276
10415
  ignoreCase?: boolean;
10277
10416
 
10278
- specialCharacters?: "remove" | "trim" | "keep";
10417
+ alphabet?: string;
10418
+
10419
+ locales?: string | string[];
10420
+
10421
+ order?: "asc" | "desc";
10279
10422
 
10423
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10424
+ },
10425
+ ];
10426
+ // ----- perfectionist/sort-modules -----
10427
+ type PerfectionistSortModules =
10428
+ | []
10429
+ | [
10430
+ {
10280
10431
  partitionByComment?: string[] | boolean | string;
10281
10432
 
10433
+ customGroups?: (
10434
+ | {
10435
+ groupName?: string;
10436
+
10437
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10438
+
10439
+ order?: "desc" | "asc";
10440
+ anyOf?: {
10441
+ decoratorNamePattern?: string;
10442
+
10443
+ modifiers?: (
10444
+ | "async"
10445
+ | "declare"
10446
+ | "decorated"
10447
+ | "default"
10448
+ | "export"
10449
+ )[];
10450
+
10451
+ selector?: "enum" | "function" | "interface" | "type" | "class";
10452
+
10453
+ elementNamePattern?: string;
10454
+ }[];
10455
+ }
10456
+ | {
10457
+ groupName?: string;
10458
+
10459
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10460
+
10461
+ order?: "desc" | "asc";
10462
+
10463
+ decoratorNamePattern?: string;
10464
+
10465
+ modifiers?: (
10466
+ | "async"
10467
+ | "declare"
10468
+ | "decorated"
10469
+ | "default"
10470
+ | "export"
10471
+ )[];
10472
+
10473
+ selector?: "enum" | "function" | "interface" | "type" | "class";
10474
+
10475
+ elementNamePattern?: string;
10476
+ }
10477
+ )[];
10478
+
10282
10479
  partitionByNewLine?: boolean;
10480
+
10481
+ specialCharacters?: "remove" | "trim" | "keep";
10482
+
10483
+ newlinesBetween?: "ignore" | "always" | "never";
10484
+
10485
+ ignoreCase?: boolean;
10486
+
10487
+ alphabet?: string;
10488
+
10489
+ locales?: string | string[];
10490
+
10491
+ groups?: (string | string[])[];
10492
+
10493
+ order?: "asc" | "desc";
10494
+
10495
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10283
10496
  },
10284
10497
  ];
10285
10498
  // ----- perfectionist/sort-named-exports -----
@@ -10287,21 +10500,23 @@ type PerfectionistSortNamedExports =
10287
10500
  | []
10288
10501
  | [
10289
10502
  {
10290
- type?: "alphabetical" | "natural" | "line-length";
10503
+ partitionByComment?: string[] | boolean | string;
10291
10504
 
10292
- order?: "asc" | "desc";
10505
+ groupKind?: "mixed" | "values-first" | "types-first";
10293
10506
 
10294
- matcher?: "minimatch" | "regex";
10507
+ partitionByNewLine?: boolean;
10508
+
10509
+ specialCharacters?: "remove" | "trim" | "keep";
10295
10510
 
10296
10511
  ignoreCase?: boolean;
10297
10512
 
10298
- specialCharacters?: "remove" | "trim" | "keep";
10513
+ alphabet?: string;
10299
10514
 
10300
- groupKind?: "mixed" | "values-first" | "types-first";
10515
+ locales?: string | string[];
10301
10516
 
10302
- partitionByComment?: string[] | boolean | string;
10517
+ order?: "asc" | "desc";
10303
10518
 
10304
- partitionByNewLine?: boolean;
10519
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10305
10520
  },
10306
10521
  ];
10307
10522
  // ----- perfectionist/sort-named-imports -----
@@ -10309,23 +10524,25 @@ type PerfectionistSortNamedImports =
10309
10524
  | []
10310
10525
  | [
10311
10526
  {
10312
- type?: "alphabetical" | "natural" | "line-length";
10527
+ partitionByComment?: string[] | boolean | string;
10313
10528
 
10314
- order?: "asc" | "desc";
10529
+ groupKind?: "mixed" | "values-first" | "types-first";
10315
10530
 
10316
- matcher?: "minimatch" | "regex";
10531
+ ignoreAlias?: boolean;
10317
10532
 
10318
- ignoreCase?: boolean;
10533
+ partitionByNewLine?: boolean;
10319
10534
 
10320
10535
  specialCharacters?: "remove" | "trim" | "keep";
10321
10536
 
10322
- ignoreAlias?: boolean;
10537
+ ignoreCase?: boolean;
10323
10538
 
10324
- groupKind?: "mixed" | "values-first" | "types-first";
10539
+ alphabet?: string;
10325
10540
 
10326
- partitionByComment?: string[] | boolean | string;
10541
+ locales?: string | string[];
10327
10542
 
10328
- partitionByNewLine?: boolean;
10543
+ order?: "asc" | "desc";
10544
+
10545
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10329
10546
  },
10330
10547
  ];
10331
10548
  // ----- perfectionist/sort-object-types -----
@@ -10333,103 +10550,147 @@ type PerfectionistSortObjectTypes =
10333
10550
  | []
10334
10551
  | [
10335
10552
  {
10336
- type?: "alphabetical" | "natural" | "line-length";
10553
+ ignorePattern?: string[];
10337
10554
 
10338
- order?: "asc" | "desc";
10555
+ partitionByComment?: string[] | boolean | string;
10556
+ customGroups?:
10557
+ | {
10558
+ [k: string]: (string | string[]) | undefined;
10559
+ }
10560
+ | (
10561
+ | {
10562
+ groupName?: string;
10339
10563
 
10340
- matcher?: "minimatch" | "regex";
10564
+ type?:
10565
+ | "alphabetical"
10566
+ | "line-length"
10567
+ | "natural"
10568
+ | "unsorted";
10341
10569
 
10342
- ignoreCase?: boolean;
10570
+ order?: "desc" | "asc";
10571
+ anyOf?: {
10572
+ modifiers?: ("optional" | "required" | "multiline")[];
10343
10573
 
10344
- specialCharacters?: "remove" | "trim" | "keep";
10574
+ selector?:
10575
+ | "index-signature"
10576
+ | "member"
10577
+ | "method"
10578
+ | "multiline"
10579
+ | "property";
10345
10580
 
10346
- partitionByComment?: string[] | boolean | string;
10581
+ elementNamePattern?: string;
10582
+ }[];
10583
+ }
10584
+ | {
10585
+ groupName?: string;
10347
10586
 
10348
- partitionByNewLine?: boolean;
10587
+ type?:
10588
+ | "alphabetical"
10589
+ | "line-length"
10590
+ | "natural"
10591
+ | "unsorted";
10349
10592
 
10350
- groupKind?: "mixed" | "required-first" | "optional-first";
10593
+ order?: "desc" | "asc";
10351
10594
 
10352
- groups?: (string | string[])[];
10595
+ modifiers?: ("optional" | "required" | "multiline")[];
10353
10596
 
10354
- customGroups?: {
10355
- [k: string]: (string | string[]) | undefined;
10356
- };
10357
- },
10358
- ];
10359
- // ----- perfectionist/sort-objects -----
10360
- type PerfectionistSortObjects =
10361
- | []
10362
- | [
10363
- {
10364
- type?: "alphabetical" | "natural" | "line-length";
10597
+ selector?:
10598
+ | "index-signature"
10599
+ | "member"
10600
+ | "method"
10601
+ | "multiline"
10602
+ | "property";
10365
10603
 
10366
- order?: "asc" | "desc";
10604
+ elementNamePattern?: string;
10605
+ }
10606
+ )[];
10367
10607
 
10368
- matcher?: "minimatch" | "regex";
10608
+ groupKind?: "mixed" | "required-first" | "optional-first";
10369
10609
 
10370
- ignoreCase?: boolean;
10610
+ partitionByNewLine?: boolean;
10371
10611
 
10372
10612
  specialCharacters?: "remove" | "trim" | "keep";
10373
10613
 
10374
- partitionByComment?: string[] | boolean | string;
10614
+ newlinesBetween?: "ignore" | "always" | "never";
10375
10615
 
10376
- partitionByNewLine?: boolean;
10377
-
10378
- styledComponents?: boolean;
10616
+ ignoreCase?: boolean;
10379
10617
 
10380
- destructureOnly?: boolean;
10618
+ alphabet?: string;
10381
10619
 
10382
- ignorePattern?: string[];
10620
+ locales?: string | string[];
10383
10621
 
10384
10622
  groups?: (string | string[])[];
10385
10623
 
10386
- customGroups?: {
10387
- [k: string]: (string | string[]) | undefined;
10388
- };
10624
+ order?: "asc" | "desc";
10625
+
10626
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10389
10627
  },
10390
10628
  ];
10391
- // ----- perfectionist/sort-sets -----
10392
- type PerfectionistSortSets =
10393
- | []
10394
- | [
10395
- {
10396
- type?: "alphabetical" | "natural" | "line-length";
10629
+ // ----- perfectionist/sort-objects -----
10630
+ type PerfectionistSortObjects = {
10631
+ destructuredObjects?:
10632
+ | boolean
10633
+ | {
10634
+ groups?: boolean;
10635
+ };
10397
10636
 
10398
- order?: "asc" | "desc";
10637
+ ignorePattern?: string[];
10399
10638
 
10400
- matcher?: "minimatch" | "regex";
10639
+ partitionByComment?: string[] | boolean | string;
10401
10640
 
10402
- ignoreCase?: boolean;
10641
+ destructureOnly?: boolean;
10403
10642
 
10404
- specialCharacters?: "remove" | "trim" | "keep";
10643
+ objectDeclarations?: boolean;
10405
10644
 
10406
- groupKind?: "mixed" | "literals-first" | "spreads-first";
10645
+ styledComponents?: boolean;
10407
10646
 
10408
- partitionByComment?: string[] | boolean | string;
10647
+ partitionByNewLine?: boolean;
10648
+ useConfigurationIf?: {
10649
+ allNamesMatchPattern?: string;
10650
+ };
10409
10651
 
10410
- partitionByNewLine?: boolean;
10411
- },
10412
- ];
10413
- // ----- perfectionist/sort-svelte-attributes -----
10414
- type PerfectionistSortSvelteAttributes =
10652
+ specialCharacters?: "remove" | "trim" | "keep";
10653
+
10654
+ newlinesBetween?: "ignore" | "always" | "never";
10655
+
10656
+ customGroups?: {
10657
+ [k: string]: (string | string[]) | undefined;
10658
+ };
10659
+
10660
+ ignoreCase?: boolean;
10661
+
10662
+ alphabet?: string;
10663
+
10664
+ locales?: string | string[];
10665
+
10666
+ groups?: (string | string[])[];
10667
+
10668
+ order?: "asc" | "desc";
10669
+
10670
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10671
+ }[];
10672
+ // ----- perfectionist/sort-sets -----
10673
+ type PerfectionistSortSets =
10415
10674
  | []
10416
10675
  | [
10417
10676
  {
10418
- type?: "alphabetical" | "natural" | "line-length";
10677
+ partitionByComment?: string[] | boolean | string;
10419
10678
 
10420
- order?: "asc" | "desc";
10679
+ groupKind?: "mixed" | "literals-first" | "spreads-first";
10680
+
10681
+ partitionByNewLine?: boolean;
10421
10682
 
10422
- matcher?: "minimatch" | "regex";
10683
+ specialCharacters?: "remove" | "trim" | "keep";
10423
10684
 
10424
10685
  ignoreCase?: boolean;
10425
10686
 
10426
- specialCharacters?: "remove" | "trim" | "keep";
10687
+ alphabet?: string;
10427
10688
 
10428
- groups?: (string | string[])[];
10689
+ locales?: string | string[];
10429
10690
 
10430
- customGroups?: {
10431
- [k: string]: (string | string[]) | undefined;
10432
- };
10691
+ order?: "asc" | "desc";
10692
+
10693
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10433
10694
  },
10434
10695
  ];
10435
10696
  // ----- perfectionist/sort-switch-case -----
@@ -10437,13 +10698,17 @@ type PerfectionistSortSwitchCase =
10437
10698
  | []
10438
10699
  | [
10439
10700
  {
10440
- type?: "alphabetical" | "natural" | "line-length";
10441
-
10442
- order?: "asc" | "desc";
10701
+ specialCharacters?: "remove" | "trim" | "keep";
10443
10702
 
10444
10703
  ignoreCase?: boolean;
10445
10704
 
10446
- specialCharacters?: "remove" | "trim" | "keep";
10705
+ alphabet?: string;
10706
+
10707
+ locales?: string | string[];
10708
+
10709
+ order?: "asc" | "desc";
10710
+
10711
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10447
10712
  },
10448
10713
  ];
10449
10714
  // ----- perfectionist/sort-union-types -----
@@ -10451,21 +10716,25 @@ type PerfectionistSortUnionTypes =
10451
10716
  | []
10452
10717
  | [
10453
10718
  {
10454
- type?: "alphabetical" | "natural" | "line-length";
10719
+ partitionByComment?: string[] | boolean | string;
10455
10720
 
10456
- order?: "asc" | "desc";
10721
+ partitionByNewLine?: boolean;
10457
10722
 
10458
- matcher?: "minimatch" | "regex";
10723
+ specialCharacters?: "remove" | "trim" | "keep";
10724
+
10725
+ newlinesBetween?: "ignore" | "always" | "never";
10459
10726
 
10460
10727
  ignoreCase?: boolean;
10461
10728
 
10462
- specialCharacters?: "remove" | "trim" | "keep";
10729
+ alphabet?: string;
10730
+
10731
+ locales?: string | string[];
10463
10732
 
10464
10733
  groups?: (string | string[])[];
10465
10734
 
10466
- partitionByComment?: string[] | boolean | string;
10735
+ order?: "asc" | "desc";
10467
10736
 
10468
- partitionByNewLine?: boolean;
10737
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10469
10738
  },
10470
10739
  ];
10471
10740
  // ----- perfectionist/sort-variable-declarations -----
@@ -10473,41 +10742,21 @@ type PerfectionistSortVariableDeclarations =
10473
10742
  | []
10474
10743
  | [
10475
10744
  {
10476
- type?: "alphabetical" | "natural" | "line-length";
10477
-
10478
- order?: "asc" | "desc";
10479
-
10480
- matcher?: "minimatch" | "regex";
10481
-
10482
- ignoreCase?: boolean;
10483
-
10484
- specialCharacters?: "remove" | "trim" | "keep";
10485
-
10486
10745
  partitionByComment?: string[] | boolean | string;
10487
10746
 
10488
10747
  partitionByNewLine?: boolean;
10489
- },
10490
- ];
10491
- // ----- perfectionist/sort-vue-attributes -----
10492
- type PerfectionistSortVueAttributes =
10493
- | []
10494
- | [
10495
- {
10496
- type?: "alphabetical" | "natural" | "line-length";
10497
-
10498
- order?: "asc" | "desc";
10499
10748
 
10500
- matcher?: "minimatch" | "regex";
10749
+ specialCharacters?: "remove" | "trim" | "keep";
10501
10750
 
10502
10751
  ignoreCase?: boolean;
10503
10752
 
10504
- specialCharacters?: "remove" | "trim" | "keep";
10753
+ alphabet?: string;
10505
10754
 
10506
- groups?: (string | string[])[];
10755
+ locales?: string | string[];
10507
10756
 
10508
- customGroups?: {
10509
- [k: string]: (string | string[]) | undefined;
10510
- };
10757
+ order?: "asc" | "desc";
10758
+
10759
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10511
10760
  },
10512
10761
  ];
10513
10762
 
@@ -11067,9 +11316,10 @@ type ReactRefreshOnlyExportComponents =
11067
11316
  | []
11068
11317
  | [
11069
11318
  {
11319
+ allowExportNames?: string[];
11070
11320
  allowConstantExport?: boolean;
11321
+ customHOCs?: string[];
11071
11322
  checkJS?: boolean;
11072
- allowExportNames?: string[];
11073
11323
  },
11074
11324
  ];
11075
11325
  // ----- react/boolean-prop-naming -----
@@ -12853,6 +13103,7 @@ type StylisticIndent =
12853
13103
  ImportDeclaration?: number | ("first" | "off");
12854
13104
  flatTernaryExpressions?: boolean;
12855
13105
  offsetTernaryExpressions?: boolean;
13106
+ offsetTernaryExpressionsOffsetCallExpressions?: boolean;
12856
13107
  ignoredNodes?: string[];
12857
13108
  ignoreComments?: boolean;
12858
13109
  tabLength?: number;
@@ -15721,233 +15972,233 @@ interface TypescriptRuleOptions {
15721
15972
  >;
15722
15973
  /**
15723
15974
  * Enforce or ban the use of inline type-only markers for named imports.
15724
- * @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
15725
15976
  */
15726
15977
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
15727
15978
  /**
15728
15979
  * Ensure a default export is present, given a default import.
15729
- * @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
15730
15981
  */
15731
15982
  "import/default"?: Linter.RuleEntry<[]>;
15732
15983
  /**
15733
15984
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
15734
- * @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
15735
15986
  */
15736
15987
  "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname>;
15737
15988
  /**
15738
15989
  * Forbid any invalid exports, i.e. re-export of the same name.
15739
- * @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
15740
15991
  */
15741
15992
  "import/export"?: Linter.RuleEntry<[]>;
15742
15993
  /**
15743
15994
  * Ensure all exports appear after other statements.
15744
- * @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
15745
15996
  */
15746
15997
  "import/exports-last"?: Linter.RuleEntry<[]>;
15747
15998
  /**
15748
15999
  * Ensure consistent use of file extension within the import path.
15749
- * @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
15750
16001
  */
15751
16002
  "import/extensions"?: Linter.RuleEntry<ImportExtensions>;
15752
16003
  /**
15753
16004
  * Ensure all imports appear before other statements.
15754
- * @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
15755
16006
  */
15756
16007
  "import/first"?: Linter.RuleEntry<ImportFirst>;
15757
16008
  /**
15758
16009
  * Prefer named exports to be grouped together in a single export declaration.
15759
- * @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
15760
16011
  */
15761
16012
  "import/group-exports"?: Linter.RuleEntry<[]>;
15762
16013
  /**
15763
16014
  * Replaced by `import-x/first`.
15764
- * @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
15765
16016
  * @deprecated
15766
16017
  */
15767
16018
  "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst>;
15768
16019
  /**
15769
16020
  * Enforce the maximum number of dependencies a module can have.
15770
- * @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
15771
16022
  */
15772
16023
  "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies>;
15773
16024
  /**
15774
16025
  * Ensure named imports correspond to a named export in the remote file.
15775
- * @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
15776
16027
  */
15777
16028
  "import/named"?: Linter.RuleEntry<ImportNamed>;
15778
16029
  /**
15779
16030
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
15780
- * @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
15781
16032
  */
15782
16033
  "import/namespace"?: Linter.RuleEntry<ImportNamespace>;
15783
16034
  /**
15784
16035
  * Enforce a newline after import statements.
15785
- * @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
15786
16037
  */
15787
16038
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport>;
15788
16039
  /**
15789
16040
  * Forbid import of modules using absolute paths.
15790
- * @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
15791
16042
  */
15792
16043
  "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath>;
15793
16044
  /**
15794
16045
  * Forbid AMD `require` and `define` calls.
15795
- * @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
15796
16047
  */
15797
16048
  "import/no-amd"?: Linter.RuleEntry<[]>;
15798
16049
  /**
15799
16050
  * Forbid anonymous values as default exports.
15800
- * @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
15801
16052
  */
15802
16053
  "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
15803
16054
  /**
15804
16055
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
15805
- * @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
15806
16057
  */
15807
16058
  "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs>;
15808
16059
  /**
15809
16060
  * Forbid a module from importing a module with a dependency path back to itself.
15810
- * @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
15811
16062
  */
15812
16063
  "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle>;
15813
16064
  /**
15814
16065
  * Forbid default exports.
15815
- * @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
15816
16067
  */
15817
16068
  "import/no-default-export"?: Linter.RuleEntry<[]>;
15818
16069
  /**
15819
16070
  * Forbid imported names marked with `@deprecated` documentation tag.
15820
- * @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
15821
16072
  */
15822
16073
  "import/no-deprecated"?: Linter.RuleEntry<[]>;
15823
16074
  /**
15824
16075
  * Forbid repeated import of the same module in multiple places.
15825
- * @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
15826
16077
  */
15827
16078
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates>;
15828
16079
  /**
15829
16080
  * Forbid `require()` calls with expressions.
15830
- * @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
15831
16082
  */
15832
16083
  "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire>;
15833
16084
  /**
15834
16085
  * Forbid empty named import blocks.
15835
- * @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
15836
16087
  */
15837
16088
  "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
15838
16089
  /**
15839
16090
  * Forbid the use of extraneous packages.
15840
- * @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
15841
16092
  */
15842
16093
  "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
15843
16094
  /**
15844
16095
  * Forbid import statements with CommonJS module.exports.
15845
- * @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
15846
16097
  */
15847
16098
  "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports>;
15848
16099
  /**
15849
16100
  * Forbid importing the submodules of other modules.
15850
- * @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
15851
16102
  */
15852
16103
  "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules>;
15853
16104
  /**
15854
16105
  * Forbid the use of mutable exports with `var` or `let`.
15855
- * @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
15856
16107
  */
15857
16108
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
15858
16109
  /**
15859
16110
  * Forbid use of exported name as identifier of default export.
15860
- * @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
15861
16112
  */
15862
16113
  "import/no-named-as-default"?: Linter.RuleEntry<[]>;
15863
16114
  /**
15864
16115
  * Forbid use of exported name as property of default export.
15865
- * @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
15866
16117
  */
15867
16118
  "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
15868
16119
  /**
15869
16120
  * Forbid named default exports.
15870
- * @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
15871
16122
  */
15872
16123
  "import/no-named-default"?: Linter.RuleEntry<[]>;
15873
16124
  /**
15874
16125
  * Forbid named exports.
15875
- * @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
15876
16127
  */
15877
16128
  "import/no-named-export"?: Linter.RuleEntry<[]>;
15878
16129
  /**
15879
16130
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
15880
- * @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
15881
16132
  */
15882
16133
  "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace>;
15883
16134
  /**
15884
16135
  * Forbid Node.js builtin modules.
15885
- * @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
15886
16137
  */
15887
16138
  "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules>;
15888
16139
  /**
15889
16140
  * Forbid importing packages through relative paths.
15890
- * @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
15891
16142
  */
15892
16143
  "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages>;
15893
16144
  /**
15894
16145
  * Forbid importing modules from parent directories.
15895
- * @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
15896
16147
  */
15897
16148
  "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports>;
15898
16149
  /**
15899
16150
  * Forbid importing a default export by a different name.
15900
- * @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
15901
16152
  */
15902
16153
  "import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault>;
15903
16154
  /**
15904
16155
  * Enforce which files can be imported in a given folder.
15905
- * @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
15906
16157
  */
15907
16158
  "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths>;
15908
16159
  /**
15909
16160
  * Forbid a module from importing itself.
15910
- * @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
15911
16162
  */
15912
16163
  "import/no-self-import"?: Linter.RuleEntry<[]>;
15913
16164
  /**
15914
16165
  * Forbid unassigned imports.
15915
- * @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
15916
16167
  */
15917
16168
  "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport>;
15918
16169
  /**
15919
16170
  * Ensure imports point to a file/module that can be resolved.
15920
- * @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
15921
16172
  */
15922
16173
  "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved>;
15923
16174
  /**
15924
16175
  * Forbid modules without exports, or exports without matching import in another module.
15925
- * @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
15926
16177
  */
15927
16178
  "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules>;
15928
16179
  /**
15929
16180
  * Forbid unnecessary path segments in import and require statements.
15930
- * @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
15931
16182
  */
15932
16183
  "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments>;
15933
16184
  /**
15934
16185
  * Forbid webpack loader syntax in imports.
15935
- * @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
15936
16187
  */
15937
16188
  "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
15938
16189
  /**
15939
16190
  * Enforce a convention in module import order.
15940
- * @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
15941
16192
  */
15942
16193
  "import/order"?: Linter.RuleEntry<ImportOrder>;
15943
16194
  /**
15944
16195
  * Prefer a default export if module exports a single name or multiple names.
15945
- * @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
15946
16197
  */
15947
16198
  "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport>;
15948
16199
  /**
15949
16200
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
15950
- * @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
15951
16202
  */
15952
16203
  "import/unambiguous"?: Linter.RuleEntry<[]>;
15953
16204
  }
@@ -19337,6 +19588,10 @@ type TypescriptEslintPreferPromiseRejectErrors =
19337
19588
  | [
19338
19589
  {
19339
19590
  allowEmptyReject?: boolean;
19591
+
19592
+ allowThrowingAny?: boolean;
19593
+
19594
+ allowThrowingUnknown?: boolean;
19340
19595
  },
19341
19596
  ];
19342
19597
  // ----- @typescript-eslint/prefer-readonly -----
@@ -19539,6 +19794,8 @@ type TypescriptEslintSwitchExhaustivenessCheck =
19539
19794
 
19540
19795
  considerDefaultExhaustiveForUnions?: boolean;
19541
19796
 
19797
+ defaultCaseCommentPattern?: string;
19798
+
19542
19799
  requireDefaultForNonUnion?: boolean;
19543
19800
  },
19544
19801
  ];
@@ -21775,7 +22032,7 @@ declare function jsse(options?: OptionsConfig & TypedFlatConfigItem, ...userConf
21775
22032
  declare function defineConfig(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: (TypedFlatConfigItem | TypedFlatConfigItem[])[]): Promise<TypedFlatConfigItem[]>;
21776
22033
  type DefineConfig = typeof defineConfig;
21777
22034
 
21778
- declare const VERSION = "0.2.28";
22035
+ declare const VERSION = "0.2.30";
21779
22036
 
21780
22037
  declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
21781
22038
  declare const GLOB_JS_SRC_EXT = "?([cm])js?(x)";
@@ -22210,7 +22467,7 @@ declare function importPluginReactHooks(): Promise<{
22210
22467
  pluginReactHooks: any;
22211
22468
  }>;
22212
22469
  declare function importPluginReactRefresh(): Promise<{
22213
- pluginReactRefresh: any;
22470
+ pluginReactRefresh: typeof eslint_plugin_react_refresh;
22214
22471
  }>;
22215
22472
  declare function importReactPlugins(): Promise<{
22216
22473
  pluginReact: {
@@ -22586,7 +22843,7 @@ declare function importReactPlugins(): Promise<{
22586
22843
  };
22587
22844
  };
22588
22845
  pluginReactHooks: any;
22589
- pluginReactRefresh: any;
22846
+ pluginReactRefresh: typeof eslint_plugin_react_refresh;
22590
22847
  }>;
22591
22848
  declare function importParserJsonc(): Promise<{
22592
22849
  parserJsonc: typeof jsonc_eslint_parser;
@@ -23528,7 +23785,7 @@ declare function importPluginMarkdown(): Promise<{
23528
23785
  }>;
23529
23786
  declare function importPluginJsdoc(): Promise<{
23530
23787
  pluginJsdoc: eslint.ESLint.Plugin & {
23531
- 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>;
23532
23789
  };
23533
23790
  }>;
23534
23791
  declare function importPluginTsdoc(): Promise<{