@jsse/eslint-config 0.2.30 → 0.2.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -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
  }
@@ -6713,31 +6713,31 @@ type JsoncSpaceUnaryOps =
6713
6713
 
6714
6714
  interface MarkdownRuleOptions {
6715
6715
  /**
6716
- * Require languages for fenced code blocks.
6716
+ * Require languages for fenced code blocks
6717
6717
  */
6718
6718
  "markdown/fenced-code-language"?: Linter.RuleEntry<MarkdownFencedCodeLanguage>;
6719
6719
  /**
6720
- * Enforce heading levels increment by one.
6720
+ * Enforce heading levels increment by one
6721
6721
  */
6722
6722
  "markdown/heading-increment"?: Linter.RuleEntry<[]>;
6723
6723
  /**
6724
- * Disallow duplicate headings in the same document.
6724
+ * Disallow duplicate headings in the same document
6725
6725
  */
6726
6726
  "markdown/no-duplicate-headings"?: Linter.RuleEntry<[]>;
6727
6727
  /**
6728
- * Disallow empty links.
6728
+ * Disallow empty links
6729
6729
  */
6730
6730
  "markdown/no-empty-links"?: Linter.RuleEntry<[]>;
6731
6731
  /**
6732
- * Disallow HTML tags.
6732
+ * Disallow HTML tags
6733
6733
  */
6734
6734
  "markdown/no-html"?: Linter.RuleEntry<MarkdownNoHtml>;
6735
6735
  /**
6736
- * Disallow invalid label references.
6736
+ * Disallow invalid label references
6737
6737
  */
6738
6738
  "markdown/no-invalid-label-refs"?: Linter.RuleEntry<[]>;
6739
6739
  /**
6740
- * Disallow missing label references.
6740
+ * Disallow missing label references
6741
6741
  */
6742
6742
  "markdown/no-missing-label-refs"?: Linter.RuleEntry<[]>;
6743
6743
  }
@@ -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";
10054
+
10055
+ ignoreCase?: boolean;
10056
+
10057
+ alphabet?: string;
10058
+
10059
+ locales?: string | string[];
10060
+
10061
+ order?: "asc" | "desc";
10006
10062
 
10007
- partitionByComment?: string[] | boolean | string;
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,7 +10238,75 @@ type PerfectionistSortEnums =
10164
10238
 
10165
10239
  order?: "asc" | "desc";
10166
10240
 
10241
+ forceNumericSort?: boolean;
10242
+ customGroups?:
10243
+ | {
10244
+ [k: string]: (string | string[]) | undefined;
10245
+ }
10246
+ | (
10247
+ | {
10248
+ groupName?: string;
10249
+
10250
+ type?:
10251
+ | "alphabetical"
10252
+ | "line-length"
10253
+ | "natural"
10254
+ | "unsorted";
10255
+
10256
+ order?: "desc" | "asc";
10257
+
10258
+ newlinesInside?: "always" | "never";
10259
+ anyOf?: {
10260
+ elementValuePattern?: string;
10261
+
10262
+ elementNamePattern?: string;
10263
+ }[];
10264
+ }
10265
+ | {
10266
+ groupName?: string;
10267
+
10268
+ type?:
10269
+ | "alphabetical"
10270
+ | "line-length"
10271
+ | "natural"
10272
+ | "unsorted";
10273
+
10274
+ order?: "desc" | "asc";
10275
+
10276
+ newlinesInside?: "always" | "never";
10277
+
10278
+ elementValuePattern?: string;
10279
+
10280
+ elementNamePattern?: string;
10281
+ }
10282
+ )[];
10283
+
10284
+ sortByValue?: boolean;
10285
+
10286
+ partitionByComment?:
10287
+ | string[]
10288
+ | boolean
10289
+ | string
10290
+ | {
10291
+ block?: string[] | boolean | string;
10292
+ line?: string[] | boolean | string;
10293
+ [k: string]: unknown | undefined;
10294
+ };
10295
+
10296
+ partitionByNewLine?: boolean;
10297
+
10298
+ newlinesBetween?: "ignore" | "always" | "never";
10299
+
10167
10300
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10301
+
10302
+ groups?: (
10303
+ | string
10304
+ | string[]
10305
+ | {
10306
+ newlinesBetween?: "ignore" | "always" | "never";
10307
+ [k: string]: unknown | undefined;
10308
+ }
10309
+ )[];
10168
10310
  },
10169
10311
  ];
10170
10312
  // ----- perfectionist/sort-exports -----
@@ -10172,12 +10314,6 @@ type PerfectionistSortExports =
10172
10314
  | []
10173
10315
  | [
10174
10316
  {
10175
- partitionByComment?: string[] | boolean | string;
10176
-
10177
- groupKind?: "mixed" | "values-first" | "types-first";
10178
-
10179
- partitionByNewLine?: boolean;
10180
-
10181
10317
  specialCharacters?: "remove" | "trim" | "keep";
10182
10318
 
10183
10319
  ignoreCase?: boolean;
@@ -10188,6 +10324,20 @@ type PerfectionistSortExports =
10188
10324
 
10189
10325
  order?: "asc" | "desc";
10190
10326
 
10327
+ groupKind?: "mixed" | "values-first" | "types-first";
10328
+
10329
+ partitionByComment?:
10330
+ | string[]
10331
+ | boolean
10332
+ | string
10333
+ | {
10334
+ block?: string[] | boolean | string;
10335
+ line?: string[] | boolean | string;
10336
+ [k: string]: unknown | undefined;
10337
+ };
10338
+
10339
+ partitionByNewLine?: boolean;
10340
+
10191
10341
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10192
10342
  },
10193
10343
  ];
@@ -10198,27 +10348,44 @@ type PerfectionistSortHeritageClauses =
10198
10348
  {
10199
10349
  specialCharacters?: "remove" | "trim" | "keep";
10200
10350
 
10201
- customGroups?: {
10202
- [k: string]: (string | string[]) | undefined;
10203
- };
10204
-
10205
10351
  ignoreCase?: boolean;
10206
10352
 
10207
10353
  alphabet?: string;
10208
10354
 
10209
10355
  locales?: string | string[];
10210
10356
 
10211
- groups?: (string | string[])[];
10212
-
10213
10357
  order?: "asc" | "desc";
10214
10358
 
10359
+ customGroups?: {
10360
+ [k: string]: (string | string[]) | undefined;
10361
+ };
10362
+
10215
10363
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10364
+
10365
+ groups?: (
10366
+ | string
10367
+ | string[]
10368
+ | {
10369
+ newlinesBetween?: "ignore" | "always" | "never";
10370
+ [k: string]: unknown | undefined;
10371
+ }
10372
+ )[];
10216
10373
  },
10217
10374
  ];
10218
10375
  // ----- perfectionist/sort-imports -----
10219
10376
  type PerfectionistSortImports = [] | [_PerfectionistSortImportsSortImports];
10220
10377
  type _PerfectionistSortImportsSortImports =
10221
10378
  _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
10379
+ specialCharacters?: "remove" | "trim" | "keep";
10380
+
10381
+ ignoreCase?: boolean;
10382
+
10383
+ alphabet?: string;
10384
+
10385
+ locales?: string | string[];
10386
+
10387
+ order?: "asc" | "desc";
10388
+
10222
10389
  customGroups?: {
10223
10390
  value?: {
10224
10391
  [k: string]: unknown | undefined;
@@ -10229,8 +10396,6 @@ type _PerfectionistSortImportsSortImports =
10229
10396
  };
10230
10397
  };
10231
10398
 
10232
- partitionByComment?: string[] | boolean | string;
10233
-
10234
10399
  internalPattern?: string[];
10235
10400
 
10236
10401
  maxLineLength?: number;
@@ -10241,23 +10406,30 @@ type _PerfectionistSortImportsSortImports =
10241
10406
 
10242
10407
  tsconfigRootDir?: string;
10243
10408
 
10244
- partitionByNewLine?: boolean;
10409
+ partitionByComment?:
10410
+ | string[]
10411
+ | boolean
10412
+ | string
10413
+ | {
10414
+ block?: string[] | boolean | string;
10415
+ line?: string[] | boolean | string;
10416
+ [k: string]: unknown | undefined;
10417
+ };
10245
10418
 
10246
- specialCharacters?: "remove" | "trim" | "keep";
10419
+ partitionByNewLine?: boolean;
10247
10420
 
10248
10421
  newlinesBetween?: "ignore" | "always" | "never";
10249
10422
 
10250
- ignoreCase?: boolean;
10251
-
10252
- alphabet?: string;
10253
-
10254
- locales?: string | string[];
10255
-
10256
- groups?: (string | string[])[];
10257
-
10258
- order?: "asc" | "desc";
10259
-
10260
10423
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10424
+
10425
+ groups?: (
10426
+ | string
10427
+ | string[]
10428
+ | {
10429
+ newlinesBetween?: "ignore" | "always" | "never";
10430
+ [k: string]: unknown | undefined;
10431
+ }
10432
+ )[];
10261
10433
  };
