@jsse/eslint-config 0.2.30 → 0.2.31

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
@@ -14,7 +14,6 @@ import * as yaml_eslint_parser from 'yaml-eslint-parser';
14
14
  import * as eslint_plugin_jsonc_types from 'eslint-plugin-jsonc/types';
15
15
  import * as eslint_plugin_jsonc_meta from 'eslint-plugin-jsonc/meta';
16
16
  import * as jsonc_eslint_parser from 'jsonc-eslint-parser';
17
- import * as eslint_plugin_react_refresh from 'eslint-plugin-react-refresh';
18
17
  import * as eslint_plugin_react from 'eslint-plugin-react';
19
18
  export { default as pluginEslintComments } from '@eslint-community/eslint-plugin-eslint-comments';
20
19
  export { default as pluginTs } from '@typescript-eslint/eslint-plugin';
@@ -169,7 +168,7 @@ interface BuiltinsRuleOptions {
169
168
  */
170
169
  "default-case"?: Linter.RuleEntry<DefaultCase>;
171
170
  /**
172
- * Enforce default clauses in switch statements to be last
171
+ * Enforce `default` clauses in `switch` statements to be last
173
172
  * @see https://eslint.org/docs/latest/rules/default-case-last
174
173
  */
175
174
  "default-case-last"?: Linter.RuleEntry<[]>;
@@ -201,7 +200,7 @@ interface BuiltinsRuleOptions {
201
200
  */
202
201
  eqeqeq?: Linter.RuleEntry<Eqeqeq>;
203
202
  /**
204
- * Enforce "for" loop update clause moving the counter in the right direction
203
+ * Enforce `for` loop update clause moving the counter in the right direction
205
204
  * @see https://eslint.org/docs/latest/rules/for-direction
206
205
  */
207
206
  "for-direction"?: Linter.RuleEntry<[]>;
@@ -509,7 +508,7 @@ interface BuiltinsRuleOptions {
509
508
  */
510
509
  "no-class-assign"?: Linter.RuleEntry<[]>;
511
510
  /**
512
- * Disallow comparing against -0
511
+ * Disallow comparing against `-0`
513
512
  * @see https://eslint.org/docs/latest/rules/no-compare-neg-zero
514
513
  */
515
514
  "no-compare-neg-zero"?: Linter.RuleEntry<[]>;
@@ -918,7 +917,7 @@ interface BuiltinsRuleOptions {
918
917
  */
919
918
  "no-octal-escape"?: Linter.RuleEntry<[]>;
920
919
  /**
921
- * Disallow reassigning `function` parameters
920
+ * Disallow reassigning function parameters
922
921
  * @see https://eslint.org/docs/latest/rules/no-param-reassign
923
922
  */
924
923
  "no-param-reassign"?: Linter.RuleEntry<NoParamReassign>;
@@ -1013,7 +1012,7 @@ interface BuiltinsRuleOptions {
1013
1012
  */
1014
1013
  "no-return-await"?: Linter.RuleEntry<[]>;
1015
1014
  /**
1016
- * Disallow `javascript:` urls
1015
+ * Disallow `javascript:` URLs
1017
1016
  * @see https://eslint.org/docs/latest/rules/no-script-url
1018
1017
  */
1019
1018
  "no-script-url"?: Linter.RuleEntry<[]>;
@@ -1356,7 +1355,7 @@ interface BuiltinsRuleOptions {
1356
1355
  */
1357
1356
  "prefer-object-has-own"?: Linter.RuleEntry<[]>;
1358
1357
  /**
1359
- * Disallow using Object.assign with an object literal as the first argument and prefer the use of object spread instead
1358
+ * Disallow using `Object.assign` with an object literal as the first argument and prefer the use of object spread instead
1360
1359
  * @see https://eslint.org/docs/latest/rules/prefer-object-spread
1361
1360
  */
1362
1361
  "prefer-object-spread"?: Linter.RuleEntry<[]>;
@@ -1419,7 +1418,7 @@ interface BuiltinsRuleOptions {
1419
1418
  */
1420
1419
  "require-await"?: Linter.RuleEntry<[]>;
1421
1420
  /**
1422
- * Enforce the use of `u` or `v` flag on RegExp
1421
+ * Enforce the use of `u` or `v` flag on regular expressions
1423
1422
  * @see https://eslint.org/docs/latest/rules/require-unicode-regexp
1424
1423
  */
1425
1424
  "require-unicode-regexp"?: Linter.RuleEntry<RequireUnicodeRegexp>;
@@ -1453,7 +1452,7 @@ interface BuiltinsRuleOptions {
1453
1452
  */
1454
1453
  "semi-style"?: Linter.RuleEntry<SemiStyle>;
1455
1454
  /**
1456
- * Enforce sorted import declarations within modules
1455
+ * Enforce sorted `import` declarations within modules
1457
1456
  * @see https://eslint.org/docs/latest/rules/sort-imports
1458
1457
  */
1459
1458
  "sort-imports"?: Linter.RuleEntry<SortImports>;
@@ -3981,6 +3980,7 @@ type SortKeys =
3981
3980
  natural?: boolean;
3982
3981
  minKeys?: number;
3983
3982
  allowLineSeparatedGroups?: boolean;
3983
+ ignoreComputedKeys?: boolean;
3984
3984
  },
3985
3985
  ];
3986
3986
  // ----- sort-vars -----
@@ -4350,233 +4350,233 @@ interface IgnoresRuleOptions {}
4350
4350
  interface ImportsRuleOptions {
4351
4351
  /**
4352
4352
  * Enforce or ban the use of inline type-only markers for named imports.
4353
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/consistent-type-specifier-style.md
4353
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/consistent-type-specifier-style.md
4354
4354
  */
4355
4355
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle$1>;
4356
4356
  /**
4357
4357
  * Ensure a default export is present, given a default import.
4358
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/default.md
4358
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/default.md
4359
4359
  */
4360
4360
  "import/default"?: Linter.RuleEntry<[]>;
4361
4361
  /**
4362
4362
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
4363
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/dynamic-import-chunkname.md
4363
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/dynamic-import-chunkname.md
4364
4364
  */
4365
4365
  "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname$1>;
4366
4366
  /**
4367
4367
  * Forbid any invalid exports, i.e. re-export of the same name.
4368
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/export.md
4368
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/export.md
4369
4369
  */
4370
4370
  "import/export"?: Linter.RuleEntry<[]>;
4371
4371
  /**
4372
4372
  * Ensure all exports appear after other statements.
4373
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/exports-last.md
4373
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/exports-last.md
4374
4374
  */
4375
4375
  "import/exports-last"?: Linter.RuleEntry<[]>;
4376
4376
  /**
4377
4377
  * Ensure consistent use of file extension within the import path.
4378
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/extensions.md
4378
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/extensions.md
4379
4379
  */
4380
4380
  "import/extensions"?: Linter.RuleEntry<ImportExtensions$1>;
4381
4381
  /**
4382
4382
  * Ensure all imports appear before other statements.
4383
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/first.md
4383
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/first.md
4384
4384
  */
4385
4385
  "import/first"?: Linter.RuleEntry<ImportFirst$1>;
4386
4386
  /**
4387
4387
  * Prefer named exports to be grouped together in a single export declaration.
4388
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/group-exports.md
4388
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/group-exports.md
4389
4389
  */
4390
4390
  "import/group-exports"?: Linter.RuleEntry<[]>;
4391
4391
  /**
4392
4392
  * Replaced by `import-x/first`.
4393
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/imports-first.md
4393
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/imports-first.md
4394
4394
  * @deprecated
4395
4395
  */
4396
4396
  "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst$1>;
4397
4397
  /**
4398
4398
  * Enforce the maximum number of dependencies a module can have.
4399
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/max-dependencies.md
4399
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/max-dependencies.md
4400
4400
  */
4401
4401
  "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies$1>;
4402
4402
  /**
4403
4403
  * Ensure named imports correspond to a named export in the remote file.
4404
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/named.md
4404
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/named.md
4405
4405
  */
4406
4406
  "import/named"?: Linter.RuleEntry<ImportNamed$1>;
4407
4407
  /**
4408
4408
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
4409
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/namespace.md
4409
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/namespace.md
4410
4410
  */
4411
4411
  "import/namespace"?: Linter.RuleEntry<ImportNamespace$1>;
4412
4412
  /**
4413
4413
  * Enforce a newline after import statements.
4414
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/newline-after-import.md
4414
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/newline-after-import.md
4415
4415
  */
4416
4416
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport$1>;
4417
4417
  /**
4418
4418
  * Forbid import of modules using absolute paths.
4419
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-absolute-path.md
4419
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-absolute-path.md
4420
4420
  */
4421
4421
  "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath$1>;
4422
4422
  /**
4423
4423
  * Forbid AMD `require` and `define` calls.
4424
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-amd.md
4424
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-amd.md
4425
4425
  */
4426
4426
  "import/no-amd"?: Linter.RuleEntry<[]>;
4427
4427
  /**
4428
4428
  * Forbid anonymous values as default exports.
4429
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-anonymous-default-export.md
4429
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-anonymous-default-export.md
4430
4430
  */
4431
4431
  "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport$1>;
4432
4432
  /**
4433
4433
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
4434
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-commonjs.md
4434
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-commonjs.md
4435
4435
  */
4436
4436
  "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs$1>;
4437
4437
  /**
4438
4438
  * Forbid a module from importing a module with a dependency path back to itself.
4439
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-cycle.md
4439
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-cycle.md
4440
4440
  */
4441
4441
  "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle$1>;
4442
4442
  /**
4443
4443
  * Forbid default exports.
4444
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-default-export.md
4444
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-default-export.md
4445
4445
  */
4446
4446
  "import/no-default-export"?: Linter.RuleEntry<[]>;
4447
4447
  /**
4448
4448
  * Forbid imported names marked with `@deprecated` documentation tag.
4449
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-deprecated.md
4449
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-deprecated.md
4450
4450
  */
4451
4451
  "import/no-deprecated"?: Linter.RuleEntry<[]>;
4452
4452
  /**
4453
4453
  * Forbid repeated import of the same module in multiple places.
4454
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-duplicates.md
4454
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-duplicates.md
4455
4455
  */
4456
4456
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates$1>;
4457
4457
  /**
4458
4458
  * Forbid `require()` calls with expressions.
4459
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-dynamic-require.md
4459
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-dynamic-require.md
4460
4460
  */
4461
4461
  "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire$1>;
4462
4462
  /**
4463
4463
  * Forbid empty named import blocks.
4464
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-empty-named-blocks.md
4464
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-empty-named-blocks.md
4465
4465
  */
4466
4466
  "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
4467
4467
  /**
4468
4468
  * Forbid the use of extraneous packages.
4469
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-extraneous-dependencies.md
4469
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-extraneous-dependencies.md
4470
4470
  */
4471
4471
  "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies$1>;
4472
4472
  /**
4473
4473
  * Forbid import statements with CommonJS module.exports.
4474
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-import-module-exports.md
4474
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-import-module-exports.md
4475
4475
  */
4476
4476
  "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports$1>;
4477
4477
  /**
4478
4478
  * Forbid importing the submodules of other modules.
4479
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-internal-modules.md
4479
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-internal-modules.md
4480
4480
  */
4481
4481
  "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules$1>;
4482
4482
  /**
4483
4483
  * Forbid the use of mutable exports with `var` or `let`.
4484
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-mutable-exports.md
4484
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-mutable-exports.md
4485
4485
  */
4486
4486
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
4487
4487
  /**
4488
4488
  * Forbid use of exported name as identifier of default export.
4489
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-as-default.md
4489
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default.md
4490
4490
  */
4491
4491
  "import/no-named-as-default"?: Linter.RuleEntry<[]>;
4492
4492
  /**
4493
4493
  * Forbid use of exported name as property of default export.
4494
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-as-default-member.md
4494
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default-member.md
4495
4495
  */
4496
4496
  "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
4497
4497
  /**
4498
4498
  * Forbid named default exports.
4499
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-default.md
4499
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-default.md
4500
4500
  */
4501
4501
  "import/no-named-default"?: Linter.RuleEntry<[]>;
4502
4502
  /**
4503
4503
  * Forbid named exports.
4504
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-export.md
4504
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-export.md
4505
4505
  */
4506
4506
  "import/no-named-export"?: Linter.RuleEntry<[]>;
4507
4507
  /**
4508
4508
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
4509
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-namespace.md
4509
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-namespace.md
4510
4510
  */
4511
4511
  "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace$1>;
4512
4512
  /**
4513
4513
  * Forbid Node.js builtin modules.
4514
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-nodejs-modules.md
4514
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-nodejs-modules.md
4515
4515
  */
4516
4516
  "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules$1>;
4517
4517
  /**
4518
4518
  * Forbid importing packages through relative paths.
4519
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-relative-packages.md
4519
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-packages.md
4520
4520
  */
4521
4521
  "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages$1>;
4522
4522
  /**
4523
4523
  * Forbid importing modules from parent directories.
4524
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-relative-parent-imports.md
4524
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-parent-imports.md
4525
4525
  */
4526
4526
  "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports$1>;
4527
4527
  /**
4528
4528
  * Forbid importing a default export by a different name.
4529
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-rename-default.md
4529
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-rename-default.md
4530
4530
  */
4531
4531
  "import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault$1>;
4532
4532
  /**
4533
4533
  * Enforce which files can be imported in a given folder.
4534
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-restricted-paths.md
4534
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-restricted-paths.md
4535
4535
  */
4536
4536
  "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths$1>;
4537
4537
  /**
4538
4538
  * Forbid a module from importing itself.
4539
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-self-import.md
4539
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-self-import.md
4540
4540
  */
4541
4541
  "import/no-self-import"?: Linter.RuleEntry<[]>;
4542
4542
  /**
4543
4543
  * Forbid unassigned imports.
4544
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unassigned-import.md
4544
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unassigned-import.md
4545
4545
  */
4546
4546
  "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport$1>;
4547
4547
  /**
4548
4548
  * Ensure imports point to a file/module that can be resolved.
4549
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unresolved.md
4549
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unresolved.md
4550
4550
  */
4551
4551
  "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved$1>;
4552
4552
  /**
4553
4553
  * Forbid modules without exports, or exports without matching import in another module.
4554
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unused-modules.md
4554
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unused-modules.md
4555
4555
  */
4556
4556
  "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules$1>;
4557
4557
  /**
4558
4558
  * Forbid unnecessary path segments in import and require statements.
4559
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-useless-path-segments.md
4559
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-useless-path-segments.md
4560
4560
  */
4561
4561
  "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments$1>;
4562
4562
  /**
4563
4563
  * Forbid webpack loader syntax in imports.
4564
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-webpack-loader-syntax.md
4564
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-webpack-loader-syntax.md
4565
4565
  */
4566
4566
  "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
4567
4567
  /**
4568
4568
  * Enforce a convention in module import order.
4569
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/order.md
4569
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/order.md
4570
4570
  */
4571
4571
  "import/order"?: Linter.RuleEntry<ImportOrder$1>;
4572
4572
  /**
4573
4573
  * Prefer a default export if module exports a single name or multiple names.
4574
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/prefer-default-export.md
4574
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/prefer-default-export.md
4575
4575
  */
4576
4576
  "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport$1>;
4577
4577
  /**
4578
4578
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
4579
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/unambiguous.md
4579
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/unambiguous.md
4580
4580
  */
4581
4581
  "import/unambiguous"?: Linter.RuleEntry<[]>;
4582
4582
  }
@@ -9974,37 +9974,93 @@ interface PerfectionistRuleOptions {
9974
9974
 
9975
9975
  /* ======= Declarations ======= */
9976
9976
  // ----- perfectionist/sort-array-includes -----
9977
- type PerfectionistSortArrayIncludes =
9978
- | []
9979
- | [
9980
- {
9981
- partitionByComment?: string[] | boolean | string;
9977
+ type PerfectionistSortArrayIncludes = {
9978
+ specialCharacters?: "remove" | "trim" | "keep";
9982
9979
 
9983
- groupKind?: "mixed" | "literals-first" | "spreads-first";
9980
+ ignoreCase?: boolean;
9984
9981
 
9985
- partitionByNewLine?: boolean;
9982
+ alphabet?: string;
9986
9983
 
9987
- specialCharacters?: "remove" | "trim" | "keep";
9984
+ locales?: string | string[];
9988
9985
 
9989
- ignoreCase?: boolean;
9986
+ order?: "asc" | "desc";
9990
9987
 
9991
- alphabet?: string;
9988
+ groupKind?: "mixed" | "literals-first" | "spreads-first";
9992
9989
 
9993
- locales?: string | string[];
9990
+ customGroups?: (
9991
+ | {
9992
+ groupName?: string;
9994
9993
 
9995
- order?: "asc" | "desc";
9994
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
9996
9995
 
9997
- type?: "alphabetical" | "natural" | "line-length" | "custom";
9998
- },
9999
- ];
9996
+ order?: "desc" | "asc";
9997
+
9998
+ newlinesInside?: "always" | "never";
9999
+ anyOf?: {
10000
+ selector?: "literal" | "spread";
10001
+
10002
+ elementNamePattern?: string;
10003
+ }[];
10004
+ }
10005
+ | {
10006
+ groupName?: string;
10007
+
10008
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10009
+
10010
+ order?: "desc" | "asc";
10011
+
10012
+ newlinesInside?: "always" | "never";
10013
+
10014
+ selector?: "literal" | "spread";
10015
+
10016
+ elementNamePattern?: string;
10017
+ }
10018
+ )[];
10019
+ useConfigurationIf?: {
10020
+ allNamesMatchPattern?: string;
10021
+ };
10022
+
10023
+ type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
10024
+
10025
+ partitionByComment?:
10026
+ | string[]
10027
+ | boolean
10028
+ | string
10029
+ | {
10030
+ block?: string[] | boolean | string;
10031
+ line?: string[] | boolean | string;
10032
+ [k: string]: unknown | undefined;
10033
+ };
10034
+
10035
+ partitionByNewLine?: boolean;
10036
+
10037
+ newlinesBetween?: "ignore" | "always" | "never";
10038
+
10039
+ groups?: (
10040
+ | string
10041
+ | string[]
10042
+ | {
10043
+ newlinesBetween?: "ignore" | "always" | "never";
10044
+ [k: string]: unknown | undefined;
10045
+ }
10046
+ )[];
10047
+ }[];
10000
10048
  // ----- perfectionist/sort-classes -----
10001
10049
  type PerfectionistSortClasses =
10002
10050
  | []
10003
10051
  | [
10004
10052
  {
10005
- ignoreCallbackDependenciesPatterns?: string[];
10053
+ specialCharacters?: "remove" | "trim" | "keep";
10006
10054
 
10007
- partitionByComment?: string[] | boolean | string;
10055
+ ignoreCase?: boolean;
10056
+
10057
+ alphabet?: string;
10058
+
10059
+ locales?: string | string[];
10060
+
10061
+ order?: "asc" | "desc";
10062
+
10063
+ ignoreCallbackDependenciesPatterns?: string[];
10008
10064
 
10009
10065
  customGroups?: (
10010
10066
  | {
@@ -10013,9 +10069,9 @@ type PerfectionistSortClasses =
10013
10069
  type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10014
10070
 
10015
10071
  order?: "desc" | "asc";
10016
- anyOf?: {
10017
- elementValuePattern?: string;
10018
10072
 
10073
+ newlinesInside?: "always" | "never";
10074
+ anyOf?: {
10019
10075
  decoratorNamePattern?: string;
10020
10076
 
10021
10077
  modifiers?: (
@@ -10043,6 +10099,8 @@ type PerfectionistSortClasses =
10043
10099
  | "property"
10044
10100
  | "method";
10045
10101
 
10102
+ elementValuePattern?: string;
10103
+
10046
10104
  elementNamePattern?: string;
10047
10105
  }[];
10048
10106
  }
@@ -10053,7 +10111,7 @@ type PerfectionistSortClasses =
10053
10111
 
10054
10112
  order?: "desc" | "asc";
10055
10113
 
10056
- elementValuePattern?: string;
10114
+ newlinesInside?: "always" | "never";
10057
10115
 
10058
10116
  decoratorNamePattern?: string;
10059
10117
 
@@ -10082,27 +10140,36 @@ type PerfectionistSortClasses =
10082
10140
  | "property"
10083
10141
  | "method";
10084
10142
 
10143
+ elementValuePattern?: string;
10144
+
10085
10145
  elementNamePattern?: string;
10086
10146
  }
10087
10147
  )[];
10088
10148
 
10089
- partitionByNewLine?: boolean;
10149
+ partitionByComment?:
10150
+ | string[]
10151
+ | boolean
10152
+ | string
10153
+ | {
10154
+ block?: string[] | boolean | string;
10155
+ line?: string[] | boolean | string;
10156
+ [k: string]: unknown | undefined;
10157
+ };
10090
10158
 
10091
- specialCharacters?: "remove" | "trim" | "keep";
10159
+ partitionByNewLine?: boolean;
10092
10160
 
10093
10161
  newlinesBetween?: "ignore" | "always" | "never";
10094
10162
 
10095
- ignoreCase?: boolean;
10096
-
10097
- alphabet?: string;
10098
-
10099
- locales?: string | string[];
10100
-
10101
- groups?: (string | string[])[];
10102
-
10103
- order?: "asc" | "desc";
10104
-
10105
10163
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10164
+
10165
+ groups?: (
10166
+ | string
10167
+ | string[]
10168
+ | {
10169
+ newlinesBetween?: "ignore" | "always" | "never";
10170
+ [k: string]: unknown | undefined;
10171
+ }
10172
+ )[];
10106
10173
  },
10107
10174
  ];
10108
10175
  // ----- perfectionist/sort-decorators -----
@@ -10110,7 +10177,15 @@ type PerfectionistSortDecorators =
10110
10177
  | []
10111
10178
  | [
10112
10179
  {
10113
- partitionByComment?: string[] | boolean | string;
10180
+ specialCharacters?: "remove" | "trim" | "keep";
10181
+
10182
+ ignoreCase?: boolean;
10183
+
10184
+ alphabet?: string;
10185
+
10186
+ locales?: string | string[];
10187
+
10188
+ order?: "asc" | "desc";
10114
10189
 
10115
10190
  sortOnParameters?: boolean;
10116
10191
 
@@ -10122,23 +10197,30 @@ type PerfectionistSortDecorators =
10122
10197
 
10123
10198
  sortOnClasses?: boolean;
10124
10199
 
10125
- specialCharacters?: "remove" | "trim" | "keep";
10200
+ partitionByComment?:
10201
+ | string[]
10202
+ | boolean
10203
+ | string
10204
+ | {
10205
+ block?: string[] | boolean | string;
10206
+ line?: string[] | boolean | string;
10207
+ [k: string]: unknown | undefined;
10208
+ };
10126
10209
 
10127
10210
  customGroups?: {
10128
10211
  [k: string]: (string | string[]) | undefined;
10129
10212
  };
10130
10213
 
10131
- ignoreCase?: boolean;
10132
-
10133
- alphabet?: string;
10134
-
10135
- locales?: string | string[];
10136
-
10137
- groups?: (string | string[])[];
10138
-
10139
- order?: "asc" | "desc";
10140
-
10141
10214
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10215
+
10216
+ groups?: (
10217
+ | string
10218
+ | string[]
10219
+ | {
10220
+ newlinesBetween?: "ignore" | "always" | "never";
10221
+ [k: string]: unknown | undefined;
10222
+ }
10223
+ )[];
10142
10224
  },
10143
10225
  ];
10144
10226
  // ----- perfectionist/sort-enums -----
@@ -10146,14 +10228,6 @@ type PerfectionistSortEnums =
10146
10228
  | []
10147
10229
  | [
10148
10230
  {
10149
- partitionByComment?: string[] | boolean | string;
10150
-
10151
- forceNumericSort?: boolean;
10152
-
10153
- sortByValue?: boolean;
10154
-
10155
- partitionByNewLine?: boolean;
10156
-
10157
10231
  specialCharacters?: "remove" | "trim" | "keep";
10158
10232
 
10159
10233
  ignoreCase?: boolean;
@@ -10164,6 +10238,22 @@ type PerfectionistSortEnums =
10164
10238
 
10165
10239
  order?: "asc" | "desc";
10166
10240
 
10241
+ forceNumericSort?: boolean;
10242
+
10243
+ sortByValue?: boolean;
10244
+
10245
+ partitionByComment?:
10246
+ | string[]
10247
+ | boolean
10248
+ | string
10249
+ | {
10250
+ block?: string[] | boolean | string;
10251
+ line?: string[] | boolean | string;
10252
+ [k: string]: unknown | undefined;
10253
+ };
10254
+
10255
+ partitionByNewLine?: boolean;
10256
+
10167
10257
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10168
10258
  },
10169
10259
  ];
@@ -10172,12 +10262,6 @@ type PerfectionistSortExports =
10172
10262
  | []
10173
10263
  | [
10174
10264
  {
10175
- partitionByComment?: string[] | boolean | string;
10176
-
10177
- groupKind?: "mixed" | "values-first" | "types-first";
10178
-
10179
- partitionByNewLine?: boolean;
10180
-
10181
10265
  specialCharacters?: "remove" | "trim" | "keep";
10182
10266
 
10183
10267
  ignoreCase?: boolean;
@@ -10188,6 +10272,20 @@ type PerfectionistSortExports =
10188
10272
 
10189
10273
  order?: "asc" | "desc";
10190
10274
 
10275
+ groupKind?: "mixed" | "values-first" | "types-first";
10276
+
10277
+ partitionByComment?:
10278
+ | string[]
10279
+ | boolean
10280
+ | string
10281
+ | {
10282
+ block?: string[] | boolean | string;
10283
+ line?: string[] | boolean | string;
10284
+ [k: string]: unknown | undefined;
10285
+ };
10286
+
10287
+ partitionByNewLine?: boolean;
10288
+
10191
10289
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10192
10290
  },
10193
10291
  ];
@@ -10198,27 +10296,44 @@ type PerfectionistSortHeritageClauses =
10198
10296
  {
10199
10297
  specialCharacters?: "remove" | "trim" | "keep";
10200
10298
 
10201
- customGroups?: {
10202
- [k: string]: (string | string[]) | undefined;
10203
- };
10204
-
10205
10299
  ignoreCase?: boolean;
10206
10300
 
10207
10301
  alphabet?: string;
10208
10302
 
10209
10303
  locales?: string | string[];
10210
10304
 
10211
- groups?: (string | string[])[];
10212
-
10213
10305
  order?: "asc" | "desc";
10214
10306
 
10307
+ customGroups?: {
10308
+ [k: string]: (string | string[]) | undefined;
10309
+ };
10310
+
10215
10311
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10312
+
10313
+ groups?: (
10314
+ | string
10315
+ | string[]
10316
+ | {
10317
+ newlinesBetween?: "ignore" | "always" | "never";
10318
+ [k: string]: unknown | undefined;
10319
+ }
10320
+ )[];
10216
10321
  },
10217
10322
  ];
10218
10323
  // ----- perfectionist/sort-imports -----
10219
10324
  type PerfectionistSortImports = [] | [_PerfectionistSortImportsSortImports];
10220
10325
  type _PerfectionistSortImportsSortImports =
10221
10326
  _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
10327
+ specialCharacters?: "remove" | "trim" | "keep";
10328
+
10329
+ ignoreCase?: boolean;
10330
+
10331
+ alphabet?: string;
10332
+
10333
+ locales?: string | string[];
10334
+
10335
+ order?: "asc" | "desc";
10336
+
10222
10337
  customGroups?: {
10223
10338
  value?: {
10224
10339
  [k: string]: unknown | undefined;
@@ -10229,8 +10344,6 @@ type _PerfectionistSortImportsSortImports =
10229
10344
  };
10230
10345
  };
10231
10346
 
10232
- partitionByComment?: string[] | boolean | string;
10233
-
10234
10347
  internalPattern?: string[];
10235
10348
 
10236
10349
  maxLineLength?: number;
@@ -10241,23 +10354,30 @@ type _PerfectionistSortImportsSortImports =
10241
10354
 
10242
10355
  tsconfigRootDir?: string;
10243
10356
 
10244
- partitionByNewLine?: boolean;
10357
+ partitionByComment?:
10358
+ | string[]
10359
+ | boolean
10360
+ | string
10361
+ | {
10362
+ block?: string[] | boolean | string;
10363
+ line?: string[] | boolean | string;
10364
+ [k: string]: unknown | undefined;
10365
+ };
10245
10366
 
10246
- specialCharacters?: "remove" | "trim" | "keep";
10367
+ partitionByNewLine?: boolean;
10247
10368
 
10248
10369
  newlinesBetween?: "ignore" | "always" | "never";
10249
10370
 
10250
- ignoreCase?: boolean;
10251
-
10252
- alphabet?: string;
10253
-
10254
- locales?: string | string[];
10255
-
10256
- groups?: (string | string[])[];
10257
-
10258
- order?: "asc" | "desc";
10259
-
10260
10371
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10372
+
10373
+ groups?: (
10374
+ | string
10375
+ | string[]
10376
+ | {
10377
+ newlinesBetween?: "ignore" | "always" | "never";
10378
+ [k: string]: unknown | undefined;
10379
+ }
10380
+ )[];
10261
10381
  };
10262
10382
  type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType =
10263
10383
  | {
@@ -10269,110 +10389,136 @@ interface _PerfectionistSortImports_IsLineLength {
10269
10389
  [k: string]: unknown | undefined;
10270
10390
  }
10271
10391
  // ----- perfectionist/sort-interfaces -----
10272
- type PerfectionistSortInterfaces =
10273
- | []
10274
- | [
10275
- {
10276
- ignorePattern?: string[];
10392
+ type PerfectionistSortInterfaces = {
10393
+ specialCharacters?: "remove" | "trim" | "keep";
10277
10394
 
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;
10395
+ ignoreCase?: boolean;
10309
10396
 
10310
- type?:
10311
- | "alphabetical"
10312
- | "line-length"
10313
- | "natural"
10314
- | "unsorted";
10397
+ alphabet?: string;
10315
10398
 
10316
- order?: "desc" | "asc";
10399
+ locales?: string | string[];
10317
10400
 
10318
- modifiers?: ("optional" | "required" | "multiline")[];
10401
+ order?: "asc" | "desc";
10319
10402
 
10320
- selector?:
10321
- | "index-signature"
10322
- | "member"
10323
- | "method"
10324
- | "multiline"
10325
- | "property";
10403
+ ignorePattern?: string[];
10404
+ useConfigurationIf?: {
10405
+ allNamesMatchPattern?: string;
10406
+ declarationMatchesPattern?: string;
10407
+ };
10408
+ customGroups?:
10409
+ | {
10410
+ [k: string]: (string | string[]) | undefined;
10411
+ }
10412
+ | (
10413
+ | {
10414
+ groupName?: string;
10326
10415
 
10327
- elementNamePattern?: string;
10328
- }
10329
- )[];
10416
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10330
10417
 
10331
- groupKind?: "mixed" | "required-first" | "optional-first";
10418
+ order?: "desc" | "asc";
10332
10419
 
10333
- partitionByNewLine?: boolean;
10420
+ newlinesInside?: "always" | "never";
10421
+ anyOf?: {
10422
+ modifiers?: ("optional" | "required" | "multiline")[];
10334
10423
 
10335
- specialCharacters?: "remove" | "trim" | "keep";
10424
+ selector?:
10425
+ | "index-signature"
10426
+ | "member"
10427
+ | "method"
10428
+ | "multiline"
10429
+ | "property";
10336
10430
 
10337
- newlinesBetween?: "ignore" | "always" | "never";
10431
+ elementNamePattern?: string;
10432
+ }[];
10433
+ }
10434
+ | {
10435
+ groupName?: string;
10338
10436
 
10339
- ignoreCase?: boolean;
10437
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10340
10438
 
10341
- alphabet?: string;
10439
+ order?: "desc" | "asc";
10342
10440
 
10343
- locales?: string | string[];
10441
+ newlinesInside?: "always" | "never";
10344
10442
 
10345
- groups?: (string | string[])[];
10443
+ modifiers?: ("optional" | "required" | "multiline")[];
10346
10444
 
10347
- order?: "asc" | "desc";
10445
+ selector?:
10446
+ | "index-signature"
10447
+ | "member"
10448
+ | "method"
10449
+ | "multiline"
10450
+ | "property";
10348
10451
 
10349
- type?: "alphabetical" | "natural" | "line-length" | "custom";
10350
- },
10351
- ];
10452
+ elementNamePattern?: string;
10453
+ }
10454
+ )[];
10455
+
10456
+ groupKind?: "mixed" | "required-first" | "optional-first";
10457
+
10458
+ type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
10459
+
10460
+ partitionByComment?:
10461
+ | string[]
10462
+ | boolean
10463
+ | string
10464
+ | {
10465
+ block?: string[] | boolean | string;
10466
+ line?: string[] | boolean | string;
10467
+ [k: string]: unknown | undefined;
10468
+ };
10469
+
10470
+ partitionByNewLine?: boolean;
10471
+
10472
+ newlinesBetween?: "ignore" | "always" | "never";
10473
+
10474
+ groups?: (
10475
+ | string
10476
+ | string[]
10477
+ | {
10478
+ newlinesBetween?: "ignore" | "always" | "never";
10479
+ [k: string]: unknown | undefined;
10480
+ }
10481
+ )[];
10482
+ }[];
10352
10483
  // ----- perfectionist/sort-intersection-types -----
10353
10484
  type PerfectionistSortIntersectionTypes =
10354
10485
  | []
10355
10486
  | [
10356
10487
  {
10357
- partitionByComment?: string[] | boolean | string;
10358
-
10359
- partitionByNewLine?: boolean;
10360
-
10361
10488
  specialCharacters?: "remove" | "trim" | "keep";
10362
10489
 
10363
- newlinesBetween?: "ignore" | "always" | "never";
10364
-
10365
10490
  ignoreCase?: boolean;
10366
10491
 
10367
10492
  alphabet?: string;
10368
10493
 
10369
10494
  locales?: string | string[];
10370
10495
 
10371
- groups?: (string | string[])[];
10372
-
10373
10496
  order?: "asc" | "desc";
10374
10497
 
10498
+ partitionByComment?:
10499
+ | string[]
10500
+ | boolean
10501
+ | string
10502
+ | {
10503
+ block?: string[] | boolean | string;
10504
+ line?: string[] | boolean | string;
10505
+ [k: string]: unknown | undefined;
10506
+ };
10507
+
10508
+ partitionByNewLine?: boolean;
10509
+
10510
+ newlinesBetween?: "ignore" | "always" | "never";
10511
+
10375
10512
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10513
+
10514
+ groups?: (
10515
+ | string
10516
+ | string[]
10517
+ | {
10518
+ newlinesBetween?: "ignore" | "always" | "never";
10519
+ [k: string]: unknown | undefined;
10520
+ }
10521
+ )[];
10376
10522
  },
10377
10523
  ];
10378
10524
  // ----- perfectionist/sort-jsx-props -----
@@ -10380,55 +10526,118 @@ type PerfectionistSortJsxProps =
10380
10526
  | []
10381
10527
  | [
10382
10528
  {
10383
- ignorePattern?: string[];
10384
-
10385
10529
  specialCharacters?: "remove" | "trim" | "keep";
10386
10530
 
10387
- customGroups?: {
10388
- [k: string]: (string | string[]) | undefined;
10389
- };
10390
-
10391
10531
  ignoreCase?: boolean;
10392
10532
 
10393
10533
  alphabet?: string;
10394
10534
 
10395
10535
  locales?: string | string[];
10396
10536
 
10397
- groups?: (string | string[])[];
10398
-
10399
10537
  order?: "asc" | "desc";
10400
10538
 
10539
+ ignorePattern?: string[];
10540
+
10541
+ partitionByNewLine?: boolean;
10542
+
10543
+ newlinesBetween?: "ignore" | "always" | "never";
10544
+
10545
+ customGroups?: {
10546
+ [k: string]: (string | string[]) | undefined;
10547
+ };
10548
+
10401
10549
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10550
+
10551
+ groups?: (
10552
+ | string
10553
+ | string[]
10554
+ | {
10555
+ newlinesBetween?: "ignore" | "always" | "never";
10556
+ [k: string]: unknown | undefined;
10557
+ }
10558
+ )[];
10402
10559
  },
10403
10560
  ];
10404
10561
  // ----- perfectionist/sort-maps -----
10405
- type PerfectionistSortMaps =
10406
- | []
10407
- | [
10408
- {
10409
- partitionByComment?: string[] | boolean | string;
10562
+ type PerfectionistSortMaps = {
10563
+ specialCharacters?: "remove" | "trim" | "keep";
10410
10564
 
10411
- partitionByNewLine?: boolean;
10565
+ ignoreCase?: boolean;
10412
10566
 
10413
- specialCharacters?: "remove" | "trim" | "keep";
10567
+ alphabet?: string;
10414
10568
 
10415
- ignoreCase?: boolean;
10569
+ locales?: string | string[];
10416
10570
 
10417
- alphabet?: string;
10571
+ order?: "asc" | "desc";
10418
10572
 
10419
- locales?: string | string[];
10573
+ customGroups?: (
10574
+ | {
10575
+ groupName?: string;
10420
10576
 
10421
- order?: "asc" | "desc";
10577
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10422
10578
 
10423
- type?: "alphabetical" | "natural" | "line-length" | "custom";
10424
- },
10425
- ];
10579
+ order?: "desc" | "asc";
10580
+
10581
+ newlinesInside?: "always" | "never";
10582
+ anyOf?: {
10583
+ elementNamePattern?: string;
10584
+ }[];
10585
+ }
10586
+ | {
10587
+ groupName?: string;
10588
+
10589
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10590
+
10591
+ order?: "desc" | "asc";
10592
+
10593
+ newlinesInside?: "always" | "never";
10594
+
10595
+ elementNamePattern?: string;
10596
+ }
10597
+ )[];
10598
+ useConfigurationIf?: {
10599
+ allNamesMatchPattern?: string;
10600
+ };
10601
+
10602
+ partitionByComment?:
10603
+ | string[]
10604
+ | boolean
10605
+ | string
10606
+ | {
10607
+ block?: string[] | boolean | string;
10608
+ line?: string[] | boolean | string;
10609
+ [k: string]: unknown | undefined;
10610
+ };
10611
+
10612
+ partitionByNewLine?: boolean;
10613
+
10614
+ newlinesBetween?: "ignore" | "always" | "never";
10615
+
10616
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10617
+
10618
+ groups?: (
10619
+ | string
10620
+ | string[]
10621
+ | {
10622
+ newlinesBetween?: "ignore" | "always" | "never";
10623
+ [k: string]: unknown | undefined;
10624
+ }
10625
+ )[];
10626
+ }[];
10426
10627
  // ----- perfectionist/sort-modules -----
10427
10628
  type PerfectionistSortModules =
10428
10629
  | []
10429
10630
  | [
10430
10631
  {
10431
- partitionByComment?: string[] | boolean | string;
10632
+ specialCharacters?: "remove" | "trim" | "keep";
10633
+
10634
+ ignoreCase?: boolean;
10635
+
10636
+ alphabet?: string;
10637
+
10638
+ locales?: string | string[];
10639
+
10640
+ order?: "asc" | "desc";
10432
10641
 
10433
10642
  customGroups?: (
10434
10643
  | {
@@ -10437,6 +10646,8 @@ type PerfectionistSortModules =
10437
10646
  type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10438
10647
 
10439
10648
  order?: "desc" | "asc";
10649
+
10650
+ newlinesInside?: "always" | "never";
10440
10651
  anyOf?: {
10441
10652
  decoratorNamePattern?: string;
10442
10653
 
@@ -10460,6 +10671,8 @@ type PerfectionistSortModules =
10460
10671
 
10461
10672
  order?: "desc" | "asc";
10462
10673
 
10674
+ newlinesInside?: "always" | "never";
10675
+
10463
10676
  decoratorNamePattern?: string;
10464
10677
 
10465
10678
  modifiers?: (
@@ -10476,23 +10689,30 @@ type PerfectionistSortModules =
10476
10689
  }
10477
10690
  )[];
10478
10691
 
10479
- partitionByNewLine?: boolean;
10692
+ partitionByComment?:
10693
+ | string[]
10694
+ | boolean
10695
+ | string
10696
+ | {
10697
+ block?: string[] | boolean | string;
10698
+ line?: string[] | boolean | string;
10699
+ [k: string]: unknown | undefined;
10700
+ };
10480
10701
 
10481
- specialCharacters?: "remove" | "trim" | "keep";
10702
+ partitionByNewLine?: boolean;
10482
10703
 
10483
10704
  newlinesBetween?: "ignore" | "always" | "never";
10484
10705
 
10485
- ignoreCase?: boolean;
10486
-
10487
- alphabet?: string;
10488
-
10489
- locales?: string | string[];
10490
-
10491
- groups?: (string | string[])[];
10492
-
10493
- order?: "asc" | "desc";
10494
-
10495
10706
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10707
+
10708
+ groups?: (
10709
+ | string
10710
+ | string[]
10711
+ | {
10712
+ newlinesBetween?: "ignore" | "always" | "never";
10713
+ [k: string]: unknown | undefined;
10714
+ }
10715
+ )[];
10496
10716
  },
10497
10717
  ];
10498
10718
  // ----- perfectionist/sort-named-exports -----
@@ -10500,12 +10720,6 @@ type PerfectionistSortNamedExports =
10500
10720
  | []
10501
10721
  | [
10502
10722
  {
10503
- partitionByComment?: string[] | boolean | string;
10504
-
10505
- groupKind?: "mixed" | "values-first" | "types-first";
10506
-
10507
- partitionByNewLine?: boolean;
10508
-
10509
10723
  specialCharacters?: "remove" | "trim" | "keep";
10510
10724
 
10511
10725
  ignoreCase?: boolean;
@@ -10516,6 +10730,20 @@ type PerfectionistSortNamedExports =
10516
10730
 
10517
10731
  order?: "asc" | "desc";
10518
10732
 
10733
+ groupKind?: "mixed" | "values-first" | "types-first";
10734
+
10735
+ partitionByComment?:
10736
+ | string[]
10737
+ | boolean
10738
+ | string
10739
+ | {
10740
+ block?: string[] | boolean | string;
10741
+ line?: string[] | boolean | string;
10742
+ [k: string]: unknown | undefined;
10743
+ };
10744
+
10745
+ partitionByNewLine?: boolean;
10746
+
10519
10747
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10520
10748
  },
10521
10749
  ];
@@ -10524,14 +10752,6 @@ type PerfectionistSortNamedImports =
10524
10752
  | []
10525
10753
  | [
10526
10754
  {
10527
- partitionByComment?: string[] | boolean | string;
10528
-
10529
- groupKind?: "mixed" | "values-first" | "types-first";
10530
-
10531
- ignoreAlias?: boolean;
10532
-
10533
- partitionByNewLine?: boolean;
10534
-
10535
10755
  specialCharacters?: "remove" | "trim" | "keep";
10536
10756
 
10537
10757
  ignoreCase?: boolean;
@@ -10542,101 +10762,181 @@ type PerfectionistSortNamedImports =
10542
10762
 
10543
10763
  order?: "asc" | "desc";
10544
10764
 
10765
+ groupKind?: "mixed" | "values-first" | "types-first";
10766
+
10767
+ ignoreAlias?: boolean;
10768
+
10769
+ partitionByComment?:
10770
+ | string[]
10771
+ | boolean
10772
+ | string
10773
+ | {
10774
+ block?: string[] | boolean | string;
10775
+ line?: string[] | boolean | string;
10776
+ [k: string]: unknown | undefined;
10777
+ };
10778
+
10779
+ partitionByNewLine?: boolean;
10780
+
10545
10781
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10546
10782
  },
10547
10783
  ];
10548
10784
  // ----- perfectionist/sort-object-types -----
10549
- type PerfectionistSortObjectTypes =
10550
- | []
10551
- | [
10552
- {
10553
- ignorePattern?: string[];
10785
+ type PerfectionistSortObjectTypes = {
10786
+ specialCharacters?: "remove" | "trim" | "keep";
10554
10787
 
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;
10788
+ ignoreCase?: boolean;
10789
+
10790
+ alphabet?: string;
10791
+
10792
+ locales?: string | string[];
10793
+
10794
+ order?: "asc" | "desc";
10795
+
10796
+ ignorePattern?: string[];
10797
+ useConfigurationIf?: {
10798
+ allNamesMatchPattern?: string;
10799
+ declarationMatchesPattern?: string;
10800
+ };
10801
+ customGroups?:
10802
+ | {
10803
+ [k: string]: (string | string[]) | undefined;
10804
+ }
10805
+ | (
10806
+ | {
10807
+ groupName?: string;
10808
+
10809
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10810
+
10811
+ order?: "desc" | "asc";
10812
+
10813
+ newlinesInside?: "always" | "never";
10814
+ anyOf?: {
10815
+ modifiers?: ("optional" | "required" | "multiline")[];
10816
+
10817
+ selector?:
10818
+ | "index-signature"
10819
+ | "member"
10820
+ | "method"
10821
+ | "multiline"
10822
+ | "property";
10823
+
10824
+ elementNamePattern?: string;
10825
+ }[];
10826
+ }
10827
+ | {
10828
+ groupName?: string;
10829
+
10830
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10831
+
10832
+ order?: "desc" | "asc";
10833
+
10834
+ newlinesInside?: "always" | "never";
10586
10835
 
10587
- type?:
10588
- | "alphabetical"
10589
- | "line-length"
10590
- | "natural"
10591
- | "unsorted";
10836
+ modifiers?: ("optional" | "required" | "multiline")[];
10592
10837
 
10593
- order?: "desc" | "asc";
10838
+ selector?:
10839
+ | "index-signature"
10840
+ | "member"
10841
+ | "method"
10842
+ | "multiline"
10843
+ | "property";
10594
10844
 
10595
- modifiers?: ("optional" | "required" | "multiline")[];
10845
+ elementNamePattern?: string;
10846
+ }
10847
+ )[];
10848
+
10849
+ groupKind?: "mixed" | "required-first" | "optional-first";
10850
+
10851
+ type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
10852
+
10853
+ partitionByComment?:
10854
+ | string[]
10855
+ | boolean
10856
+ | string
10857
+ | {
10858
+ block?: string[] | boolean | string;
10859
+ line?: string[] | boolean | string;
10860
+ [k: string]: unknown | undefined;
10861
+ };
10862
+
10863
+ partitionByNewLine?: boolean;
10864
+
10865
+ newlinesBetween?: "ignore" | "always" | "never";
10866
+
10867
+ groups?: (
10868
+ | string
10869
+ | string[]
10870
+ | {
10871
+ newlinesBetween?: "ignore" | "always" | "never";
10872
+ [k: string]: unknown | undefined;
10873
+ }
10874
+ )[];
10875
+ }[];
10876
+ // ----- perfectionist/sort-objects -----
10877
+ type PerfectionistSortObjects = {
10878
+ specialCharacters?: "remove" | "trim" | "keep";
10879
+
10880
+ ignoreCase?: boolean;
10881
+
10882
+ alphabet?: string;
10883
+
10884
+ locales?: string | string[];
10885
+
10886
+ order?: "asc" | "desc";
10887
+
10888
+ destructuredObjects?:
10889
+ | boolean
10890
+ | {
10891
+ groups?: boolean;
10892
+ };
10596
10893
 
10597
- selector?:
10598
- | "index-signature"
10599
- | "member"
10600
- | "method"
10601
- | "multiline"
10602
- | "property";
10894
+ ignorePattern?: string[];
10895
+ useConfigurationIf?: {
10896
+ allNamesMatchPattern?: string;
10897
+ callingFunctionNamePattern?: string;
10898
+ };
10899
+ customGroups?:
10900
+ | {
10901
+ [k: string]: (string | string[]) | undefined;
10902
+ }
10903
+ | (
10904
+ | {
10905
+ groupName?: string;
10603
10906
 
10604
- elementNamePattern?: string;
10605
- }
10606
- )[];
10907
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10607
10908
 
10608
- groupKind?: "mixed" | "required-first" | "optional-first";
10909
+ order?: "desc" | "asc";
10609
10910
 
10610
- partitionByNewLine?: boolean;
10911
+ newlinesInside?: "always" | "never";
10912
+ anyOf?: {
10913
+ modifiers?: ("optional" | "required" | "multiline")[];
10611
10914
 
10612
- specialCharacters?: "remove" | "trim" | "keep";
10915
+ selector?: "member" | "method" | "multiline" | "property";
10613
10916
 
10614
- newlinesBetween?: "ignore" | "always" | "never";
10917
+ elementValuePattern?: string;
10615
10918
 
10616
- ignoreCase?: boolean;
10919
+ elementNamePattern?: string;
10920
+ }[];
10921
+ }
10922
+ | {
10923
+ groupName?: string;
10617
10924
 
10618
- alphabet?: string;
10925
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10619
10926
 
10620
- locales?: string | string[];
10927
+ order?: "desc" | "asc";
10621
10928
 
10622
- groups?: (string | string[])[];
10929
+ newlinesInside?: "always" | "never";
10623
10930
 
10624
- order?: "asc" | "desc";
10931
+ modifiers?: ("optional" | "required" | "multiline")[];
10625
10932
 
10626
- type?: "alphabetical" | "natural" | "line-length" | "custom";
10627
- },
10628
- ];
10629
- // ----- perfectionist/sort-objects -----
10630
- type PerfectionistSortObjects = {
10631
- destructuredObjects?:
10632
- | boolean
10633
- | {
10634
- groups?: boolean;
10635
- };
10933
+ selector?: "member" | "method" | "multiline" | "property";
10636
10934
 
10637
- ignorePattern?: string[];
10935
+ elementValuePattern?: string;
10638
10936
 
10639
- partitionByComment?: string[] | boolean | string;
10937
+ elementNamePattern?: string;
10938
+ }
10939
+ )[];
10640
10940
 
10641
10941
  destructureOnly?: boolean;
10642
10942
 
@@ -10644,18 +10944,34 @@ type PerfectionistSortObjects = {
10644
10944
 
10645
10945
  styledComponents?: boolean;
10646
10946
 
10647
- partitionByNewLine?: boolean;
10648
- useConfigurationIf?: {
10649
- allNamesMatchPattern?: string;
10650
- };
10947
+ type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
10651
10948
 
10652
- specialCharacters?: "remove" | "trim" | "keep";
10949
+ partitionByComment?:
10950
+ | string[]
10951
+ | boolean
10952
+ | string
10953
+ | {
10954
+ block?: string[] | boolean | string;
10955
+ line?: string[] | boolean | string;
10956
+ [k: string]: unknown | undefined;
10957
+ };
10958
+
10959
+ partitionByNewLine?: boolean;
10653
10960
 
10654
10961
  newlinesBetween?: "ignore" | "always" | "never";
10655
10962
 
10656
- customGroups?: {
10657
- [k: string]: (string | string[]) | undefined;
10658
- };
10963
+ groups?: (
10964
+ | string
10965
+ | string[]
10966
+ | {
10967
+ newlinesBetween?: "ignore" | "always" | "never";
10968
+ [k: string]: unknown | undefined;
10969
+ }
10970
+ )[];
10971
+ }[];
10972
+ // ----- perfectionist/sort-sets -----
10973
+ type PerfectionistSortSets = {
10974
+ specialCharacters?: "remove" | "trim" | "keep";
10659
10975
 
10660
10976
  ignoreCase?: boolean;
10661
10977
 
@@ -10663,36 +10979,68 @@ type PerfectionistSortObjects = {
10663
10979
 
10664
10980
  locales?: string | string[];
10665
10981
 
10666
- groups?: (string | string[])[];
10667
-
10668
10982
  order?: "asc" | "desc";
10669
10983
 
10670
- type?: "alphabetical" | "natural" | "line-length" | "custom";
10671
- }[];
10672
- // ----- perfectionist/sort-sets -----
10673
- type PerfectionistSortSets =
10674
- | []
10675
- | [
10676
- {
10677
- partitionByComment?: string[] | boolean | string;
10984
+ groupKind?: "mixed" | "literals-first" | "spreads-first";
10678
10985
 
10679
- groupKind?: "mixed" | "literals-first" | "spreads-first";
10986
+ customGroups?: (
10987
+ | {
10988
+ groupName?: string;
10680
10989
 
10681
- partitionByNewLine?: boolean;
10990
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10682
10991
 
10683
- specialCharacters?: "remove" | "trim" | "keep";
10992
+ order?: "desc" | "asc";
10684
10993
 
10685
- ignoreCase?: boolean;
10994
+ newlinesInside?: "always" | "never";
10995
+ anyOf?: {
10996
+ selector?: "literal" | "spread";
10686
10997
 
10687
- alphabet?: string;
10998
+ elementNamePattern?: string;
10999
+ }[];
11000
+ }
11001
+ | {
11002
+ groupName?: string;
10688
11003
 
10689
- locales?: string | string[];
11004
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10690
11005
 
10691
- order?: "asc" | "desc";
11006
+ order?: "desc" | "asc";
10692
11007
 
10693
- type?: "alphabetical" | "natural" | "line-length" | "custom";
10694
- },
10695
- ];
11008
+ newlinesInside?: "always" | "never";
11009
+
11010
+ selector?: "literal" | "spread";
11011
+
11012
+ elementNamePattern?: string;
11013
+ }
11014
+ )[];
11015
+ useConfigurationIf?: {
11016
+ allNamesMatchPattern?: string;
11017
+ };
11018
+
11019
+ type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
11020
+
11021
+ partitionByComment?:
11022
+ | string[]
11023
+ | boolean
11024
+ | string
11025
+ | {
11026
+ block?: string[] | boolean | string;
11027
+ line?: string[] | boolean | string;
11028
+ [k: string]: unknown | undefined;
11029
+ };
11030
+
11031
+ partitionByNewLine?: boolean;
11032
+
11033
+ newlinesBetween?: "ignore" | "always" | "never";
11034
+
11035
+ groups?: (
11036
+ | string
11037
+ | string[]
11038
+ | {
11039
+ newlinesBetween?: "ignore" | "always" | "never";
11040
+ [k: string]: unknown | undefined;
11041
+ }
11042
+ )[];
11043
+ }[];
10696
11044
  // ----- perfectionist/sort-switch-case -----
10697
11045
  type PerfectionistSortSwitchCase =
10698
11046
  | []
@@ -10716,25 +11064,40 @@ type PerfectionistSortUnionTypes =
10716
11064
  | []
10717
11065
  | [
10718
11066
  {
10719
- partitionByComment?: string[] | boolean | string;
10720
-
10721
- partitionByNewLine?: boolean;
10722
-
10723
11067
  specialCharacters?: "remove" | "trim" | "keep";
10724
11068
 
10725
- newlinesBetween?: "ignore" | "always" | "never";
10726
-
10727
11069
  ignoreCase?: boolean;
10728
11070
 
10729
11071
  alphabet?: string;
10730
11072
 
10731
11073
  locales?: string | string[];
10732
11074
 
10733
- groups?: (string | string[])[];
10734
-
10735
11075
  order?: "asc" | "desc";
10736
11076
 
11077
+ partitionByComment?:
11078
+ | string[]
11079
+ | boolean
11080
+ | string
11081
+ | {
11082
+ block?: string[] | boolean | string;
11083
+ line?: string[] | boolean | string;
11084
+ [k: string]: unknown | undefined;
11085
+ };
11086
+
11087
+ partitionByNewLine?: boolean;
11088
+
11089
+ newlinesBetween?: "ignore" | "always" | "never";
11090
+
10737
11091
  type?: "alphabetical" | "natural" | "line-length" | "custom";
11092
+
11093
+ groups?: (
11094
+ | string
11095
+ | string[]
11096
+ | {
11097
+ newlinesBetween?: "ignore" | "always" | "never";
11098
+ [k: string]: unknown | undefined;
11099
+ }
11100
+ )[];
10738
11101
  },
10739
11102
  ];
10740
11103
  // ----- perfectionist/sort-variable-declarations -----
@@ -10742,10 +11105,6 @@ type PerfectionistSortVariableDeclarations =
10742
11105
  | []
10743
11106
  | [
10744
11107
  {
10745
- partitionByComment?: string[] | boolean | string;
10746
-
10747
- partitionByNewLine?: boolean;
10748
-
10749
11108
  specialCharacters?: "remove" | "trim" | "keep";
10750
11109
 
10751
11110
  ignoreCase?: boolean;
@@ -10756,6 +11115,18 @@ type PerfectionistSortVariableDeclarations =
10756
11115
 
10757
11116
  order?: "asc" | "desc";
10758
11117
 
11118
+ partitionByComment?:
11119
+ | string[]
11120
+ | boolean
11121
+ | string
11122
+ | {
11123
+ block?: string[] | boolean | string;
11124
+ line?: string[] | boolean | string;
11125
+ [k: string]: unknown | undefined;
11126
+ };
11127
+
11128
+ partitionByNewLine?: boolean;
11129
+
10759
11130
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10760
11131
  },
10761
11132
  ];
@@ -13358,6 +13729,16 @@ type StylisticKeySpacing =
13358
13729
  mode?: "strict" | "minimum";
13359
13730
  beforeColon?: boolean;
13360
13731
  afterColon?: boolean;
13732
+ ignoredNodes?: (
13733
+ | "ObjectExpression"
13734
+ | "ObjectPattern"
13735
+ | "ImportDeclaration"
13736
+ | "ExportNamedDeclaration"
13737
+ | "ExportAllDeclaration"
13738
+ | "TSTypeLiteral"
13739
+ | "TSInterfaceBody"
13740
+ | "ClassBody"
13741
+ )[];
13361
13742
  }
13362
13743
  | {
13363
13744
  singleLine?: {
@@ -13994,6 +14375,7 @@ type StylisticNoExtraParens =
13994
14375
  enforceForNewInMemberExpressions?: boolean;
13995
14376
  enforceForFunctionPrototypeMethods?: boolean;
13996
14377
  allowParensAfterCommentPattern?: string;
14378
+ nestedConditionalExpressions?: boolean;
13997
14379
  },
13998
14380
  ];
13999
14381
  // ----- @stylistic/no-mixed-operators -----
@@ -14245,20 +14627,20 @@ type StylisticOperatorLinebreak =
14245
14627
  type StylisticPaddedBlocks =
14246
14628
  | []
14247
14629
  | [
14248
- | ("always" | "never")
14630
+ | ("always" | "never" | "start" | "end")
14249
14631
  | {
14250
- blocks?: "always" | "never";
14251
- switches?: "always" | "never";
14252
- classes?: "always" | "never";
14632
+ blocks?: "always" | "never" | "start" | "end";
14633
+ switches?: "always" | "never" | "start" | "end";
14634
+ classes?: "always" | "never" | "start" | "end";
14253
14635
  },
14254
14636
  ]
14255
14637
  | [
14256
14638
  (
14257
- | ("always" | "never")
14639
+ | ("always" | "never" | "start" | "end")
14258
14640
  | {
14259
- blocks?: "always" | "never";
14260
- switches?: "always" | "never";
14261
- classes?: "always" | "never";
14641
+ blocks?: "always" | "never" | "start" | "end";
14642
+ switches?: "always" | "never" | "start" | "end";
14643
+ classes?: "always" | "never" | "start" | "end";
14262
14644
  }
14263
14645
  ),
14264
14646
  {
@@ -14780,7 +15162,7 @@ interface VitestRuleOptions {
14780
15162
  */
14781
15163
  "vitest/padding-around-expect-groups"?: Linter.RuleEntry<[]>;
14782
15164
  /**
14783
- * Enforce padding around afterAll blocks
15165
+ * Enforce padding around `test` blocks
14784
15166
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
14785
15167
  */
14786
15168
  "vitest/padding-around-test-blocks"?: Linter.RuleEntry<[]>;
@@ -14885,7 +15267,7 @@ interface VitestRuleOptions {
14885
15267
  */
14886
15268
  "vitest/prefer-todo"?: Linter.RuleEntry<[]>;
14887
15269
  /**
14888
- * Prefer `vi.mocked()` over `fn as Mock`
15270
+ * require `vi.mocked()` over `fn as Mock`
14889
15271
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-vi-mocked.md
14890
15272
  */
14891
15273
  "vitest/prefer-vi-mocked"?: Linter.RuleEntry<[]>;
@@ -14922,7 +15304,7 @@ interface VitestRuleOptions {
14922
15304
  */
14923
15305
  "vitest/valid-expect"?: Linter.RuleEntry<VitestValidExpect>;
14924
15306
  /**
14925
- * Require promises that have expectations in their chain to be valid
15307
+ * require promises that have expectations in their chain to be valid
14926
15308
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect-in-promise.md
14927
15309
  */
14928
15310
  "vitest/valid-expect-in-promise"?: Linter.RuleEntry<[]>;
@@ -15026,8 +15408,7 @@ type VitestNoStandaloneExpect =
15026
15408
  | []
15027
15409
  | [
15028
15410
  {
15029
- additionaltestblockfunctions?: string[];
15030
- [k: string]: unknown | undefined;
15411
+ additionalTestBlockFunctions?: string[];
15031
15412
  },
15032
15413
  ];
15033
15414
  // ----- vitest/prefer-expect-assertions -----
@@ -15458,7 +15839,7 @@ interface TypescriptRuleOptions {
15458
15839
  * Disallow using code marked as `@deprecated`
15459
15840
  * @see https://typescript-eslint.io/rules/no-deprecated
15460
15841
  */
15461
- "@typescript-eslint/no-deprecated"?: Linter.RuleEntry<[]>;
15842
+ "@typescript-eslint/no-deprecated"?: Linter.RuleEntry<TypescriptEslintNoDeprecated>;
15462
15843
  /**
15463
15844
  * Disallow duplicate class members
15464
15845
  * @see https://typescript-eslint.io/rules/no-dupe-class-members
@@ -15576,6 +15957,11 @@ interface TypescriptRuleOptions {
15576
15957
  * @see https://typescript-eslint.io/rules/no-misused-promises
15577
15958
  */
15578
15959
  "@typescript-eslint/no-misused-promises"?: Linter.RuleEntry<TypescriptEslintNoMisusedPromises>;
15960
+ /**
15961
+ * Disallow using the spread operator when it might cause unexpected behavior
15962
+ * @see https://typescript-eslint.io/rules/no-misused-spread
15963
+ */
15964
+ "@typescript-eslint/no-misused-spread"?: Linter.RuleEntry<TypescriptEslintNoMisusedSpread>;
15579
15965
  /**
15580
15966
  * Disallow enums from having both number and string members
15581
15967
  * @see https://typescript-eslint.io/rules/no-mixed-enums
@@ -15782,7 +16168,7 @@ interface TypescriptRuleOptions {
15782
16168
  */
15783
16169
  "@typescript-eslint/no-wrapper-object-types"?: Linter.RuleEntry<[]>;
15784
16170
  /**
15785
- * Enforce non-null assertions over explicit type casts
16171
+ * Enforce non-null assertions over explicit type assertions
15786
16172
  * @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
15787
16173
  */
15788
16174
  "@typescript-eslint/non-nullable-type-assertion-style"?: Linter.RuleEntry<[]>;
@@ -15867,7 +16253,7 @@ interface TypescriptRuleOptions {
15867
16253
  */
15868
16254
  "@typescript-eslint/prefer-readonly-parameter-types"?: Linter.RuleEntry<TypescriptEslintPreferReadonlyParameterTypes>;
15869
16255
  /**
15870
- * Enforce using type parameter when calling `Array#reduce` instead of casting
16256
+ * Enforce using type parameter when calling `Array#reduce` instead of using a type assertion
15871
16257
  * @see https://typescript-eslint.io/rules/prefer-reduce-type-parameter
15872
16258
  */
15873
16259
  "@typescript-eslint/prefer-reduce-type-parameter"?: Linter.RuleEntry<[]>;
@@ -15972,233 +16358,233 @@ interface TypescriptRuleOptions {
15972
16358
  >;
15973
16359
  /**
15974
16360
  * Enforce or ban the use of inline type-only markers for named imports.
15975
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/consistent-type-specifier-style.md
16361
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/consistent-type-specifier-style.md
15976
16362
  */
15977
16363
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
15978
16364
  /**
15979
16365
  * Ensure a default export is present, given a default import.
15980
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/default.md
16366
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/default.md
15981
16367
  */
15982
16368
  "import/default"?: Linter.RuleEntry<[]>;
15983
16369
  /**
15984
16370
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
15985
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/dynamic-import-chunkname.md
16371
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/dynamic-import-chunkname.md
15986
16372
  */
15987
16373
  "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname>;
15988
16374
  /**
15989
16375
  * Forbid any invalid exports, i.e. re-export of the same name.
15990
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/export.md
16376
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/export.md
15991
16377
  */
15992
16378
  "import/export"?: Linter.RuleEntry<[]>;
15993
16379
  /**
15994
16380
  * Ensure all exports appear after other statements.
15995
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/exports-last.md
16381
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/exports-last.md
15996
16382
  */
15997
16383
  "import/exports-last"?: Linter.RuleEntry<[]>;
15998
16384
  /**
15999
16385
  * Ensure consistent use of file extension within the import path.
16000
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/extensions.md
16386
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/extensions.md
16001
16387
  */
16002
16388
  "import/extensions"?: Linter.RuleEntry<ImportExtensions>;
16003
16389
  /**
16004
16390
  * Ensure all imports appear before other statements.
16005
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/first.md
16391
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/first.md
16006
16392
  */
16007
16393
  "import/first"?: Linter.RuleEntry<ImportFirst>;
16008
16394
  /**
16009
16395
  * Prefer named exports to be grouped together in a single export declaration.
16010
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/group-exports.md
16396
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/group-exports.md
16011
16397
  */
16012
16398
  "import/group-exports"?: Linter.RuleEntry<[]>;
16013
16399
  /**
16014
16400
  * Replaced by `import-x/first`.
16015
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/imports-first.md
16401
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/imports-first.md
16016
16402
  * @deprecated
16017
16403
  */
16018
16404
  "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst>;
16019
16405
  /**
16020
16406
  * Enforce the maximum number of dependencies a module can have.
16021
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/max-dependencies.md
16407
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/max-dependencies.md
16022
16408
  */
16023
16409
  "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies>;
16024
16410
  /**
16025
16411
  * Ensure named imports correspond to a named export in the remote file.
16026
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/named.md
16412
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/named.md
16027
16413
  */
16028
16414
  "import/named"?: Linter.RuleEntry<ImportNamed>;
16029
16415
  /**
16030
16416
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
16031
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/namespace.md
16417
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/namespace.md
16032
16418
  */
16033
16419
  "import/namespace"?: Linter.RuleEntry<ImportNamespace>;
16034
16420
  /**
16035
16421
  * Enforce a newline after import statements.
16036
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/newline-after-import.md
16422
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/newline-after-import.md
16037
16423
  */
16038
16424
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport>;
16039
16425
  /**
16040
16426
  * Forbid import of modules using absolute paths.
16041
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-absolute-path.md
16427
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-absolute-path.md
16042
16428
  */
16043
16429
  "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath>;
16044
16430
  /**
16045
16431
  * Forbid AMD `require` and `define` calls.
16046
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-amd.md
16432
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-amd.md
16047
16433
  */
16048
16434
  "import/no-amd"?: Linter.RuleEntry<[]>;
16049
16435
  /**
16050
16436
  * Forbid anonymous values as default exports.
16051
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-anonymous-default-export.md
16437
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-anonymous-default-export.md
16052
16438
  */
16053
16439
  "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
16054
16440
  /**
16055
16441
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
16056
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-commonjs.md
16442
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-commonjs.md
16057
16443
  */
16058
16444
  "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs>;
16059
16445
  /**
16060
16446
  * Forbid a module from importing a module with a dependency path back to itself.
16061
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-cycle.md
16447
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-cycle.md
16062
16448
  */
16063
16449
  "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle>;
16064
16450
  /**
16065
16451
  * Forbid default exports.
16066
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-default-export.md
16452
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-default-export.md
16067
16453
  */
16068
16454
  "import/no-default-export"?: Linter.RuleEntry<[]>;
16069
16455
  /**
16070
16456
  * Forbid imported names marked with `@deprecated` documentation tag.
16071
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-deprecated.md
16457
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-deprecated.md
16072
16458
  */
16073
16459
  "import/no-deprecated"?: Linter.RuleEntry<[]>;
16074
16460
  /**
16075
16461
  * Forbid repeated import of the same module in multiple places.
16076
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-duplicates.md
16462
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-duplicates.md
16077
16463
  */
16078
16464
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates>;
16079
16465
  /**
16080
16466
  * Forbid `require()` calls with expressions.
16081
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-dynamic-require.md
16467
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-dynamic-require.md
16082
16468
  */
16083
16469
  "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire>;
16084
16470
  /**
16085
16471
  * Forbid empty named import blocks.
16086
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-empty-named-blocks.md
16472
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-empty-named-blocks.md
16087
16473
  */
16088
16474
  "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
16089
16475
  /**
16090
16476
  * Forbid the use of extraneous packages.
16091
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-extraneous-dependencies.md
16477
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-extraneous-dependencies.md
16092
16478
  */
16093
16479
  "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
16094
16480
  /**
16095
16481
  * Forbid import statements with CommonJS module.exports.
16096
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-import-module-exports.md
16482
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-import-module-exports.md
16097
16483
  */
16098
16484
  "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports>;
16099
16485
  /**
16100
16486
  * Forbid importing the submodules of other modules.
16101
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-internal-modules.md
16487
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-internal-modules.md
16102
16488
  */
16103
16489
  "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules>;
16104
16490
  /**
16105
16491
  * Forbid the use of mutable exports with `var` or `let`.
16106
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-mutable-exports.md
16492
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-mutable-exports.md
16107
16493
  */
16108
16494
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
16109
16495
  /**
16110
16496
  * Forbid use of exported name as identifier of default export.
16111
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-as-default.md
16497
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default.md
16112
16498
  */
16113
16499
  "import/no-named-as-default"?: Linter.RuleEntry<[]>;
16114
16500
  /**
16115
16501
  * Forbid use of exported name as property of default export.
16116
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-as-default-member.md
16502
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default-member.md
16117
16503
  */
16118
16504
  "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
16119
16505
  /**
16120
16506
  * Forbid named default exports.
16121
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-default.md
16507
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-default.md
16122
16508
  */
16123
16509
  "import/no-named-default"?: Linter.RuleEntry<[]>;
16124
16510
  /**
16125
16511
  * Forbid named exports.
16126
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-export.md
16512
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-export.md
16127
16513
  */
16128
16514
  "import/no-named-export"?: Linter.RuleEntry<[]>;
16129
16515
  /**
16130
16516
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
16131
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-namespace.md
16517
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-namespace.md
16132
16518
  */
16133
16519
  "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace>;
16134
16520
  /**
16135
16521
  * Forbid Node.js builtin modules.
16136
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-nodejs-modules.md
16522
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-nodejs-modules.md
16137
16523
  */
16138
16524
  "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules>;
16139
16525
  /**
16140
16526
  * Forbid importing packages through relative paths.
16141
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-relative-packages.md
16527
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-packages.md
16142
16528
  */
16143
16529
  "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages>;
16144
16530
  /**
16145
16531
  * Forbid importing modules from parent directories.
16146
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-relative-parent-imports.md
16532
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-parent-imports.md
16147
16533
  */
16148
16534
  "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports>;
16149
16535
  /**
16150
16536
  * Forbid importing a default export by a different name.
16151
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-rename-default.md
16537
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-rename-default.md
16152
16538
  */
16153
16539
  "import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault>;
16154
16540
  /**
16155
16541
  * Enforce which files can be imported in a given folder.
16156
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-restricted-paths.md
16542
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-restricted-paths.md
16157
16543
  */
16158
16544
  "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths>;
16159
16545
  /**
16160
16546
  * Forbid a module from importing itself.
16161
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-self-import.md
16547
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-self-import.md
16162
16548
  */
16163
16549
  "import/no-self-import"?: Linter.RuleEntry<[]>;
16164
16550
  /**
16165
16551
  * Forbid unassigned imports.
16166
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unassigned-import.md
16552
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unassigned-import.md
16167
16553
  */
16168
16554
  "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport>;
16169
16555
  /**
16170
16556
  * Ensure imports point to a file/module that can be resolved.
16171
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unresolved.md
16557
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unresolved.md
16172
16558
  */
16173
16559
  "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved>;
16174
16560
  /**
16175
16561
  * Forbid modules without exports, or exports without matching import in another module.
16176
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unused-modules.md
16562
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unused-modules.md
16177
16563
  */
16178
16564
  "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules>;
16179
16565
  /**
16180
16566
  * Forbid unnecessary path segments in import and require statements.
16181
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-useless-path-segments.md
16567
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-useless-path-segments.md
16182
16568
  */
16183
16569
  "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments>;
16184
16570
  /**
16185
16571
  * Forbid webpack loader syntax in imports.
16186
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-webpack-loader-syntax.md
16572
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-webpack-loader-syntax.md
16187
16573
  */
16188
16574
  "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
16189
16575
  /**
16190
16576
  * Enforce a convention in module import order.
16191
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/order.md
16577
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/order.md
16192
16578
  */
16193
16579
  "import/order"?: Linter.RuleEntry<ImportOrder>;
16194
16580
  /**
16195
16581
  * Prefer a default export if module exports a single name or multiple names.
16196
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/prefer-default-export.md
16582
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/prefer-default-export.md
16197
16583
  */
16198
16584
  "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport>;
16199
16585
  /**
16200
16586
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
16201
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/unambiguous.md
16587
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/unambiguous.md
16202
16588
  */
16203
16589
  "import/unambiguous"?: Linter.RuleEntry<[]>;
16204
16590
  }
@@ -16286,7 +16672,9 @@ type TypescriptEslintConsistentTypeAssertions =
16286
16672
  assertionStyle: "never";
16287
16673
  }
16288
16674
  | {
16289
- assertionStyle: "as" | "angle-bracket";
16675
+ arrayLiteralTypeAssertions?: "allow" | "allow-as-parameter" | "never";
16676
+
16677
+ assertionStyle?: "as" | "angle-bracket";
16290
16678
 
16291
16679
  objectLiteralTypeAssertions?:
16292
16680
  | "allow"
@@ -18962,6 +19350,30 @@ type TypescriptEslintNoConfusingVoidExpression =
18962
19350
  ignoreVoidReturningFunctions?: boolean;
18963
19351
  },
18964
19352
  ];
19353
+ // ----- @typescript-eslint/no-deprecated -----
19354
+ type TypescriptEslintNoDeprecated =
19355
+ | []
19356
+ | [
19357
+ {
19358
+ allow?: (
19359
+ | string
19360
+ | {
19361
+ from: "file";
19362
+ name: string | [string, ...string[]];
19363
+ path?: string;
19364
+ }
19365
+ | {
19366
+ from: "lib";
19367
+ name: string | [string, ...string[]];
19368
+ }
19369
+ | {
19370
+ from: "package";
19371
+ name: string | [string, ...string[]];
19372
+ package: string;
19373
+ }
19374
+ )[];
19375
+ },
19376
+ ];
18965
19377
  // ----- @typescript-eslint/no-duplicate-type-constituents -----
18966
19378
  type TypescriptEslintNoDuplicateTypeConstituents =
18967
19379
  | []
@@ -19170,6 +19582,30 @@ type TypescriptEslintNoMisusedPromises =
19170
19582
  };
19171
19583
  },
19172
19584
  ];
19585
+ // ----- @typescript-eslint/no-misused-spread -----
19586
+ type TypescriptEslintNoMisusedSpread =
19587
+ | []
19588
+ | [
19589
+ {
19590
+ allow?: (
19591
+ | string
19592
+ | {
19593
+ from: "file";
19594
+ name: string | [string, ...string[]];
19595
+ path?: string;
19596
+ }
19597
+ | {
19598
+ from: "lib";
19599
+ name: string | [string, ...string[]];
19600
+ }
19601
+ | {
19602
+ from: "package";
19603
+ name: string | [string, ...string[]];
19604
+ package: string;
19605
+ }
19606
+ )[];
19607
+ },
19608
+ ];
19173
19609
  // ----- @typescript-eslint/no-namespace -----
19174
19610
  type TypescriptEslintNoNamespace =
19175
19611
  | []
@@ -19276,7 +19712,7 @@ type TypescriptEslintNoShadow =
19276
19712
 
19277
19713
  builtinGlobals?: boolean;
19278
19714
 
19279
- hoist?: "all" | "functions" | "never";
19715
+ hoist?: "all" | "functions" | "functions-and-types" | "never" | "types";
19280
19716
 
19281
19717
  ignoreFunctionTypeParameterNameValueShadow?: boolean;
19282
19718
 
@@ -22032,7 +22468,7 @@ declare function jsse(options?: OptionsConfig & TypedFlatConfigItem, ...userConf
22032
22468
  declare function defineConfig(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: (TypedFlatConfigItem | TypedFlatConfigItem[])[]): Promise<TypedFlatConfigItem[]>;
22033
22469
  type DefineConfig = typeof defineConfig;
22034
22470
 
22035
- declare const VERSION = "0.2.30";
22471
+ declare const VERSION = "0.2.31";
22036
22472
 
22037
22473
  declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
22038
22474
  declare const GLOB_JS_SRC_EXT = "?([cm])js?(x)";
@@ -22103,27 +22539,7 @@ declare function importPluginReact(): Promise<{
22103
22539
  'forbid-elements': eslint.Rule.RuleModule;
22104
22540
  'forbid-foreign-prop-types': eslint.Rule.RuleModule;
22105
22541
  'forbid-prop-types': eslint.Rule.RuleModule;
22106
- 'forward-ref-uses-ref': {
22107
- meta: {
22108
- docs: {
22109
- description: string;
22110
- category: string;
22111
- recommended: boolean;
22112
- url: string;
22113
- };
22114
- messages: {
22115
- missingRefParameter: string;
22116
- addRefParameter: string;
22117
- removeForwardRef: string;
22118
- };
22119
- schema: undefined[];
22120
- type: string;
22121
- hasSuggestions: boolean;
22122
- };
22123
- create(context: any): {
22124
- "FunctionExpression, ArrowFunctionExpression"(node: any): void;
22125
- };
22126
- };
22542
+ 'forward-ref-uses-ref': eslint.Rule.RuleModule;
22127
22543
  'function-component-definition': eslint.Rule.RuleModule;
22128
22544
  'hook-use-state': eslint.Rule.RuleModule;
22129
22545
  'iframe-missing-sandbox': eslint.Rule.RuleModule;
@@ -22148,23 +22564,7 @@ declare function importPluginReact(): Promise<{
22148
22564
  'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
22149
22565
  'jsx-no-duplicate-props': eslint.Rule.RuleModule;
22150
22566
  'jsx-no-leaked-render': eslint.Rule.RuleModule;
22151
- 'jsx-no-literals': {
22152
- meta: eslint.Rule.RuleMetaData;
22153
- create(context: any): (false & {
22154
- Literal(node: any): void;
22155
- JSXAttribute(node: any): void;
22156
- JSXText(node: any): void;
22157
- TemplateLiteral(node: any): void;
22158
- }) | ({
22159
- ImportDeclaration(node: any): void;
22160
- VariableDeclaration(node: any): void;
22161
- } & {
22162
- Literal(node: any): void;
22163
- JSXAttribute(node: any): void;
22164
- JSXText(node: any): void;
22165
- TemplateLiteral(node: any): void;
22166
- });
22167
- };
22567
+ 'jsx-no-literals': eslint.Rule.RuleModule;
22168
22568
  'jsx-no-script-url': eslint.Rule.RuleModule;
22169
22569
  'jsx-no-target-blank': eslint.Rule.RuleModule;
22170
22570
  'jsx-no-useless-fragment': eslint.Rule.RuleModule;
@@ -22175,22 +22575,7 @@ declare function importPluginReact(): Promise<{
22175
22575
  'jsx-fragments': eslint.Rule.RuleModule;
22176
22576
  'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
22177
22577
  'jsx-props-no-spreading': eslint.Rule.RuleModule;
22178
- 'jsx-props-no-spread-multi': {
22179
- meta: {
22180
- docs: {
22181
- description: string;
22182
- category: string;
22183
- recommended: boolean;
22184
- url: string;
22185
- };
22186
- messages: {
22187
- noMultiSpreading: string;
22188
- };
22189
- };
22190
- create(context: any): {
22191
- JSXOpeningElement(node: any): void;
22192
- };
22193
- };
22578
+ 'jsx-props-no-spread-multi': eslint.Rule.RuleModule;
22194
22579
  'jsx-sort-default-props': eslint.Rule.RuleModule;
22195
22580
  'jsx-sort-props': eslint.Rule.RuleModule;
22196
22581
  'jsx-space-before-closing': eslint.Rule.RuleModule;
@@ -22259,27 +22644,7 @@ declare function importPluginReact(): Promise<{
22259
22644
  'forbid-elements': eslint.Rule.RuleModule;
22260
22645
  'forbid-foreign-prop-types': eslint.Rule.RuleModule;
22261
22646
  'forbid-prop-types': eslint.Rule.RuleModule;
22262
- 'forward-ref-uses-ref': {
22263
- meta: {
22264
- docs: {
22265
- description: string;
22266
- category: string;
22267
- recommended: boolean;
22268
- url: string;
22269
- };
22270
- messages: {
22271
- missingRefParameter: string;
22272
- addRefParameter: string;
22273
- removeForwardRef: string;
22274
- };
22275
- schema: undefined[];
22276
- type: string;
22277
- hasSuggestions: boolean;
22278
- };
22279
- create(context: any): {
22280
- "FunctionExpression, ArrowFunctionExpression"(node: any): void;
22281
- };
22282
- };
22647
+ 'forward-ref-uses-ref': eslint.Rule.RuleModule;
22283
22648
  'function-component-definition': eslint.Rule.RuleModule;
22284
22649
  'hook-use-state': eslint.Rule.RuleModule;
22285
22650
  'iframe-missing-sandbox': eslint.Rule.RuleModule;
@@ -22304,23 +22669,7 @@ declare function importPluginReact(): Promise<{
22304
22669
  'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
22305
22670
  'jsx-no-duplicate-props': eslint.Rule.RuleModule;
22306
22671
  'jsx-no-leaked-render': eslint.Rule.RuleModule;
22307
- 'jsx-no-literals': {
22308
- meta: eslint.Rule.RuleMetaData;
22309
- create(context: any): (false & {
22310
- Literal(node: any): void;
22311
- JSXAttribute(node: any): void;
22312
- JSXText(node: any): void;
22313
- TemplateLiteral(node: any): void;
22314
- }) | ({
22315
- ImportDeclaration(node: any): void;
22316
- VariableDeclaration(node: any): void;
22317
- } & {
22318
- Literal(node: any): void;
22319
- JSXAttribute(node: any): void;
22320
- JSXText(node: any): void;
22321
- TemplateLiteral(node: any): void;
22322
- });
22323
- };
22672
+ 'jsx-no-literals': eslint.Rule.RuleModule;
22324
22673
  'jsx-no-script-url': eslint.Rule.RuleModule;
22325
22674
  'jsx-no-target-blank': eslint.Rule.RuleModule;
22326
22675
  'jsx-no-useless-fragment': eslint.Rule.RuleModule;
@@ -22331,22 +22680,7 @@ declare function importPluginReact(): Promise<{
22331
22680
  'jsx-fragments': eslint.Rule.RuleModule;
22332
22681
  'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
22333
22682
  'jsx-props-no-spreading': eslint.Rule.RuleModule;
22334
- 'jsx-props-no-spread-multi': {
22335
- meta: {
22336
- docs: {
22337
- description: string;
22338
- category: string;
22339
- recommended: boolean;
22340
- url: string;
22341
- };
22342
- messages: {
22343
- noMultiSpreading: string;
22344
- };
22345
- };
22346
- create(context: any): {
22347
- JSXOpeningElement(node: any): void;
22348
- };
22349
- };
22683
+ 'jsx-props-no-spread-multi': eslint.Rule.RuleModule;
22350
22684
  'jsx-sort-default-props': eslint.Rule.RuleModule;
22351
22685
  'jsx-sort-props': eslint.Rule.RuleModule;
22352
22686
  'jsx-space-before-closing': eslint.Rule.RuleModule;
@@ -22412,28 +22746,28 @@ declare function importPluginReact(): Promise<{
22412
22746
  };
22413
22747
  };
22414
22748
  rules: {
22415
- "react/display-name": number;
22416
- "react/jsx-key": number;
22417
- "react/jsx-no-comment-textnodes": number;
22418
- "react/jsx-no-duplicate-props": number;
22419
- "react/jsx-no-target-blank": number;
22420
- "react/jsx-no-undef": number;
22421
- "react/jsx-uses-react": number;
22422
- "react/jsx-uses-vars": number;
22423
- "react/no-children-prop": number;
22424
- "react/no-danger-with-children": number;
22425
- "react/no-deprecated": number;
22426
- "react/no-direct-mutation-state": number;
22427
- "react/no-find-dom-node": number;
22428
- "react/no-is-mounted": number;
22429
- "react/no-render-return-value": number;
22430
- "react/no-string-refs": number;
22431
- "react/no-unescaped-entities": number;
22432
- "react/no-unknown-property": number;
22433
- "react/no-unsafe": number;
22434
- "react/prop-types": number;
22435
- "react/react-in-jsx-scope": number;
22436
- "react/require-render-return": number;
22749
+ "react/display-name": 2;
22750
+ "react/jsx-key": 2;
22751
+ "react/jsx-no-comment-textnodes": 2;
22752
+ "react/jsx-no-duplicate-props": 2;
22753
+ "react/jsx-no-target-blank": 2;
22754
+ "react/jsx-no-undef": 2;
22755
+ "react/jsx-uses-react": 2;
22756
+ "react/jsx-uses-vars": 2;
22757
+ "react/no-children-prop": 2;
22758
+ "react/no-danger-with-children": 2;
22759
+ "react/no-deprecated": 2;
22760
+ "react/no-direct-mutation-state": 2;
22761
+ "react/no-find-dom-node": 2;
22762
+ "react/no-is-mounted": 2;
22763
+ "react/no-render-return-value": 2;
22764
+ "react/no-string-refs": 2;
22765
+ "react/no-unescaped-entities": 2;
22766
+ "react/no-unknown-property": 2;
22767
+ "react/no-unsafe": 0;
22768
+ "react/prop-types": 2;
22769
+ "react/react-in-jsx-scope": 2;
22770
+ "react/require-render-return": 2;
22437
22771
  };
22438
22772
  };
22439
22773
  all: {
@@ -22454,12 +22788,13 @@ declare function importPluginReact(): Promise<{
22454
22788
  jsxPragma: any;
22455
22789
  };
22456
22790
  rules: {
22457
- "react/react-in-jsx-scope": number;
22458
- "react/jsx-uses-react": number;
22791
+ "react/react-in-jsx-scope": 0;
22792
+ "react/jsx-uses-react": 0;
22459
22793
  };
22460
22794
  };
22795
+ flat: Record<string, eslint_plugin_react.ReactFlatConfig>;
22461
22796
  } & {
22462
- flat?: Record<string, eslint_plugin_react.ReactFlatConfig>;
22797
+ flat: Record<string, eslint_plugin_react.ReactFlatConfig>;
22463
22798
  };
22464
22799
  };
22465
22800
  }>;
@@ -22467,7 +22802,27 @@ declare function importPluginReactHooks(): Promise<{
22467
22802
  pluginReactHooks: any;
22468
22803
  }>;
22469
22804
  declare function importPluginReactRefresh(): Promise<{
22470
- pluginReactRefresh: typeof eslint_plugin_react_refresh;
22805
+ pluginReactRefresh: {
22806
+ rules: Record<string, any>;
22807
+ configs: {
22808
+ recommended: {
22809
+ plugins: {
22810
+ "react-refresh": {
22811
+ rules: Record<string, any>;
22812
+ };
22813
+ };
22814
+ rules: Record<string, any>;
22815
+ };
22816
+ vite: {
22817
+ plugins: {
22818
+ "react-refresh": {
22819
+ rules: Record<string, any>;
22820
+ };
22821
+ };
22822
+ rules: Record<string, any>;
22823
+ };
22824
+ };
22825
+ };
22471
22826
  }>;
22472
22827
  declare function importReactPlugins(): Promise<{
22473
22828
  pluginReact: {
@@ -22483,27 +22838,7 @@ declare function importReactPlugins(): Promise<{
22483
22838
  'forbid-elements': eslint.Rule.RuleModule;
22484
22839
  'forbid-foreign-prop-types': eslint.Rule.RuleModule;
22485
22840
  'forbid-prop-types': eslint.Rule.RuleModule;
22486
- 'forward-ref-uses-ref': {
22487
- meta: {
22488
- docs: {
22489
- description: string;
22490
- category: string;
22491
- recommended: boolean;
22492
- url: string;
22493
- };
22494
- messages: {
22495
- missingRefParameter: string;
22496
- addRefParameter: string;
22497
- removeForwardRef: string;
22498
- };
22499
- schema: undefined[];
22500
- type: string;
22501
- hasSuggestions: boolean;
22502
- };
22503
- create(context: any): {
22504
- "FunctionExpression, ArrowFunctionExpression"(node: any): void;
22505
- };
22506
- };
22841
+ 'forward-ref-uses-ref': eslint.Rule.RuleModule;
22507
22842
  'function-component-definition': eslint.Rule.RuleModule;
22508
22843
  'hook-use-state': eslint.Rule.RuleModule;
22509
22844
  'iframe-missing-sandbox': eslint.Rule.RuleModule;
@@ -22528,23 +22863,7 @@ declare function importReactPlugins(): Promise<{
22528
22863
  'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
22529
22864
  'jsx-no-duplicate-props': eslint.Rule.RuleModule;
22530
22865
  'jsx-no-leaked-render': eslint.Rule.RuleModule;
22531
- 'jsx-no-literals': {
22532
- meta: eslint.Rule.RuleMetaData;
22533
- create(context: any): (false & {
22534
- Literal(node: any): void;
22535
- JSXAttribute(node: any): void;
22536
- JSXText(node: any): void;
22537
- TemplateLiteral(node: any): void;
22538
- }) | ({
22539
- ImportDeclaration(node: any): void;
22540
- VariableDeclaration(node: any): void;
22541
- } & {
22542
- Literal(node: any): void;
22543
- JSXAttribute(node: any): void;
22544
- JSXText(node: any): void;
22545
- TemplateLiteral(node: any): void;
22546
- });
22547
- };
22866
+ 'jsx-no-literals': eslint.Rule.RuleModule;
22548
22867
  'jsx-no-script-url': eslint.Rule.RuleModule;
22549
22868
  'jsx-no-target-blank': eslint.Rule.RuleModule;
22550
22869
  'jsx-no-useless-fragment': eslint.Rule.RuleModule;
@@ -22555,22 +22874,7 @@ declare function importReactPlugins(): Promise<{
22555
22874
  'jsx-fragments': eslint.Rule.RuleModule;
22556
22875
  'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
22557
22876
  'jsx-props-no-spreading': eslint.Rule.RuleModule;
22558
- 'jsx-props-no-spread-multi': {
22559
- meta: {
22560
- docs: {
22561
- description: string;
22562
- category: string;
22563
- recommended: boolean;
22564
- url: string;
22565
- };
22566
- messages: {
22567
- noMultiSpreading: string;
22568
- };
22569
- };
22570
- create(context: any): {
22571
- JSXOpeningElement(node: any): void;
22572
- };
22573
- };
22877
+ 'jsx-props-no-spread-multi': eslint.Rule.RuleModule;
22574
22878
  'jsx-sort-default-props': eslint.Rule.RuleModule;
22575
22879
  'jsx-sort-props': eslint.Rule.RuleModule;
22576
22880
  'jsx-space-before-closing': eslint.Rule.RuleModule;
@@ -22639,27 +22943,7 @@ declare function importReactPlugins(): Promise<{
22639
22943
  'forbid-elements': eslint.Rule.RuleModule;
22640
22944
  'forbid-foreign-prop-types': eslint.Rule.RuleModule;
22641
22945
  'forbid-prop-types': eslint.Rule.RuleModule;
22642
- 'forward-ref-uses-ref': {
22643
- meta: {
22644
- docs: {
22645
- description: string;
22646
- category: string;
22647
- recommended: boolean;
22648
- url: string;
22649
- };
22650
- messages: {
22651
- missingRefParameter: string;
22652
- addRefParameter: string;
22653
- removeForwardRef: string;
22654
- };
22655
- schema: undefined[];
22656
- type: string;
22657
- hasSuggestions: boolean;
22658
- };
22659
- create(context: any): {
22660
- "FunctionExpression, ArrowFunctionExpression"(node: any): void;
22661
- };
22662
- };
22946
+ 'forward-ref-uses-ref': eslint.Rule.RuleModule;
22663
22947
  'function-component-definition': eslint.Rule.RuleModule;
22664
22948
  'hook-use-state': eslint.Rule.RuleModule;
22665
22949
  'iframe-missing-sandbox': eslint.Rule.RuleModule;
@@ -22684,23 +22968,7 @@ declare function importReactPlugins(): Promise<{
22684
22968
  'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
22685
22969
  'jsx-no-duplicate-props': eslint.Rule.RuleModule;
22686
22970
  'jsx-no-leaked-render': eslint.Rule.RuleModule;
22687
- 'jsx-no-literals': {
22688
- meta: eslint.Rule.RuleMetaData;
22689
- create(context: any): (false & {
22690
- Literal(node: any): void;
22691
- JSXAttribute(node: any): void;
22692
- JSXText(node: any): void;
22693
- TemplateLiteral(node: any): void;
22694
- }) | ({
22695
- ImportDeclaration(node: any): void;
22696
- VariableDeclaration(node: any): void;
22697
- } & {
22698
- Literal(node: any): void;
22699
- JSXAttribute(node: any): void;
22700
- JSXText(node: any): void;
22701
- TemplateLiteral(node: any): void;
22702
- });
22703
- };
22971
+ 'jsx-no-literals': eslint.Rule.RuleModule;
22704
22972
  'jsx-no-script-url': eslint.Rule.RuleModule;
22705
22973
  'jsx-no-target-blank': eslint.Rule.RuleModule;
22706
22974
  'jsx-no-useless-fragment': eslint.Rule.RuleModule;
@@ -22711,22 +22979,7 @@ declare function importReactPlugins(): Promise<{
22711
22979
  'jsx-fragments': eslint.Rule.RuleModule;
22712
22980
  'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
22713
22981
  'jsx-props-no-spreading': eslint.Rule.RuleModule;
22714
- 'jsx-props-no-spread-multi': {
22715
- meta: {
22716
- docs: {
22717
- description: string;
22718
- category: string;
22719
- recommended: boolean;
22720
- url: string;
22721
- };
22722
- messages: {
22723
- noMultiSpreading: string;
22724
- };
22725
- };
22726
- create(context: any): {
22727
- JSXOpeningElement(node: any): void;
22728
- };
22729
- };
22982
+ 'jsx-props-no-spread-multi': eslint.Rule.RuleModule;
22730
22983
  'jsx-sort-default-props': eslint.Rule.RuleModule;
22731
22984
  'jsx-sort-props': eslint.Rule.RuleModule;
22732
22985
  'jsx-space-before-closing': eslint.Rule.RuleModule;
@@ -22792,28 +23045,28 @@ declare function importReactPlugins(): Promise<{
22792
23045
  };
22793
23046
  };
22794
23047
  rules: {
22795
- "react/display-name": number;
22796
- "react/jsx-key": number;
22797
- "react/jsx-no-comment-textnodes": number;
22798
- "react/jsx-no-duplicate-props": number;
22799
- "react/jsx-no-target-blank": number;
22800
- "react/jsx-no-undef": number;
22801
- "react/jsx-uses-react": number;
22802
- "react/jsx-uses-vars": number;
22803
- "react/no-children-prop": number;
22804
- "react/no-danger-with-children": number;
22805
- "react/no-deprecated": number;
22806
- "react/no-direct-mutation-state": number;
22807
- "react/no-find-dom-node": number;
22808
- "react/no-is-mounted": number;
22809
- "react/no-render-return-value": number;
22810
- "react/no-string-refs": number;
22811
- "react/no-unescaped-entities": number;
22812
- "react/no-unknown-property": number;
22813
- "react/no-unsafe": number;
22814
- "react/prop-types": number;
22815
- "react/react-in-jsx-scope": number;
22816
- "react/require-render-return": number;
23048
+ "react/display-name": 2;
23049
+ "react/jsx-key": 2;
23050
+ "react/jsx-no-comment-textnodes": 2;
23051
+ "react/jsx-no-duplicate-props": 2;
23052
+ "react/jsx-no-target-blank": 2;
23053
+ "react/jsx-no-undef": 2;
23054
+ "react/jsx-uses-react": 2;
23055
+ "react/jsx-uses-vars": 2;
23056
+ "react/no-children-prop": 2;
23057
+ "react/no-danger-with-children": 2;
23058
+ "react/no-deprecated": 2;
23059
+ "react/no-direct-mutation-state": 2;
23060
+ "react/no-find-dom-node": 2;
23061
+ "react/no-is-mounted": 2;
23062
+ "react/no-render-return-value": 2;
23063
+ "react/no-string-refs": 2;
23064
+ "react/no-unescaped-entities": 2;
23065
+ "react/no-unknown-property": 2;
23066
+ "react/no-unsafe": 0;
23067
+ "react/prop-types": 2;
23068
+ "react/react-in-jsx-scope": 2;
23069
+ "react/require-render-return": 2;
22817
23070
  };
22818
23071
  };
22819
23072
  all: {
@@ -22834,16 +23087,37 @@ declare function importReactPlugins(): Promise<{
22834
23087
  jsxPragma: any;
22835
23088
  };
22836
23089
  rules: {
22837
- "react/react-in-jsx-scope": number;
22838
- "react/jsx-uses-react": number;
23090
+ "react/react-in-jsx-scope": 0;
23091
+ "react/jsx-uses-react": 0;
22839
23092
  };
22840
23093
  };
23094
+ flat: Record<string, eslint_plugin_react.ReactFlatConfig>;
22841
23095
  } & {
22842
- flat?: Record<string, eslint_plugin_react.ReactFlatConfig>;
23096
+ flat: Record<string, eslint_plugin_react.ReactFlatConfig>;
22843
23097
  };
22844
23098
  };
22845
23099
  pluginReactHooks: any;
22846
- pluginReactRefresh: typeof eslint_plugin_react_refresh;
23100
+ pluginReactRefresh: {
23101
+ rules: Record<string, any>;
23102
+ configs: {
23103
+ recommended: {
23104
+ plugins: {
23105
+ "react-refresh": {
23106
+ rules: Record<string, any>;
23107
+ };
23108
+ };
23109
+ rules: Record<string, any>;
23110
+ };
23111
+ vite: {
23112
+ plugins: {
23113
+ "react-refresh": {
23114
+ rules: Record<string, any>;
23115
+ };
23116
+ };
23117
+ rules: Record<string, any>;
23118
+ };
23119
+ };
23120
+ };
22847
23121
  }>;
22848
23122
  declare function importParserJsonc(): Promise<{
22849
23123
  parserJsonc: typeof jsonc_eslint_parser;