10262
10434
  type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType =
10263
10435
  | {
@@ -10269,110 +10441,136 @@ interface _PerfectionistSortImports_IsLineLength {
10269
10441
  [k: string]: unknown | undefined;
10270
10442
  }
10271
10443
  // ----- perfectionist/sort-interfaces -----
10272
- type PerfectionistSortInterfaces =
10273
- | []
10274
- | [
10275
- {
10276
- ignorePattern?: string[];
10444
+ type PerfectionistSortInterfaces = {
10445
+ specialCharacters?: "remove" | "trim" | "keep";
10277
10446
 
10278
- partitionByComment?: string[] | boolean | string;
10279
- customGroups?:
10280
- | {
10281
- [k: string]: (string | string[]) | undefined;
10282
- }
10283
- | (
10284
- | {
10285
- groupName?: string;
10447
+ ignoreCase?: boolean;
10286
10448
 
10287
- type?:
10288
- | "alphabetical"
10289
- | "line-length"
10290
- | "natural"
10291
- | "unsorted";
10449
+ alphabet?: string;
10292
10450
 
10293
- order?: "desc" | "asc";
10294
- anyOf?: {
10295
- modifiers?: ("optional" | "required" | "multiline")[];
10451
+ locales?: string | string[];
10296
10452
 
10297
- selector?:
10298
- | "index-signature"
10299
- | "member"
10300
- | "method"
10301
- | "multiline"
10302
- | "property";
10453
+ order?: "asc" | "desc";
10303
10454
 
10304
- elementNamePattern?: string;
10305
- }[];
10306
- }
10307
- | {
10308
- groupName?: string;
10455
+ ignorePattern?: string[];
10456
+ useConfigurationIf?: {
10457
+ allNamesMatchPattern?: string;
10458
+ declarationMatchesPattern?: string;
10459
+ };
10460
+ customGroups?:
10461
+ | {
10462
+ [k: string]: (string | string[]) | undefined;
10463
+ }
10464
+ | (
10465
+ | {
10466
+ groupName?: string;
10309
10467
 
10310
- type?:
10311
- | "alphabetical"
10312
- | "line-length"
10313
- | "natural"
10314
- | "unsorted";
10468
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10315
10469
 
10316
- order?: "desc" | "asc";
10470
+ order?: "desc" | "asc";
10317
10471
 
10318
- modifiers?: ("optional" | "required" | "multiline")[];
10472
+ newlinesInside?: "always" | "never";
10473
+ anyOf?: {
10474
+ modifiers?: ("optional" | "required" | "multiline")[];
10319
10475
 
10320
- selector?:
10321
- | "index-signature"
10322
- | "member"
10323
- | "method"
10324
- | "multiline"
10325
- | "property";
10476
+ selector?:
10477
+ | "index-signature"
10478
+ | "member"
10479
+ | "method"
10480
+ | "multiline"
10481
+ | "property";
10326
10482
 
10327
- elementNamePattern?: string;
10328
- }
10329
- )[];
10483
+ elementNamePattern?: string;
10484
+ }[];
10485
+ }
10486
+ | {
10487
+ groupName?: string;
10330
10488
 
10331
- groupKind?: "mixed" | "required-first" | "optional-first";
10489
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10332
10490
 
10333
- partitionByNewLine?: boolean;
10491
+ order?: "desc" | "asc";
10334
10492
 
10335
- specialCharacters?: "remove" | "trim" | "keep";
10493
+ newlinesInside?: "always" | "never";
10336
10494
 
10337
- newlinesBetween?: "ignore" | "always" | "never";
10495
+ modifiers?: ("optional" | "required" | "multiline")[];
10338
10496
 
10339
- ignoreCase?: boolean;
10497
+ selector?:
10498
+ | "index-signature"
10499
+ | "member"
10500
+ | "method"
10501
+ | "multiline"
10502
+ | "property";
10340
10503
 
10341
- alphabet?: string;
10504
+ elementNamePattern?: string;
10505
+ }
10506
+ )[];
10342
10507
 
10343
- locales?: string | string[];
10508
+ groupKind?: "mixed" | "required-first" | "optional-first";
10344
10509
 
10345
- groups?: (string | string[])[];
10510
+ type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
10346
10511
 
10347
- order?: "asc" | "desc";
10512
+ partitionByComment?:
10513
+ | string[]
10514
+ | boolean
10515
+ | string
10516
+ | {
10517
+ block?: string[] | boolean | string;
10518
+ line?: string[] | boolean | string;
10519
+ [k: string]: unknown | undefined;
10520
+ };
10348
10521
 
10349
- type?: "alphabetical" | "natural" | "line-length" | "custom";
10350
- },
10351
- ];
10522
+ partitionByNewLine?: boolean;
10523
+
10524
+ newlinesBetween?: "ignore" | "always" | "never";
10525
+
10526
+ groups?: (
10527
+ | string
10528
+ | string[]
10529
+ | {
10530
+ newlinesBetween?: "ignore" | "always" | "never";
10531
+ [k: string]: unknown | undefined;
10532
+ }
10533
+ )[];
10534
+ }[];
10352
10535
  // ----- perfectionist/sort-intersection-types -----
10353
10536
  type PerfectionistSortIntersectionTypes =
10354
10537
  | []
10355
10538
  | [
10356
10539
  {
10357
- partitionByComment?: string[] | boolean | string;
10358
-
10359
- partitionByNewLine?: boolean;
10360
-
10361
10540
  specialCharacters?: "remove" | "trim" | "keep";
10362
10541
 
10363
- newlinesBetween?: "ignore" | "always" | "never";
10364
-
10365
10542
  ignoreCase?: boolean;
10366
10543
 
10367
10544
  alphabet?: string;
10368
10545
 
10369
10546
  locales?: string | string[];
10370
10547
 
10371
- groups?: (string | string[])[];
10372
-
10373
10548
  order?: "asc" | "desc";
10374
10549
 
10550
+ partitionByComment?:
10551
+ | string[]
10552
+ | boolean
10553
+ | string
10554
+ | {
10555
+ block?: string[] | boolean | string;
10556
+ line?: string[] | boolean | string;
10557
+ [k: string]: unknown | undefined;
10558
+ };
10559
+
10560
+ partitionByNewLine?: boolean;
10561
+
10562
+ newlinesBetween?: "ignore" | "always" | "never";
10563
+
10375
10564
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10565
+
10566
+ groups?: (
10567
+ | string
10568
+ | string[]
10569
+ | {
10570
+ newlinesBetween?: "ignore" | "always" | "never";
10571
+ [k: string]: unknown | undefined;
10572
+ }
10573
+ )[];
10376
10574
  },
10377
10575
  ];
10378
10576
  // ----- perfectionist/sort-jsx-props -----
@@ -10380,55 +10578,118 @@ type PerfectionistSortJsxProps =
10380
10578
  | []
10381
10579
  | [
10382
10580
  {
10383
- ignorePattern?: string[];
10384
-
10385
10581
  specialCharacters?: "remove" | "trim" | "keep";
10386
10582
 
10387
- customGroups?: {
10388
- [k: string]: (string | string[]) | undefined;
10389
- };
10390
-
10391
10583
  ignoreCase?: boolean;
10392
10584
 
10393
10585
  alphabet?: string;
10394
10586
 
10395
10587
  locales?: string | string[];
10396
10588
 
10397
- groups?: (string | string[])[];
10398
-
10399
10589
  order?: "asc" | "desc";
10400
10590
 
10591
+ ignorePattern?: string[];
10592
+
10593
+ partitionByNewLine?: boolean;
10594
+
10595
+ newlinesBetween?: "ignore" | "always" | "never";
10596
+
10597
+ customGroups?: {
10598
+ [k: string]: (string | string[]) | undefined;
10599
+ };
10600
+
10401
10601
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10602
+
10603
+ groups?: (
10604
+ | string
10605
+ | string[]
10606
+ | {
10607
+ newlinesBetween?: "ignore" | "always" | "never";
10608
+ [k: string]: unknown | undefined;
10609
+ }
10610
+ )[];
10402
10611
  },
10403
10612
  ];
10404
10613
  // ----- perfectionist/sort-maps -----
10405
- type PerfectionistSortMaps =
10406
- | []
10407
- | [
10408
- {
10409
- partitionByComment?: string[] | boolean | string;
10614
+ type PerfectionistSortMaps = {
10615
+ specialCharacters?: "remove" | "trim" | "keep";
10410
10616
 
10411
- partitionByNewLine?: boolean;
10617
+ ignoreCase?: boolean;
10412
10618
 
10413
- specialCharacters?: "remove" | "trim" | "keep";
10619
+ alphabet?: string;
10414
10620
 
10415
- ignoreCase?: boolean;
10621
+ locales?: string | string[];
10416
10622
 
10417
- alphabet?: string;
10623
+ order?: "asc" | "desc";
10418
10624
 
10419
- locales?: string | string[];
10625
+ customGroups?: (
10626
+ | {
10627
+ groupName?: string;
10420
10628
 
10421
- order?: "asc" | "desc";
10629
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10422
10630
 
10423
- type?: "alphabetical" | "natural" | "line-length" | "custom";
10424
- },
10425
- ];
10631
+ order?: "desc" | "asc";
10632
+
10633
+ newlinesInside?: "always" | "never";
10634
+ anyOf?: {
10635
+ elementNamePattern?: string;
10636
+ }[];
10637
+ }
10638
+ | {
10639
+ groupName?: string;
10640
+
10641
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10642
+
10643
+ order?: "desc" | "asc";
10644
+
10645
+ newlinesInside?: "always" | "never";
10646
+
10647
+ elementNamePattern?: string;
10648
+ }
10649
+ )[];
10650
+ useConfigurationIf?: {
10651
+ allNamesMatchPattern?: string;
10652
+ };
10653
+
10654
+ partitionByComment?:
10655
+ | string[]
10656
+ | boolean
10657
+ | string
10658
+ | {
10659
+ block?: string[] | boolean | string;
10660
+ line?: string[] | boolean | string;
10661
+ [k: string]: unknown | undefined;
10662
+ };
10663
+
10664
+ partitionByNewLine?: boolean;
10665
+
10666
+ newlinesBetween?: "ignore" | "always" | "never";
10667
+
10668
+ type?: "alphabetical" | "natural" | "line-length" | "custom";
10669
+
10670
+ groups?: (
10671
+ | string
10672
+ | string[]
10673
+ | {
10674
+ newlinesBetween?: "ignore" | "always" | "never";
10675
+ [k: string]: unknown | undefined;
10676
+ }
10677
+ )[];
10678
+ }[];
10426
10679
  // ----- perfectionist/sort-modules -----
10427
10680
  type PerfectionistSortModules =
10428
10681
  | []
10429
10682
  | [
10430
10683
  {
10431
- partitionByComment?: string[] | boolean | string;
10684
+ specialCharacters?: "remove" | "trim" | "keep";
10685
+
10686
+ ignoreCase?: boolean;
10687
+
10688
+ alphabet?: string;
10689
+
10690
+ locales?: string | string[];
10691
+
10692
+ order?: "asc" | "desc";
10432
10693
 
10433
10694
  customGroups?: (
10434
10695
  | {
@@ -10437,6 +10698,8 @@ type PerfectionistSortModules =
10437
10698
  type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10438
10699
 
10439
10700
  order?: "desc" | "asc";
10701
+
10702
+ newlinesInside?: "always" | "never";
10440
10703
  anyOf?: {
10441
10704
  decoratorNamePattern?: string;
10442
10705
 
@@ -10460,6 +10723,8 @@ type PerfectionistSortModules =
10460
10723
 
10461
10724
  order?: "desc" | "asc";
10462
10725
 
10726
+ newlinesInside?: "always" | "never";
10727
+
10463
10728
  decoratorNamePattern?: string;
10464
10729
 
10465
10730
  modifiers?: (
@@ -10476,23 +10741,30 @@ type PerfectionistSortModules =
10476
10741
  }
10477
10742
  )[];
10478
10743
 
10479
- partitionByNewLine?: boolean;
10744
+ partitionByComment?:
10745
+ | string[]
10746
+ | boolean
10747
+ | string
10748
+ | {
10749
+ block?: string[] | boolean | string;
10750
+ line?: string[] | boolean | string;
10751
+ [k: string]: unknown | undefined;
10752
+ };
10480
10753
 
10481
- specialCharacters?: "remove" | "trim" | "keep";
10754
+ partitionByNewLine?: boolean;
10482
10755
 
10483
10756
  newlinesBetween?: "ignore" | "always" | "never";
10484
10757
 
10485
- ignoreCase?: boolean;
10486
-
10487
- alphabet?: string;
10488
-
10489
- locales?: string | string[];
10490
-
10491
- groups?: (string | string[])[];
10492
-
10493
- order?: "asc" | "desc";
10494
-
10495
10758
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10759
+
10760
+ groups?: (
10761
+ | string
10762
+ | string[]
10763
+ | {
10764
+ newlinesBetween?: "ignore" | "always" | "never";
10765
+ [k: string]: unknown | undefined;
10766
+ }
10767
+ )[];
10496
10768
  },
10497
10769
  ];
10498
10770
  // ----- perfectionist/sort-named-exports -----
@@ -10500,12 +10772,6 @@ type PerfectionistSortNamedExports =
10500
10772
  | []
10501
10773
  | [
10502
10774
  {
10503
- partitionByComment?: string[] | boolean | string;
10504
-
10505
- groupKind?: "mixed" | "values-first" | "types-first";
10506
-
10507
- partitionByNewLine?: boolean;
10508
-
10509
10775
  specialCharacters?: "remove" | "trim" | "keep";
10510
10776
 
10511
10777
  ignoreCase?: boolean;
@@ -10516,6 +10782,22 @@ type PerfectionistSortNamedExports =
10516
10782
 
10517
10783
  order?: "asc" | "desc";
10518
10784
 
10785
+ groupKind?: "mixed" | "values-first" | "types-first";
10786
+
10787
+ ignoreAlias?: boolean;
10788
+
10789
+ partitionByComment?:
10790
+ | string[]
10791
+ | boolean
10792
+ | string
10793
+ | {
10794
+ block?: string[] | boolean | string;
10795
+ line?: string[] | boolean | string;
10796
+ [k: string]: unknown | undefined;
10797
+ };
10798
+
10799
+ partitionByNewLine?: boolean;
10800
+
10519
10801
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10520
10802
  },
10521
10803
  ];
@@ -10524,14 +10806,6 @@ type PerfectionistSortNamedImports =
10524
10806
  | []
10525
10807
  | [
10526
10808
  {
10527
- partitionByComment?: string[] | boolean | string;
10528
-
10529
- groupKind?: "mixed" | "values-first" | "types-first";
10530
-
10531
- ignoreAlias?: boolean;
10532
-
10533
- partitionByNewLine?: boolean;
10534
-
10535
10809
  specialCharacters?: "remove" | "trim" | "keep";
10536
10810
 
10537
10811
  ignoreCase?: boolean;
@@ -10542,101 +10816,181 @@ type PerfectionistSortNamedImports =
10542
10816
 
10543
10817
  order?: "asc" | "desc";
10544
10818
 
10819
+ groupKind?: "mixed" | "values-first" | "types-first";
10820
+
10821
+ ignoreAlias?: boolean;
10822
+
10823
+ partitionByComment?:
10824
+ | string[]
10825
+ | boolean
10826
+ | string
10827
+ | {
10828
+ block?: string[] | boolean | string;
10829
+ line?: string[] | boolean | string;
10830
+ [k: string]: unknown | undefined;
10831
+ };
10832
+
10833
+ partitionByNewLine?: boolean;
10834
+
10545
10835
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10546
10836
  },
10547
10837
  ];
10548
10838
  // ----- perfectionist/sort-object-types -----
10549
- type PerfectionistSortObjectTypes =
10550
- | []
10551
- | [
10552
- {
10553
- ignorePattern?: string[];
10839
+ type PerfectionistSortObjectTypes = {
10840
+ specialCharacters?: "remove" | "trim" | "keep";
10554
10841
 
10555
- partitionByComment?: string[] | boolean | string;
10556
- customGroups?:
10557
- | {
10558
- [k: string]: (string | string[]) | undefined;
10559
- }
10560
- | (
10561
- | {
10562
- groupName?: string;
10842
+ ignoreCase?: boolean;
10563
10843
 
10564
- type?:
10565
- | "alphabetical"
10566
- | "line-length"
10567
- | "natural"
10568
- | "unsorted";
10844
+ alphabet?: string;
10569
10845
 
10570
- order?: "desc" | "asc";
10571
- anyOf?: {
10572
- modifiers?: ("optional" | "required" | "multiline")[];
10846
+ locales?: string | string[];
10573
10847
 
10574
- selector?:
10575
- | "index-signature"
10576
- | "member"
10577
- | "method"
10578
- | "multiline"
10579
- | "property";
10848
+ order?: "asc" | "desc";
10580
10849
 
10581
- elementNamePattern?: string;
10582
- }[];
10583
- }
10584
- | {
10585
- groupName?: string;
10850
+ ignorePattern?: string[];
10851
+ useConfigurationIf?: {
10852
+ allNamesMatchPattern?: string;
10853
+ declarationMatchesPattern?: string;
10854
+ };
10855
+ customGroups?:
10856
+ | {
10857
+ [k: string]: (string | string[]) | undefined;
10858
+ }
10859
+ | (
10860
+ | {
10861
+ groupName?: string;
10586
10862
 
10587
- type?:
10588
- | "alphabetical"
10589
- | "line-length"
10590
- | "natural"
10591
- | "unsorted";
10863
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10592
10864
 
10593
- order?: "desc" | "asc";
10865
+ order?: "desc" | "asc";
10866
+
10867
+ newlinesInside?: "always" | "never";
10868
+ anyOf?: {
10869
+ modifiers?: ("optional" | "required" | "multiline")[];
10870
+
10871
+ selector?:
10872
+ | "index-signature"
10873
+ | "member"
10874
+ | "method"
10875
+ | "multiline"
10876
+ | "property";
10877
+
10878
+ elementNamePattern?: string;
10879
+ }[];
10880
+ }
10881
+ | {
10882
+ groupName?: string;
10883
+
10884
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10594
10885
 
10595
- modifiers?: ("optional" | "required" | "multiline")[];
10886
+ order?: "desc" | "asc";
10596
10887
 
10597
- selector?:
10598
- | "index-signature"
10599
- | "member"
10600
- | "method"
10601
- | "multiline"
10602
- | "property";
10888
+ newlinesInside?: "always" | "never";
10889
+
10890
+ modifiers?: ("optional" | "required" | "multiline")[];
10891
+
10892
+ selector?:
10893
+ | "index-signature"
10894
+ | "member"
10895
+ | "method"
10896
+ | "multiline"
10897
+ | "property";
10898
+
10899
+ elementNamePattern?: string;
10900
+ }
10901
+ )[];
10902
+
10903
+ groupKind?: "mixed" | "required-first" | "optional-first";
10904
+
10905
+ type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
10906
+
10907
+ partitionByComment?:
10908
+ | string[]
10909
+ | boolean
10910
+ | string
10911
+ | {
10912
+ block?: string[] | boolean | string;
10913
+ line?: string[] | boolean | string;
10914
+ [k: string]: unknown | undefined;
10915
+ };
10916
+
10917
+ partitionByNewLine?: boolean;
10918
+
10919
+ newlinesBetween?: "ignore" | "always" | "never";
10920
+
10921
+ groups?: (
10922
+ | string
10923
+ | string[]
10924
+ | {
10925
+ newlinesBetween?: "ignore" | "always" | "never";
10926
+ [k: string]: unknown | undefined;
10927
+ }
10928
+ )[];
10929
+ }[];
10930
+ // ----- perfectionist/sort-objects -----
10931
+ type PerfectionistSortObjects = {
10932
+ specialCharacters?: "remove" | "trim" | "keep";
10933
+
10934
+ ignoreCase?: boolean;
10935
+
10936
+ alphabet?: string;
10937
+
10938
+ locales?: string | string[];
10939
+
10940
+ order?: "asc" | "desc";
10941
+
10942
+ destructuredObjects?:
10943
+ | boolean
10944
+ | {
10945
+ groups?: boolean;
10946
+ };
10947
+
10948
+ ignorePattern?: string[];
10949
+ useConfigurationIf?: {
10950
+ allNamesMatchPattern?: string;
10951
+ callingFunctionNamePattern?: string;
10952
+ };
10953
+ customGroups?:
10954
+ | {
10955
+ [k: string]: (string | string[]) | undefined;
10956
+ }
10957
+ | (
10958
+ | {
10959
+ groupName?: string;
10603
10960
 
10604
- elementNamePattern?: string;
10605
- }
10606
- )[];
10961
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10607
10962
 
10608
- groupKind?: "mixed" | "required-first" | "optional-first";
10963
+ order?: "desc" | "asc";
10609
10964
 
10610
- partitionByNewLine?: boolean;
10965
+ newlinesInside?: "always" | "never";
10966
+ anyOf?: {
10967
+ modifiers?: ("optional" | "required" | "multiline")[];
10611
10968
 
10612
- specialCharacters?: "remove" | "trim" | "keep";
10969
+ selector?: "member" | "method" | "multiline" | "property";
10613
10970
 
10614
- newlinesBetween?: "ignore" | "always" | "never";
10971
+ elementValuePattern?: string;
10615
10972
 
10616
- ignoreCase?: boolean;
10973
+ elementNamePattern?: string;
10974
+ }[];
10975
+ }
10976
+ | {
10977
+ groupName?: string;
10617
10978
 
10618
- alphabet?: string;
10979
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10619
10980
 
10620
- locales?: string | string[];
10981
+ order?: "desc" | "asc";
10621
10982
 
10622
- groups?: (string | string[])[];
10983
+ newlinesInside?: "always" | "never";
10623
10984
 
10624
- order?: "asc" | "desc";
10985
+ modifiers?: ("optional" | "required" | "multiline")[];
10625
10986
 
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
- };
10987
+ selector?: "member" | "method" | "multiline" | "property";
10636
10988
 
10637
- ignorePattern?: string[];
10989
+ elementValuePattern?: string;
10638
10990
 
10639
- partitionByComment?: string[] | boolean | string;
10991
+ elementNamePattern?: string;
10992
+ }
10993
+ )[];
10640
10994
 
10641
10995
  destructureOnly?: boolean;
10642
10996
 
@@ -10644,18 +10998,34 @@ type PerfectionistSortObjects = {
10644
10998
 
10645
10999
  styledComponents?: boolean;
10646
11000
 
10647
- partitionByNewLine?: boolean;
10648
- useConfigurationIf?: {
10649
- allNamesMatchPattern?: string;
10650
- };
11001
+ type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
10651
11002
 
10652
- specialCharacters?: "remove" | "trim" | "keep";
11003
+ partitionByComment?:
11004
+ | string[]
11005
+ | boolean
11006
+ | string
11007
+ | {
11008
+ block?: string[] | boolean | string;
11009
+ line?: string[] | boolean | string;
11010
+ [k: string]: unknown | undefined;
11011
+ };
11012
+
11013
+ partitionByNewLine?: boolean;
10653
11014
 
10654
11015
  newlinesBetween?: "ignore" | "always" | "never";
10655
11016
 
10656
- customGroups?: {
10657
- [k: string]: (string | string[]) | undefined;
10658
- };
11017
+ groups?: (
11018
+ | string
11019
+ | string[]
11020
+ | {
11021
+ newlinesBetween?: "ignore" | "always" | "never";
11022
+ [k: string]: unknown | undefined;
11023
+ }
11024
+ )[];
11025
+ }[];
11026
+ // ----- perfectionist/sort-sets -----
11027
+ type PerfectionistSortSets = {
11028
+ specialCharacters?: "remove" | "trim" | "keep";
10659
11029
 
10660
11030
  ignoreCase?: boolean;
10661
11031
 
@@ -10663,36 +11033,68 @@ type PerfectionistSortObjects = {
10663
11033
 
10664
11034
  locales?: string | string[];
10665
11035
 
10666
- groups?: (string | string[])[];
10667
-
10668
11036
  order?: "asc" | "desc";
10669
11037
 
10670
- type?: "alphabetical" | "natural" | "line-length" | "custom";
10671
- }[];
10672
- // ----- perfectionist/sort-sets -----
10673
- type PerfectionistSortSets =
10674
- | []
10675
- | [
10676
- {
10677
- partitionByComment?: string[] | boolean | string;
11038
+ groupKind?: "mixed" | "literals-first" | "spreads-first";
10678
11039
 
10679
- groupKind?: "mixed" | "literals-first" | "spreads-first";
11040
+ customGroups?: (
11041
+ | {
11042
+ groupName?: string;
10680
11043
 
10681
- partitionByNewLine?: boolean;
11044
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10682
11045
 
10683
- specialCharacters?: "remove" | "trim" | "keep";
11046
+ order?: "desc" | "asc";
10684
11047
 
10685
- ignoreCase?: boolean;
11048
+ newlinesInside?: "always" | "never";
11049
+ anyOf?: {
11050
+ selector?: "literal" | "spread";
10686
11051
 
10687
- alphabet?: string;
11052
+ elementNamePattern?: string;
11053
+ }[];
11054
+ }
11055
+ | {
11056
+ groupName?: string;
10688
11057
 
10689
- locales?: string | string[];
11058
+ type?: "alphabetical" | "line-length" | "natural" | "unsorted";
10690
11059
 
10691
- order?: "asc" | "desc";
11060
+ order?: "desc" | "asc";
10692
11061
 
10693
- type?: "alphabetical" | "natural" | "line-length" | "custom";
10694
- },
10695
- ];
11062
+ newlinesInside?: "always" | "never";
11063
+
11064
+ selector?: "literal" | "spread";
11065
+
11066
+ elementNamePattern?: string;
11067
+ }
11068
+ )[];
11069
+ useConfigurationIf?: {
11070
+ allNamesMatchPattern?: string;
11071
+ };
11072
+
11073
+ type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
11074
+
11075
+ partitionByComment?:
11076
+ | string[]
11077
+ | boolean
11078
+ | string
11079
+ | {
11080
+ block?: string[] | boolean | string;
11081
+ line?: string[] | boolean | string;
11082
+ [k: string]: unknown | undefined;
11083
+ };
11084
+
11085
+ partitionByNewLine?: boolean;
11086
+
11087
+ newlinesBetween?: "ignore" | "always" | "never";
11088
+
11089
+ groups?: (
11090
+ | string
11091
+ | string[]
11092
+ | {
11093
+ newlinesBetween?: "ignore" | "always" | "never";
11094
+ [k: string]: unknown | undefined;
11095
+ }
11096
+ )[];
11097
+ }[];
10696
11098
  // ----- perfectionist/sort-switch-case -----
10697
11099
  type PerfectionistSortSwitchCase =
10698
11100
  | []
@@ -10716,25 +11118,40 @@ type PerfectionistSortUnionTypes =
10716
11118
  | []
10717
11119
  | [
10718
11120
  {
10719
- partitionByComment?: string[] | boolean | string;
10720
-
10721
- partitionByNewLine?: boolean;
10722
-
10723
11121
  specialCharacters?: "remove" | "trim" | "keep";
10724
11122
 
10725
- newlinesBetween?: "ignore" | "always" | "never";
10726
-
10727
11123
  ignoreCase?: boolean;
10728
11124
 
10729
11125
  alphabet?: string;
10730
11126
 
10731
11127
  locales?: string | string[];
10732
11128
 
10733
- groups?: (string | string[])[];
10734
-
10735
11129
  order?: "asc" | "desc";
10736
11130
 
11131
+ partitionByComment?:
11132
+ | string[]
11133
+ | boolean
11134
+ | string
11135
+ | {
11136
+ block?: string[] | boolean | string;
11137
+ line?: string[] | boolean | string;
11138
+ [k: string]: unknown | undefined;
11139
+ };
11140
+
11141
+ partitionByNewLine?: boolean;
11142
+
11143
+ newlinesBetween?: "ignore" | "always" | "never";
11144
+
10737
11145
  type?: "alphabetical" | "natural" | "line-length" | "custom";
11146
+
11147
+ groups?: (
11148
+ | string
11149
+ | string[]
11150
+ | {
11151
+ newlinesBetween?: "ignore" | "always" | "never";
11152
+ [k: string]: unknown | undefined;
11153
+ }
11154
+ )[];
10738
11155
  },
10739
11156
  ];
10740
11157
  // ----- perfectionist/sort-variable-declarations -----
@@ -10742,10 +11159,6 @@ type PerfectionistSortVariableDeclarations =
10742
11159
  | []
10743
11160
  | [
10744
11161
  {
10745
- partitionByComment?: string[] | boolean | string;
10746
-
10747
- partitionByNewLine?: boolean;
10748
-
10749
11162
  specialCharacters?: "remove" | "trim" | "keep";
10750
11163
 
10751
11164
  ignoreCase?: boolean;
@@ -10756,6 +11169,18 @@ type PerfectionistSortVariableDeclarations =
10756
11169
 
10757
11170
  order?: "asc" | "desc";
10758
11171
 
11172
+ partitionByComment?:
11173
+ | string[]
11174
+ | boolean
11175
+ | string
11176
+ | {
11177
+ block?: string[] | boolean | string;
11178
+ line?: string[] | boolean | string;
11179
+ [k: string]: unknown | undefined;
11180
+ };
11181
+
11182
+ partitionByNewLine?: boolean;
11183
+
10759
11184
  type?: "alphabetical" | "natural" | "line-length" | "custom";
10760
11185
  },
10761
11186
  ];
@@ -13358,6 +13783,16 @@ type StylisticKeySpacing =
13358
13783
  mode?: "strict" | "minimum";
13359
13784
  beforeColon?: boolean;
13360
13785
  afterColon?: boolean;
13786
+ ignoredNodes?: (
13787
+ | "ObjectExpression"
13788
+ | "ObjectPattern"
13789
+ | "ImportDeclaration"
13790
+ | "ExportNamedDeclaration"
13791
+ | "ExportAllDeclaration"
13792
+ | "TSTypeLiteral"
13793
+ | "TSInterfaceBody"
13794
+ | "ClassBody"
13795
+ )[];
13361
13796
  }
13362
13797
  | {
13363
13798
  singleLine?: {
@@ -13994,6 +14429,7 @@ type StylisticNoExtraParens =
13994
14429
  enforceForNewInMemberExpressions?: boolean;
13995
14430
  enforceForFunctionPrototypeMethods?: boolean;
13996
14431
  allowParensAfterCommentPattern?: string;
14432
+ nestedConditionalExpressions?: boolean;
13997
14433
  },
13998
14434
  ];
13999
14435
  // ----- @stylistic/no-mixed-operators -----
@@ -14245,20 +14681,20 @@ type StylisticOperatorLinebreak =
14245
14681
  type StylisticPaddedBlocks =
14246
14682
  | []
14247
14683
  | [
14248
- | ("always" | "never")
14684
+ | ("always" | "never" | "start" | "end")
14249
14685
  | {
14250
- blocks?: "always" | "never";
14251
- switches?: "always" | "never";
14252
- classes?: "always" | "never";
14686
+ blocks?: "always" | "never" | "start" | "end";
14687
+ switches?: "always" | "never" | "start" | "end";
14688
+ classes?: "always" | "never" | "start" | "end";
14253
14689
  },
14254
14690
  ]
14255
14691
  | [
14256
14692
  (
14257
- | ("always" | "never")
14693
+ | ("always" | "never" | "start" | "end")
14258
14694
  | {
14259
- blocks?: "always" | "never";
14260
- switches?: "always" | "never";
14261
- classes?: "always" | "never";
14695
+ blocks?: "always" | "never" | "start" | "end";
14696
+ switches?: "always" | "never" | "start" | "end";
14697
+ classes?: "always" | "never" | "start" | "end";
14262
14698
  }
14263
14699
  ),
14264
14700
  {
@@ -14449,7 +14885,9 @@ type StylisticQuotes =
14449
14885
  | "avoid-escape"
14450
14886
  | {
14451
14887
  avoidEscape?: boolean;
14452
- allowTemplateLiterals?: boolean;
14888
+ allowTemplateLiterals?:
14889
+ | boolean
14890
+ | ("never" | "avoidEscape" | "always");
14453
14891
  ignoreStringLiterals?: boolean;
14454
14892
  }
14455
14893
  ),
@@ -14780,7 +15218,7 @@ interface VitestRuleOptions {
14780
15218
  */
14781
15219
  "vitest/padding-around-expect-groups"?: Linter.RuleEntry<[]>;
14782
15220
  /**
14783
- * Enforce padding around afterAll blocks
15221
+ * Enforce padding around `test` blocks
14784
15222
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
14785
15223
  */
14786
15224
  "vitest/padding-around-test-blocks"?: Linter.RuleEntry<[]>;
@@ -14885,7 +15323,7 @@ interface VitestRuleOptions {
14885
15323
  */
14886
15324
  "vitest/prefer-todo"?: Linter.RuleEntry<[]>;
14887
15325
  /**
14888
- * Prefer `vi.mocked()` over `fn as Mock`
15326
+ * require `vi.mocked()` over `fn as Mock`
14889
15327
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-vi-mocked.md
14890
15328
  */
14891
15329
  "vitest/prefer-vi-mocked"?: Linter.RuleEntry<[]>;
@@ -14922,7 +15360,7 @@ interface VitestRuleOptions {
14922
15360
  */
14923
15361
  "vitest/valid-expect"?: Linter.RuleEntry<VitestValidExpect>;
14924
15362
  /**
14925
- * Require promises that have expectations in their chain to be valid
15363
+ * require promises that have expectations in their chain to be valid
14926
15364
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect-in-promise.md
14927
15365
  */
14928
15366
  "vitest/valid-expect-in-promise"?: Linter.RuleEntry<[]>;
@@ -15026,8 +15464,7 @@ type VitestNoStandaloneExpect =
15026
15464
  | []
15027
15465
  | [
15028
15466
  {
15029
- additionaltestblockfunctions?: string[];
15030
- [k: string]: unknown | undefined;
15467
+ additionalTestBlockFunctions?: string[];
15031
15468
  },
15032
15469
  ];
15033
15470
  // ----- vitest/prefer-expect-assertions -----
@@ -15458,7 +15895,7 @@ interface TypescriptRuleOptions {
15458
15895
  * Disallow using code marked as `@deprecated`
15459
15896
  * @see https://typescript-eslint.io/rules/no-deprecated
15460
15897
  */
15461
- "@typescript-eslint/no-deprecated"?: Linter.RuleEntry<[]>;
15898
+ "@typescript-eslint/no-deprecated"?: Linter.RuleEntry<TypescriptEslintNoDeprecated>;
15462
15899
  /**
15463
15900
  * Disallow duplicate class members
15464
15901
  * @see https://typescript-eslint.io/rules/no-dupe-class-members
@@ -15576,6 +16013,11 @@ interface TypescriptRuleOptions {
15576
16013
  * @see https://typescript-eslint.io/rules/no-misused-promises
15577
16014
  */
15578
16015
  "@typescript-eslint/no-misused-promises"?: Linter.RuleEntry<TypescriptEslintNoMisusedPromises>;
16016
+ /**
16017
+ * Disallow using the spread operator when it might cause unexpected behavior
16018
+ * @see https://typescript-eslint.io/rules/no-misused-spread
16019
+ */
16020
+ "@typescript-eslint/no-misused-spread"?: Linter.RuleEntry<TypescriptEslintNoMisusedSpread>;
15579
16021
  /**
15580
16022
  * Disallow enums from having both number and string members
15581
16023
  * @see https://typescript-eslint.io/rules/no-mixed-enums
@@ -15782,7 +16224,7 @@ interface TypescriptRuleOptions {
15782
16224
  */
15783
16225
  "@typescript-eslint/no-wrapper-object-types"?: Linter.RuleEntry<[]>;
15784
16226
  /**
15785
- * Enforce non-null assertions over explicit type casts
16227
+ * Enforce non-null assertions over explicit type assertions
15786
16228
  * @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
15787
16229
  */
15788
16230
  "@typescript-eslint/non-nullable-type-assertion-style"?: Linter.RuleEntry<[]>;
@@ -15867,7 +16309,7 @@ interface TypescriptRuleOptions {
15867
16309
  */
15868
16310
  "@typescript-eslint/prefer-readonly-parameter-types"?: Linter.RuleEntry<TypescriptEslintPreferReadonlyParameterTypes>;
15869
16311
  /**
15870
- * Enforce using type parameter when calling `Array#reduce` instead of casting
16312
+ * Enforce using type parameter when calling `Array#reduce` instead of using a type assertion
15871
16313
  * @see https://typescript-eslint.io/rules/prefer-reduce-type-parameter
15872
16314
  */
15873
16315
  "@typescript-eslint/prefer-reduce-type-parameter"?: Linter.RuleEntry<[]>;
@@ -15972,233 +16414,233 @@ interface TypescriptRuleOptions {
15972
16414
  >;
15973
16415
  /**
15974
16416
  * 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
16417
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/consistent-type-specifier-style.md
15976
16418
  */
15977
16419
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
15978
16420
  /**
15979
16421
  * 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
16422
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/default.md
15981
16423
  */
15982
16424
  "import/default"?: Linter.RuleEntry<[]>;
15983
16425
  /**
15984
16426
  * 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
16427
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/dynamic-import-chunkname.md
15986
16428
  */
15987
16429
  "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname>;
15988
16430
  /**
15989
16431
  * 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
16432
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/export.md
15991
16433
  */
15992
16434
  "import/export"?: Linter.RuleEntry<[]>;
15993
16435
  /**
15994
16436
  * 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
16437
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/exports-last.md
15996
16438
  */
15997
16439
  "import/exports-last"?: Linter.RuleEntry<[]>;
15998
16440
  /**
15999
16441
  * 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
16442
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/extensions.md
16001
16443
  */
16002
16444
  "import/extensions"?: Linter.RuleEntry<ImportExtensions>;
16003
16445
  /**
16004
16446
  * 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
16447
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/first.md
16006
16448
  */
16007
16449
  "import/first"?: Linter.RuleEntry<ImportFirst>;
16008
16450
  /**
16009
16451
  * 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
16452
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/group-exports.md
16011
16453
  */
16012
16454
  "import/group-exports"?: Linter.RuleEntry<[]>;
16013
16455
  /**
16014
16456
  * 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
16457
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/imports-first.md
16016
16458
  * @deprecated
16017
16459
  */
16018
16460
  "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst>;
16019
16461
  /**
16020
16462
  * 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
16463
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/max-dependencies.md
16022
16464
  */
16023
16465
  "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies>;
16024
16466
  /**
16025
16467
  * 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
16468
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/named.md
16027
16469
  */
16028
16470
  "import/named"?: Linter.RuleEntry<ImportNamed>;
16029
16471
  /**
16030
16472
  * 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
16473
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/namespace.md
16032
16474
  */
16033
16475
  "import/namespace"?: Linter.RuleEntry<ImportNamespace>;
16034
16476
  /**
16035
16477
  * 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
16478
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/newline-after-import.md
16037
16479
  */
16038
16480
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport>;
16039
16481
  /**
16040
16482
  * 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
16483
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-absolute-path.md
16042
16484
  */
16043
16485
  "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath>;
16044
16486
  /**
16045
16487
  * 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
16488
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-amd.md
16047
16489
  */
16048
16490
  "import/no-amd"?: Linter.RuleEntry<[]>;
16049
16491
  /**
16050
16492
  * 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
16493
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-anonymous-default-export.md
16052
16494
  */
16053
16495
  "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
16054
16496
  /**
16055
16497
  * 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
16498
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-commonjs.md
16057
16499
  */
16058
16500
  "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs>;
16059
16501
  /**
16060
16502
  * 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
16503
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-cycle.md
16062
16504
  */
16063
16505
  "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle>;
16064
16506
  /**
16065
16507
  * Forbid default exports.
16066
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-default-export.md
16508
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-default-export.md
16067
16509
  */
16068
16510
  "import/no-default-export"?: Linter.RuleEntry<[]>;
16069
16511
  /**
16070
16512
  * 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
16513
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-deprecated.md
16072
16514
  */
16073
16515
  "import/no-deprecated"?: Linter.RuleEntry<[]>;
16074
16516
  /**
16075
16517
  * 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
16518
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-duplicates.md
16077
16519
  */
16078
16520
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates>;
16079
16521
  /**
16080
16522
  * 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
16523
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-dynamic-require.md
16082
16524
  */
16083
16525
  "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire>;
16084
16526
  /**
16085
16527
  * 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
16528
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-empty-named-blocks.md
16087
16529
  */
16088
16530
  "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
16089
16531
  /**
16090
16532
  * 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
16533
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-extraneous-dependencies.md
16092
16534
  */
16093
16535
  "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
16094
16536
  /**
16095
16537
  * 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
16538
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-import-module-exports.md
16097
16539
  */
16098
16540
  "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports>;
16099
16541
  /**
16100
16542
  * 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
16543
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-internal-modules.md
16102
16544
  */
16103
16545
  "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules>;
16104
16546
  /**
16105
16547
  * 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
16548
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-mutable-exports.md
16107
16549
  */
16108
16550
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
16109
16551
  /**
16110
16552
  * 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
16553
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default.md
16112
16554
  */
16113
16555
  "import/no-named-as-default"?: Linter.RuleEntry<[]>;
16114
16556
  /**
16115
16557
  * 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
16558
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default-member.md
16117
16559
  */
16118
16560
  "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
16119
16561
  /**
16120
16562
  * 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
16563
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-default.md
16122
16564
  */
16123
16565
  "import/no-named-default"?: Linter.RuleEntry<[]>;
16124
16566
  /**
16125
16567
  * Forbid named exports.
16126
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-export.md
16568
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-export.md
16127
16569
  */
16128
16570
  "import/no-named-export"?: Linter.RuleEntry<[]>;
16129
16571
  /**
16130
16572
  * 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
16573
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-namespace.md
16132
16574
  */
16133
16575
  "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace>;
16134
16576
  /**
16135
16577
  * 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
16578
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-nodejs-modules.md
16137
16579
  */
16138
16580
  "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules>;
16139
16581
  /**
16140
16582
  * 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
16583
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-packages.md
16142
16584
  */
16143
16585
  "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages>;
16144
16586
  /**
16145
16587
  * 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
16588
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-parent-imports.md
16147
16589
  */
16148
16590
  "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports>;
16149
16591
  /**
16150
16592
  * 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
16593
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-rename-default.md
16152
16594
  */
16153
16595
  "import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault>;
16154
16596
  /**
16155
16597
  * 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
16598
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-restricted-paths.md
16157
16599
  */
16158
16600
  "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths>;
16159
16601
  /**
16160
16602
  * 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
16603
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-self-import.md
16162
16604
  */
16163
16605
  "import/no-self-import"?: Linter.RuleEntry<[]>;
16164
16606
  /**
16165
16607
  * Forbid unassigned imports.
16166
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unassigned-import.md
16608
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unassigned-import.md
16167
16609
  */
16168
16610
  "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport>;
16169
16611
  /**
16170
16612
  * 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
16613
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unresolved.md
16172
16614
  */
16173
16615
  "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved>;
16174
16616
  /**
16175
16617
  * 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
16618
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unused-modules.md
16177
16619
  */
16178
16620
  "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules>;
16179
16621
  /**
16180
16622
  * 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
16623
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-useless-path-segments.md
16182
16624
  */
16183
16625
  "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments>;
16184
16626
  /**
16185
16627
  * 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
16628
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-webpack-loader-syntax.md
16187
16629
  */
16188
16630
  "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
16189
16631
  /**
16190
16632
  * 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
16633
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/order.md
16192
16634
  */
16193
16635
  "import/order"?: Linter.RuleEntry<ImportOrder>;
16194
16636
  /**
16195
16637
  * 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
16638
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/prefer-default-export.md
16197
16639
  */
16198
16640
  "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport>;
16199
16641
  /**
16200
16642
  * 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
16643
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/unambiguous.md
16202
16644
  */
16203
16645
  "import/unambiguous"?: Linter.RuleEntry<[]>;
16204
16646
  }
@@ -16286,7 +16728,9 @@ type TypescriptEslintConsistentTypeAssertions =
16286
16728
  assertionStyle: "never";
16287
16729
  }
16288
16730
  | {
16289
- assertionStyle: "as" | "angle-bracket";
16731
+ arrayLiteralTypeAssertions?: "allow" | "allow-as-parameter" | "never";
16732
+
16733
+ assertionStyle?: "as" | "angle-bracket";
16290
16734
 
16291
16735
  objectLiteralTypeAssertions?:
16292
16736
  | "allow"
@@ -18962,6 +19406,30 @@ type TypescriptEslintNoConfusingVoidExpression =
18962
19406
  ignoreVoidReturningFunctions?: boolean;
18963
19407
  },
18964
19408
  ];
19409
+ // ----- @typescript-eslint/no-deprecated -----
19410
+ type TypescriptEslintNoDeprecated =
19411
+ | []
19412
+ | [
19413
+ {
19414
+ allow?: (
19415
+ | string
19416
+ | {
19417
+ from: "file";
19418
+ name: string | [string, ...string[]];
19419
+ path?: string;
19420
+ }
19421
+ | {
19422
+ from: "lib";
19423
+ name: string | [string, ...string[]];
19424
+ }
19425
+ | {
19426
+ from: "package";
19427
+ name: string | [string, ...string[]];
19428
+ package: string;
19429
+ }
19430
+ )[];
19431
+ },
19432
+ ];
18965
19433
  // ----- @typescript-eslint/no-duplicate-type-constituents -----
18966
19434
  type TypescriptEslintNoDuplicateTypeConstituents =
18967
19435
  | []
@@ -19170,6 +19638,30 @@ type TypescriptEslintNoMisusedPromises =
19170
19638
  };
19171
19639
  },
19172
19640
  ];
19641
+ // ----- @typescript-eslint/no-misused-spread -----
19642
+ type TypescriptEslintNoMisusedSpread =
19643
+ | []
19644
+ | [
19645
+ {
19646
+ allow?: (
19647
+ | string
19648
+ | {
19649
+ from: "file";
19650
+ name: string | [string, ...string[]];
19651
+ path?: string;
19652
+ }
19653
+ | {
19654
+ from: "lib";
19655
+ name: string | [string, ...string[]];
19656
+ }
19657
+ | {
19658
+ from: "package";
19659
+ name: string | [string, ...string[]];
19660
+ package: string;
19661
+ }
19662
+ )[];
19663
+ },
19664
+ ];
19173
19665
  // ----- @typescript-eslint/no-namespace -----
19174
19666
  type TypescriptEslintNoNamespace =
19175
19667
  | []
@@ -19276,7 +19768,7 @@ type TypescriptEslintNoShadow =
19276
19768
 
19277
19769
  builtinGlobals?: boolean;
19278
19770
 
19279
- hoist?: "all" | "functions" | "never";
19771
+ hoist?: "all" | "functions" | "functions-and-types" | "never" | "types";
19280
19772
 
19281
19773
  ignoreFunctionTypeParameterNameValueShadow?: boolean;
19282
19774
 
@@ -19345,6 +19837,8 @@ type TypescriptEslintNoUnnecessaryBooleanLiteralCompare =
19345
19837
  allowComparingNullableBooleansToFalse?: boolean;
19346
19838
 
19347
19839
  allowComparingNullableBooleansToTrue?: boolean;
19840
+
19841
+ allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean;
19348
19842
  },
19349
19843
  ];
19350
19844
  // ----- @typescript-eslint/no-unnecessary-condition -----
@@ -22032,7 +22526,7 @@ declare function jsse(options?: OptionsConfig & TypedFlatConfigItem, ...userConf
22032
22526
  declare function defineConfig(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: (TypedFlatConfigItem | TypedFlatConfigItem[])[]): Promise<TypedFlatConfigItem[]>;
22033
22527
  type DefineConfig = typeof defineConfig;
22034
22528
 
22035
- declare const VERSION = "0.2.30";
22529
+ declare const VERSION = "0.2.32";
22036
22530
 
22037
22531
  declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
22038
22532
  declare const GLOB_JS_SRC_EXT = "?([cm])js?(x)";
@@ -22103,27 +22597,7 @@ declare function importPluginReact(): Promise<{
22103
22597
  'forbid-elements': eslint.Rule.RuleModule;
22104
22598
  'forbid-foreign-prop-types': eslint.Rule.RuleModule;
22105
22599
  '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
- };
22600
+ 'forward-ref-uses-ref': eslint.Rule.RuleModule;
22127
22601
  'function-component-definition': eslint.Rule.RuleModule;
22128
22602
  'hook-use-state': eslint.Rule.RuleModule;
22129
22603
  'iframe-missing-sandbox': eslint.Rule.RuleModule;
@@ -22148,23 +22622,7 @@ declare function importPluginReact(): Promise<{
22148
22622
  'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
22149
22623
  'jsx-no-duplicate-props': eslint.Rule.RuleModule;
22150
22624
  '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
- };
22625
+ 'jsx-no-literals': eslint.Rule.RuleModule;
22168
22626
  'jsx-no-script-url': eslint.Rule.RuleModule;
22169
22627
  'jsx-no-target-blank': eslint.Rule.RuleModule;
22170
22628
  'jsx-no-useless-fragment': eslint.Rule.RuleModule;
@@ -22175,22 +22633,7 @@ declare function importPluginReact(): Promise<{
22175
22633
  'jsx-fragments': eslint.Rule.RuleModule;
22176
22634
  'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
22177
22635
  '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
- };
22636
+ 'jsx-props-no-spread-multi': eslint.Rule.RuleModule;
22194
22637
  'jsx-sort-default-props': eslint.Rule.RuleModule;
22195
22638
  'jsx-sort-props': eslint.Rule.RuleModule;
22196
22639
  'jsx-space-before-closing': eslint.Rule.RuleModule;
@@ -22259,27 +22702,7 @@ declare function importPluginReact(): Promise<{
22259
22702
  'forbid-elements': eslint.Rule.RuleModule;
22260
22703
  'forbid-foreign-prop-types': eslint.Rule.RuleModule;
22261
22704
  '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
- };
22705
+ 'forward-ref-uses-ref': eslint.Rule.RuleModule;
22283
22706
  'function-component-definition': eslint.Rule.RuleModule;
22284
22707
  'hook-use-state': eslint.Rule.RuleModule;
22285
22708
  'iframe-missing-sandbox': eslint.Rule.RuleModule;
@@ -22304,23 +22727,7 @@ declare function importPluginReact(): Promise<{
22304
22727
  'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
22305
22728
  'jsx-no-duplicate-props': eslint.Rule.RuleModule;
22306
22729
  '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
- };
22730
+ 'jsx-no-literals': eslint.Rule.RuleModule;
22324
22731
  'jsx-no-script-url': eslint.Rule.RuleModule;
22325
22732
  'jsx-no-target-blank': eslint.Rule.RuleModule;
22326
22733
  'jsx-no-useless-fragment': eslint.Rule.RuleModule;
@@ -22331,22 +22738,7 @@ declare function importPluginReact(): Promise<{
22331
22738
  'jsx-fragments': eslint.Rule.RuleModule;
22332
22739
  'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
22333
22740
  '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
- };
22741
+ 'jsx-props-no-spread-multi': eslint.Rule.RuleModule;
22350
22742
  'jsx-sort-default-props': eslint.Rule.RuleModule;
22351
22743
  'jsx-sort-props': eslint.Rule.RuleModule;
22352
22744
  'jsx-space-before-closing': eslint.Rule.RuleModule;
@@ -22412,28 +22804,28 @@ declare function importPluginReact(): Promise<{
22412
22804
  };
22413
22805
  };
22414
22806
  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;
22807
+ "react/display-name": 2;
22808
+ "react/jsx-key": 2;
22809
+ "react/jsx-no-comment-textnodes": 2;
22810
+ "react/jsx-no-duplicate-props": 2;
22811
+ "react/jsx-no-target-blank": 2;
22812
+ "react/jsx-no-undef": 2;
22813
+ "react/jsx-uses-react": 2;
22814
+ "react/jsx-uses-vars": 2;
22815
+ "react/no-children-prop": 2;
22816
+ "react/no-danger-with-children": 2;
22817
+ "react/no-deprecated": 2;
22818
+ "react/no-direct-mutation-state": 2;
22819
+ "react/no-find-dom-node": 2;
22820
+ "react/no-is-mounted": 2;
22821
+ "react/no-render-return-value": 2;
22822
+ "react/no-string-refs": 2;
22823
+ "react/no-unescaped-entities": 2;
22824
+ "react/no-unknown-property": 2;
22825
+ "react/no-unsafe": 0;
22826
+ "react/prop-types": 2;
22827
+ "react/react-in-jsx-scope": 2;
22828
+ "react/require-render-return": 2;
22437
22829
  };
22438
22830
  };
22439
22831
  all: {
@@ -22454,12 +22846,13 @@ declare function importPluginReact(): Promise<{
22454
22846
  jsxPragma: any;
22455
22847
  };
22456
22848
  rules: {
22457
- "react/react-in-jsx-scope": number;
22458
- "react/jsx-uses-react": number;
22849
+ "react/react-in-jsx-scope": 0;
22850
+ "react/jsx-uses-react": 0;
22459
22851
  };
22460
22852
  };
22853
+ flat: Record<string, eslint_plugin_react.ReactFlatConfig>;
22461
22854
  } & {
22462
- flat?: Record<string, eslint_plugin_react.ReactFlatConfig>;
22855
+ flat: Record<string, eslint_plugin_react.ReactFlatConfig>;
22463
22856
  };
22464
22857
  };
22465
22858
  }>;
@@ -22467,7 +22860,27 @@ declare function importPluginReactHooks(): Promise<{
22467
22860
  pluginReactHooks: any;
22468
22861
  }>;
22469
22862
  declare function importPluginReactRefresh(): Promise<{
22470
- pluginReactRefresh: typeof eslint_plugin_react_refresh;
22863
+ pluginReactRefresh: {
22864
+ rules: Record<string, any>;
22865
+ configs: {
22866
+ recommended: {
22867
+ plugins: {
22868
+ "react-refresh": {
22869
+ rules: Record<string, any>;
22870
+ };
22871
+ };
22872
+ rules: Record<string, any>;
22873
+ };
22874
+ vite: {
22875
+ plugins: {
22876
+ "react-refresh": {
22877
+ rules: Record<string, any>;
22878
+ };
22879
+ };
22880
+ rules: Record<string, any>;
22881
+ };
22882
+ };
22883
+ };
22471
22884
  }>;
22472
22885
  declare function importReactPlugins(): Promise<{
22473
22886
  pluginReact: {
@@ -22483,27 +22896,7 @@ declare function importReactPlugins(): Promise<{
22483
22896
  'forbid-elements': eslint.Rule.RuleModule;
22484
22897
  'forbid-foreign-prop-types': eslint.Rule.RuleModule;
22485
22898
  '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
- };
22899
+ 'forward-ref-uses-ref': eslint.Rule.RuleModule;
22507
22900
  'function-component-definition': eslint.Rule.RuleModule;
22508
22901
  'hook-use-state': eslint.Rule.RuleModule;
22509
22902
  'iframe-missing-sandbox': eslint.Rule.RuleModule;
@@ -22528,23 +22921,7 @@ declare function importReactPlugins(): Promise<{
22528
22921
  'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
22529
22922
  'jsx-no-duplicate-props': eslint.Rule.RuleModule;
22530
22923
  '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
- };
22924
+ 'jsx-no-literals': eslint.Rule.RuleModule;
22548
22925
  'jsx-no-script-url': eslint.Rule.RuleModule;
22549
22926
  'jsx-no-target-blank': eslint.Rule.RuleModule;
22550
22927
  'jsx-no-useless-fragment': eslint.Rule.RuleModule;
@@ -22555,22 +22932,7 @@ declare function importReactPlugins(): Promise<{
22555
22932
  'jsx-fragments': eslint.Rule.RuleModule;
22556
22933
  'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
22557
22934
  '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
- };
22935
+ 'jsx-props-no-spread-multi': eslint.Rule.RuleModule;
22574
22936
  'jsx-sort-default-props': eslint.Rule.RuleModule;
22575
22937
  'jsx-sort-props': eslint.Rule.RuleModule;
22576
22938
  'jsx-space-before-closing': eslint.Rule.RuleModule;
@@ -22639,27 +23001,7 @@ declare function importReactPlugins(): Promise<{
22639
23001
  'forbid-elements': eslint.Rule.RuleModule;
22640
23002
  'forbid-foreign-prop-types': eslint.Rule.RuleModule;
22641
23003
  '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
- };
23004
+ 'forward-ref-uses-ref': eslint.Rule.RuleModule;
22663
23005
  'function-component-definition': eslint.Rule.RuleModule;
22664
23006
  'hook-use-state': eslint.Rule.RuleModule;
22665
23007
  'iframe-missing-sandbox': eslint.Rule.RuleModule;
@@ -22684,23 +23026,7 @@ declare function importReactPlugins(): Promise<{
22684
23026
  'jsx-no-constructed-context-values': eslint.Rule.RuleModule;
22685
23027
  'jsx-no-duplicate-props': eslint.Rule.RuleModule;
22686
23028
  '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
- };
23029
+ 'jsx-no-literals': eslint.Rule.RuleModule;
22704
23030
  'jsx-no-script-url': eslint.Rule.RuleModule;
22705
23031
  'jsx-no-target-blank': eslint.Rule.RuleModule;
22706
23032
  'jsx-no-useless-fragment': eslint.Rule.RuleModule;
@@ -22711,22 +23037,7 @@ declare function importReactPlugins(): Promise<{
22711
23037
  'jsx-fragments': eslint.Rule.RuleModule;
22712
23038
  'jsx-props-no-multi-spaces': eslint.Rule.RuleModule;
22713
23039
  '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
- };
23040
+ 'jsx-props-no-spread-multi': eslint.Rule.RuleModule;
22730
23041
  'jsx-sort-default-props': eslint.Rule.RuleModule;
22731
23042
  'jsx-sort-props': eslint.Rule.RuleModule;
22732
23043
  'jsx-space-before-closing': eslint.Rule.RuleModule;
@@ -22792,28 +23103,28 @@ declare function importReactPlugins(): Promise<{
22792
23103
  };
22793
23104
  };
22794
23105
  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;
23106
+ "react/display-name": 2;
23107
+ "react/jsx-key": 2;
23108
+ "react/jsx-no-comment-textnodes": 2;
23109
+ "react/jsx-no-duplicate-props": 2;
23110
+ "react/jsx-no-target-blank": 2;
23111
+ "react/jsx-no-undef": 2;
23112
+ "react/jsx-uses-react": 2;
23113
+ "react/jsx-uses-vars": 2;
23114
+ "react/no-children-prop": 2;
23115
+ "react/no-danger-with-children": 2;
23116
+ "react/no-deprecated": 2;
23117
+ "react/no-direct-mutation-state": 2;
23118
+ "react/no-find-dom-node": 2;
23119
+ "react/no-is-mounted": 2;
23120
+ "react/no-render-return-value": 2;
23121
+ "react/no-string-refs": 2;
23122
+ "react/no-unescaped-entities": 2;
23123
+ "react/no-unknown-property": 2;
23124
+ "react/no-unsafe": 0;
23125
+ "react/prop-types": 2;
23126
+ "react/react-in-jsx-scope": 2;
23127
+ "react/require-render-return": 2;
22817
23128
  };
22818
23129
  };
22819
23130
  all: {
@@ -22834,16 +23145,37 @@ declare function importReactPlugins(): Promise<{
22834
23145
  jsxPragma: any;
22835
23146
  };
22836
23147
  rules: {
22837
- "react/react-in-jsx-scope": number;
22838
- "react/jsx-uses-react": number;
23148
+ "react/react-in-jsx-scope": 0;
23149
+ "react/jsx-uses-react": 0;
22839
23150
  };
22840
23151
  };
23152
+ flat: Record<string, eslint_plugin_react.ReactFlatConfig>;
22841
23153
  } & {
22842
- flat?: Record<string, eslint_plugin_react.ReactFlatConfig>;
23154
+ flat: Record<string, eslint_plugin_react.ReactFlatConfig>;
22843
23155
  };
22844
23156
  };
22845
23157
  pluginReactHooks: any;
22846
- pluginReactRefresh: typeof eslint_plugin_react_refresh;
23158
+ pluginReactRefresh: {
23159
+ rules: Record<string, any>;
23160
+ configs: {
23161
+ recommended: {
23162
+ plugins: {
23163
+ "react-refresh": {
23164
+ rules: Record<string, any>;
23165
+ };
23166
+ };
23167
+ rules: Record<string, any>;
23168
+ };
23169
+ vite: {
23170
+ plugins: {
23171
+ "react-refresh": {
23172
+ rules: Record<string, any>;
23173
+ };
23174
+ };
23175
+ rules: Record<string, any>;
23176
+ };
23177
+ };
23178
+ };
22847
23179
  }>;
22848
23180
  declare function importParserJsonc(): Promise<{
22849
23181
  parserJsonc: typeof jsonc_eslint_parser;
@@ -23779,9 +24111,7 @@ declare function importYmlLibs(): Promise<{
23779
24111
  };
23780
24112
  }>;
23781
24113
  declare function importPluginMarkdown(): Promise<{
23782
- pluginMarkdown: eslint.ESLint.Plugin & {
23783
- languages: Record<string, _eslint_markdown.Language>;
23784
- };
24114
+ pluginMarkdown: typeof _eslint_markdown.default;
23785
24115
  }>;
23786
24116
  declare function importPluginJsdoc(): Promise<{
23787
24117
  pluginJsdoc: eslint.ESLint.Plugin & {