@jimmy.codes/eslint-config 3.29.0 → 3.30.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as eslint_plugin_regexp from 'eslint-plugin-regexp';
2
2
  import * as eslint_plugin_react from 'eslint-plugin-react';
3
3
  import * as eslint_plugin_n from 'eslint-plugin-n';
4
+ import * as eslint_plugin_import_x_node_resolver_js from 'eslint-plugin-import-x/node-resolver.js';
4
5
  import * as eslint_plugin_import_x_utils_resolve_js from 'eslint-plugin-import-x/utils/resolve.js';
5
6
  import * as eslint_plugin_import_x_utils_module_visitor_js from 'eslint-plugin-import-x/utils/module-visitor.js';
6
7
  import * as eslint_plugin_import_x_types_js from 'eslint-plugin-import-x/types.js';
@@ -338,7 +339,7 @@ interface RuleOptions {
338
339
  * Disallow using code marked as `@deprecated`
339
340
  * @see https://typescript-eslint.io/rules/no-deprecated
340
341
  */
341
- '@typescript-eslint/no-deprecated'?: Linter.RuleEntry<[]>
342
+ '@typescript-eslint/no-deprecated'?: Linter.RuleEntry<TypescriptEslintNoDeprecated>
342
343
  /**
343
344
  * Disallow duplicate class members
344
345
  * @see https://typescript-eslint.io/rules/no-dupe-class-members
@@ -401,7 +402,7 @@ interface RuleOptions {
401
402
  */
402
403
  '@typescript-eslint/no-for-in-array'?: Linter.RuleEntry<[]>
403
404
  /**
404
- * Disallow the use of `eval()`-like methods
405
+ * Disallow the use of `eval()`-like functions
405
406
  * @see https://typescript-eslint.io/rules/no-implied-eval
406
407
  */
407
408
  '@typescript-eslint/no-implied-eval'?: Linter.RuleEntry<[]>
@@ -456,6 +457,11 @@ interface RuleOptions {
456
457
  * @see https://typescript-eslint.io/rules/no-misused-promises
457
458
  */
458
459
  '@typescript-eslint/no-misused-promises'?: Linter.RuleEntry<TypescriptEslintNoMisusedPromises>
460
+ /**
461
+ * Disallow using the spread operator when it might cause unexpected behavior
462
+ * @see https://typescript-eslint.io/rules/no-misused-spread
463
+ */
464
+ '@typescript-eslint/no-misused-spread'?: Linter.RuleEntry<TypescriptEslintNoMisusedSpread>
459
465
  /**
460
466
  * Disallow enums from having both number and string members
461
467
  * @see https://typescript-eslint.io/rules/no-mixed-enums
@@ -1243,7 +1249,7 @@ interface RuleOptions {
1243
1249
  */
1244
1250
  'default-case'?: Linter.RuleEntry<DefaultCase>
1245
1251
  /**
1246
- * Enforce `default` clauses in switch statements to be last
1252
+ * Enforce `default` clauses in `switch` statements to be last
1247
1253
  * @see https://eslint.org/docs/latest/rules/default-case-last
1248
1254
  */
1249
1255
  'default-case-last'?: Linter.RuleEntry<[]>
@@ -1374,233 +1380,233 @@ interface RuleOptions {
1374
1380
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
1375
1381
  /**
1376
1382
  * Enforce or ban the use of inline type-only markers for named imports.
1377
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/consistent-type-specifier-style.md
1383
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/consistent-type-specifier-style.md
1378
1384
  */
1379
1385
  'import-x/consistent-type-specifier-style'?: Linter.RuleEntry<ImportXConsistentTypeSpecifierStyle>
1380
1386
  /**
1381
1387
  * Ensure a default export is present, given a default import.
1382
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/default.md
1388
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/default.md
1383
1389
  */
1384
1390
  'import-x/default'?: Linter.RuleEntry<[]>
1385
1391
  /**
1386
1392
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
1387
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/dynamic-import-chunkname.md
1393
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/dynamic-import-chunkname.md
1388
1394
  */
1389
1395
  'import-x/dynamic-import-chunkname'?: Linter.RuleEntry<ImportXDynamicImportChunkname>
1390
1396
  /**
1391
1397
  * Forbid any invalid exports, i.e. re-export of the same name.
1392
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/export.md
1398
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/export.md
1393
1399
  */
1394
1400
  'import-x/export'?: Linter.RuleEntry<[]>
1395
1401
  /**
1396
1402
  * Ensure all exports appear after other statements.
1397
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/exports-last.md
1403
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/exports-last.md
1398
1404
  */
1399
1405
  'import-x/exports-last'?: Linter.RuleEntry<[]>
1400
1406
  /**
1401
1407
  * Ensure consistent use of file extension within the import path.
1402
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/extensions.md
1408
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/extensions.md
1403
1409
  */
1404
1410
  'import-x/extensions'?: Linter.RuleEntry<ImportXExtensions>
1405
1411
  /**
1406
1412
  * Ensure all imports appear before other statements.
1407
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/first.md
1413
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/first.md
1408
1414
  */
1409
1415
  'import-x/first'?: Linter.RuleEntry<ImportXFirst>
1410
1416
  /**
1411
1417
  * Prefer named exports to be grouped together in a single export declaration.
1412
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/group-exports.md
1418
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/group-exports.md
1413
1419
  */
1414
1420
  'import-x/group-exports'?: Linter.RuleEntry<[]>
1415
1421
  /**
1416
1422
  * Replaced by `import-x/first`.
1417
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/imports-first.md
1423
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/imports-first.md
1418
1424
  * @deprecated
1419
1425
  */
1420
1426
  'import-x/imports-first'?: Linter.RuleEntry<ImportXImportsFirst>
1421
1427
  /**
1422
1428
  * Enforce the maximum number of dependencies a module can have.
1423
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/max-dependencies.md
1429
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/max-dependencies.md
1424
1430
  */
1425
1431
  'import-x/max-dependencies'?: Linter.RuleEntry<ImportXMaxDependencies>
1426
1432
  /**
1427
1433
  * Ensure named imports correspond to a named export in the remote file.
1428
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/named.md
1434
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/named.md
1429
1435
  */
1430
1436
  'import-x/named'?: Linter.RuleEntry<ImportXNamed>
1431
1437
  /**
1432
1438
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
1433
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/namespace.md
1439
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/namespace.md
1434
1440
  */
1435
1441
  'import-x/namespace'?: Linter.RuleEntry<ImportXNamespace>
1436
1442
  /**
1437
1443
  * Enforce a newline after import statements.
1438
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/newline-after-import.md
1444
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/newline-after-import.md
1439
1445
  */
1440
1446
  'import-x/newline-after-import'?: Linter.RuleEntry<ImportXNewlineAfterImport>
1441
1447
  /**
1442
1448
  * Forbid import of modules using absolute paths.
1443
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-absolute-path.md
1449
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-absolute-path.md
1444
1450
  */
1445
1451
  'import-x/no-absolute-path'?: Linter.RuleEntry<ImportXNoAbsolutePath>
1446
1452
  /**
1447
1453
  * Forbid AMD `require` and `define` calls.
1448
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-amd.md
1454
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-amd.md
1449
1455
  */
1450
1456
  'import-x/no-amd'?: Linter.RuleEntry<[]>
1451
1457
  /**
1452
1458
  * Forbid anonymous values as default exports.
1453
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-anonymous-default-export.md
1459
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-anonymous-default-export.md
1454
1460
  */
1455
1461
  'import-x/no-anonymous-default-export'?: Linter.RuleEntry<ImportXNoAnonymousDefaultExport>
1456
1462
  /**
1457
1463
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
1458
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-commonjs.md
1464
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-commonjs.md
1459
1465
  */
1460
1466
  'import-x/no-commonjs'?: Linter.RuleEntry<ImportXNoCommonjs>
1461
1467
  /**
1462
1468
  * Forbid a module from importing a module with a dependency path back to itself.
1463
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-cycle.md
1469
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-cycle.md
1464
1470
  */
1465
1471
  'import-x/no-cycle'?: Linter.RuleEntry<ImportXNoCycle>
1466
1472
  /**
1467
1473
  * Forbid default exports.
1468
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-default-export.md
1474
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-default-export.md
1469
1475
  */
1470
1476
  'import-x/no-default-export'?: Linter.RuleEntry<[]>
1471
1477
  /**
1472
1478
  * Forbid imported names marked with `@deprecated` documentation tag.
1473
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-deprecated.md
1479
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-deprecated.md
1474
1480
  */
1475
1481
  'import-x/no-deprecated'?: Linter.RuleEntry<[]>
1476
1482
  /**
1477
1483
  * Forbid repeated import of the same module in multiple places.
1478
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-duplicates.md
1484
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-duplicates.md
1479
1485
  */
1480
1486
  'import-x/no-duplicates'?: Linter.RuleEntry<ImportXNoDuplicates>
1481
1487
  /**
1482
1488
  * Forbid `require()` calls with expressions.
1483
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-dynamic-require.md
1489
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-dynamic-require.md
1484
1490
  */
1485
1491
  'import-x/no-dynamic-require'?: Linter.RuleEntry<ImportXNoDynamicRequire>
1486
1492
  /**
1487
1493
  * Forbid empty named import blocks.
1488
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-empty-named-blocks.md
1494
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-empty-named-blocks.md
1489
1495
  */
1490
1496
  'import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>
1491
1497
  /**
1492
1498
  * Forbid the use of extraneous packages.
1493
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-extraneous-dependencies.md
1499
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-extraneous-dependencies.md
1494
1500
  */
1495
1501
  'import-x/no-extraneous-dependencies'?: Linter.RuleEntry<ImportXNoExtraneousDependencies>
1496
1502
  /**
1497
1503
  * Forbid import statements with CommonJS module.exports.
1498
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-import-module-exports.md
1504
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-import-module-exports.md
1499
1505
  */
1500
1506
  'import-x/no-import-module-exports'?: Linter.RuleEntry<ImportXNoImportModuleExports>
1501
1507
  /**
1502
1508
  * Forbid importing the submodules of other modules.
1503
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-internal-modules.md
1509
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-internal-modules.md
1504
1510
  */
1505
1511
  'import-x/no-internal-modules'?: Linter.RuleEntry<ImportXNoInternalModules>
1506
1512
  /**
1507
1513
  * Forbid the use of mutable exports with `var` or `let`.
1508
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-mutable-exports.md
1514
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-mutable-exports.md
1509
1515
  */
1510
1516
  'import-x/no-mutable-exports'?: Linter.RuleEntry<[]>
1511
1517
  /**
1512
1518
  * Forbid use of exported name as identifier of default export.
1513
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-as-default.md
1519
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default.md
1514
1520
  */
1515
1521
  'import-x/no-named-as-default'?: Linter.RuleEntry<[]>
1516
1522
  /**
1517
1523
  * Forbid use of exported name as property of default export.
1518
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-as-default-member.md
1524
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default-member.md
1519
1525
  */
1520
1526
  'import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>
1521
1527
  /**
1522
1528
  * Forbid named default exports.
1523
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-default.md
1529
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-default.md
1524
1530
  */
1525
1531
  'import-x/no-named-default'?: Linter.RuleEntry<[]>
1526
1532
  /**
1527
1533
  * Forbid named exports.
1528
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-named-export.md
1534
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-export.md
1529
1535
  */
1530
1536
  'import-x/no-named-export'?: Linter.RuleEntry<[]>
1531
1537
  /**
1532
1538
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
1533
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-namespace.md
1539
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-namespace.md
1534
1540
  */
1535
1541
  'import-x/no-namespace'?: Linter.RuleEntry<ImportXNoNamespace>
1536
1542
  /**
1537
1543
  * Forbid Node.js builtin modules.
1538
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-nodejs-modules.md
1544
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-nodejs-modules.md
1539
1545
  */
1540
1546
  'import-x/no-nodejs-modules'?: Linter.RuleEntry<ImportXNoNodejsModules>
1541
1547
  /**
1542
1548
  * Forbid importing packages through relative paths.
1543
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-relative-packages.md
1549
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-packages.md
1544
1550
  */
1545
1551
  'import-x/no-relative-packages'?: Linter.RuleEntry<ImportXNoRelativePackages>
1546
1552
  /**
1547
1553
  * Forbid importing modules from parent directories.
1548
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-relative-parent-imports.md
1554
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-parent-imports.md
1549
1555
  */
1550
1556
  'import-x/no-relative-parent-imports'?: Linter.RuleEntry<ImportXNoRelativeParentImports>
1551
1557
  /**
1552
1558
  * Forbid importing a default export by a different name.
1553
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-rename-default.md
1559
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-rename-default.md
1554
1560
  */
1555
1561
  'import-x/no-rename-default'?: Linter.RuleEntry<ImportXNoRenameDefault>
1556
1562
  /**
1557
1563
  * Enforce which files can be imported in a given folder.
1558
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-restricted-paths.md
1564
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-restricted-paths.md
1559
1565
  */
1560
1566
  'import-x/no-restricted-paths'?: Linter.RuleEntry<ImportXNoRestrictedPaths>
1561
1567
  /**
1562
1568
  * Forbid a module from importing itself.
1563
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-self-import.md
1569
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-self-import.md
1564
1570
  */
1565
1571
  'import-x/no-self-import'?: Linter.RuleEntry<[]>
1566
1572
  /**
1567
1573
  * Forbid unassigned imports.
1568
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unassigned-import.md
1574
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unassigned-import.md
1569
1575
  */
1570
1576
  'import-x/no-unassigned-import'?: Linter.RuleEntry<ImportXNoUnassignedImport>
1571
1577
  /**
1572
1578
  * Ensure imports point to a file/module that can be resolved.
1573
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unresolved.md
1579
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unresolved.md
1574
1580
  */
1575
1581
  'import-x/no-unresolved'?: Linter.RuleEntry<ImportXNoUnresolved>
1576
1582
  /**
1577
1583
  * Forbid modules without exports, or exports without matching import in another module.
1578
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-unused-modules.md
1584
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unused-modules.md
1579
1585
  */
1580
1586
  'import-x/no-unused-modules'?: Linter.RuleEntry<ImportXNoUnusedModules>
1581
1587
  /**
1582
1588
  * Forbid unnecessary path segments in import and require statements.
1583
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-useless-path-segments.md
1589
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-useless-path-segments.md
1584
1590
  */
1585
1591
  'import-x/no-useless-path-segments'?: Linter.RuleEntry<ImportXNoUselessPathSegments>
1586
1592
  /**
1587
1593
  * Forbid webpack loader syntax in imports.
1588
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/no-webpack-loader-syntax.md
1594
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-webpack-loader-syntax.md
1589
1595
  */
1590
1596
  'import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
1591
1597
  /**
1592
1598
  * Enforce a convention in module import order.
1593
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/order.md
1599
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/order.md
1594
1600
  */
1595
1601
  'import-x/order'?: Linter.RuleEntry<ImportXOrder>
1596
1602
  /**
1597
1603
  * Prefer a default export if module exports a single name or multiple names.
1598
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/prefer-default-export.md
1604
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/prefer-default-export.md
1599
1605
  */
1600
1606
  'import-x/prefer-default-export'?: Linter.RuleEntry<ImportXPreferDefaultExport>
1601
1607
  /**
1602
1608
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
1603
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.5.0/docs/rules/unambiguous.md
1609
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/unambiguous.md
1604
1610
  */
1605
1611
  'import-x/unambiguous'?: Linter.RuleEntry<[]>
1606
1612
  /**
@@ -1677,312 +1683,312 @@ interface RuleOptions {
1677
1683
  'jest-dom/prefer-to-have-value'?: Linter.RuleEntry<[]>
1678
1684
  /**
1679
1685
  * Enforce `test` and `it` usage conventions
1680
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/consistent-test-it.md
1686
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/consistent-test-it.md
1681
1687
  */
1682
1688
  'jest/consistent-test-it'?: Linter.RuleEntry<JestConsistentTestIt>
1683
1689
  /**
1684
1690
  * Enforce assertion to be made in a test body
1685
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/expect-expect.md
1691
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/expect-expect.md
1686
1692
  */
1687
1693
  'jest/expect-expect'?: Linter.RuleEntry<JestExpectExpect>
1688
1694
  /**
1689
1695
  * Enforces a maximum number assertion calls in a test body
1690
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/max-expects.md
1696
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/max-expects.md
1691
1697
  */
1692
1698
  'jest/max-expects'?: Linter.RuleEntry<JestMaxExpects>
1693
1699
  /**
1694
1700
  * Enforces a maximum depth to nested describe calls
1695
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/max-nested-describe.md
1701
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/max-nested-describe.md
1696
1702
  */
1697
1703
  'jest/max-nested-describe'?: Linter.RuleEntry<JestMaxNestedDescribe>
1698
1704
  /**
1699
1705
  * Disallow alias methods
1700
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-alias-methods.md
1706
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-alias-methods.md
1701
1707
  */
1702
1708
  'jest/no-alias-methods'?: Linter.RuleEntry<[]>
1703
1709
  /**
1704
1710
  * Disallow commented out tests
1705
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-commented-out-tests.md
1711
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-commented-out-tests.md
1706
1712
  */
1707
1713
  'jest/no-commented-out-tests'?: Linter.RuleEntry<[]>
1708
1714
  /**
1709
1715
  * Disallow calling `expect` conditionally
1710
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-conditional-expect.md
1716
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-conditional-expect.md
1711
1717
  */
1712
1718
  'jest/no-conditional-expect'?: Linter.RuleEntry<[]>
1713
1719
  /**
1714
1720
  * Disallow conditional logic in tests
1715
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-conditional-in-test.md
1721
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-conditional-in-test.md
1716
1722
  */
1717
1723
  'jest/no-conditional-in-test'?: Linter.RuleEntry<[]>
1718
1724
  /**
1719
1725
  * Disallow confusing usages of jest.setTimeout
1720
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-confusing-set-timeout.md
1726
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-confusing-set-timeout.md
1721
1727
  */
1722
1728
  'jest/no-confusing-set-timeout'?: Linter.RuleEntry<[]>
1723
1729
  /**
1724
1730
  * Disallow use of deprecated functions
1725
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-deprecated-functions.md
1731
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-deprecated-functions.md
1726
1732
  */
1727
1733
  'jest/no-deprecated-functions'?: Linter.RuleEntry<[]>
1728
1734
  /**
1729
1735
  * Disallow disabled tests
1730
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-disabled-tests.md
1736
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-disabled-tests.md
1731
1737
  */
1732
1738
  'jest/no-disabled-tests'?: Linter.RuleEntry<[]>
1733
1739
  /**
1734
1740
  * Disallow using a callback in asynchronous tests and hooks
1735
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-done-callback.md
1741
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-done-callback.md
1736
1742
  */
1737
1743
  'jest/no-done-callback'?: Linter.RuleEntry<[]>
1738
1744
  /**
1739
1745
  * Disallow duplicate setup and teardown hooks
1740
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-duplicate-hooks.md
1746
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-duplicate-hooks.md
1741
1747
  */
1742
1748
  'jest/no-duplicate-hooks'?: Linter.RuleEntry<[]>
1743
1749
  /**
1744
1750
  * Disallow using `exports` in files containing tests
1745
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-export.md
1751
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-export.md
1746
1752
  */
1747
1753
  'jest/no-export'?: Linter.RuleEntry<[]>
1748
1754
  /**
1749
1755
  * Disallow focused tests
1750
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-focused-tests.md
1756
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-focused-tests.md
1751
1757
  */
1752
1758
  'jest/no-focused-tests'?: Linter.RuleEntry<[]>
1753
1759
  /**
1754
1760
  * Disallow setup and teardown hooks
1755
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-hooks.md
1761
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-hooks.md
1756
1762
  */
1757
1763
  'jest/no-hooks'?: Linter.RuleEntry<JestNoHooks>
1758
1764
  /**
1759
1765
  * Disallow identical titles
1760
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-identical-title.md
1766
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-identical-title.md
1761
1767
  */
1762
1768
  'jest/no-identical-title'?: Linter.RuleEntry<[]>
1763
1769
  /**
1764
1770
  * Disallow string interpolation inside snapshots
1765
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-interpolation-in-snapshots.md
1771
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-interpolation-in-snapshots.md
1766
1772
  */
1767
1773
  'jest/no-interpolation-in-snapshots'?: Linter.RuleEntry<[]>
1768
1774
  /**
1769
1775
  * Disallow Jasmine globals
1770
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-jasmine-globals.md
1776
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-jasmine-globals.md
1771
1777
  */
1772
1778
  'jest/no-jasmine-globals'?: Linter.RuleEntry<[]>
1773
1779
  /**
1774
1780
  * Disallow large snapshots
1775
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-large-snapshots.md
1781
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-large-snapshots.md
1776
1782
  */
1777
1783
  'jest/no-large-snapshots'?: Linter.RuleEntry<JestNoLargeSnapshots>
1778
1784
  /**
1779
1785
  * Disallow manually importing from `__mocks__`
1780
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-mocks-import.md
1786
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-mocks-import.md
1781
1787
  */
1782
1788
  'jest/no-mocks-import'?: Linter.RuleEntry<[]>
1783
1789
  /**
1784
1790
  * Disallow specific `jest.` methods
1785
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-restricted-jest-methods.md
1791
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-restricted-jest-methods.md
1786
1792
  */
1787
1793
  'jest/no-restricted-jest-methods'?: Linter.RuleEntry<JestNoRestrictedJestMethods>
1788
1794
  /**
1789
1795
  * Disallow specific matchers & modifiers
1790
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-restricted-matchers.md
1796
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-restricted-matchers.md
1791
1797
  */
1792
1798
  'jest/no-restricted-matchers'?: Linter.RuleEntry<JestNoRestrictedMatchers>
1793
1799
  /**
1794
1800
  * Disallow using `expect` outside of `it` or `test` blocks
1795
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-standalone-expect.md
1801
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-standalone-expect.md
1796
1802
  */
1797
1803
  'jest/no-standalone-expect'?: Linter.RuleEntry<JestNoStandaloneExpect>
1798
1804
  /**
1799
1805
  * Require using `.only` and `.skip` over `f` and `x`
1800
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-test-prefixes.md
1806
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-test-prefixes.md
1801
1807
  */
1802
1808
  'jest/no-test-prefixes'?: Linter.RuleEntry<[]>
1803
1809
  /**
1804
1810
  * Disallow explicitly returning from tests
1805
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-test-return-statement.md
1811
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-test-return-statement.md
1806
1812
  */
1807
1813
  'jest/no-test-return-statement'?: Linter.RuleEntry<[]>
1808
1814
  /**
1809
1815
  * Disallow using `jest.mock()` factories without an explicit type parameter
1810
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/no-untyped-mock-factory.md
1816
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/no-untyped-mock-factory.md
1811
1817
  */
1812
1818
  'jest/no-untyped-mock-factory'?: Linter.RuleEntry<[]>
1813
1819
  /**
1814
1820
  * Enforce padding around `afterAll` blocks
1815
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/padding-around-after-all-blocks.md
1821
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/padding-around-after-all-blocks.md
1816
1822
  */
1817
1823
  'jest/padding-around-after-all-blocks'?: Linter.RuleEntry<[]>
1818
1824
  /**
1819
1825
  * Enforce padding around `afterEach` blocks
1820
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/padding-around-after-each-blocks.md
1826
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/padding-around-after-each-blocks.md
1821
1827
  */
1822
1828
  'jest/padding-around-after-each-blocks'?: Linter.RuleEntry<[]>
1823
1829
  /**
1824
1830
  * Enforce padding around Jest functions
1825
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/padding-around-all.md
1831
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/padding-around-all.md
1826
1832
  */
1827
1833
  'jest/padding-around-all'?: Linter.RuleEntry<[]>
1828
1834
  /**
1829
1835
  * Enforce padding around `beforeAll` blocks
1830
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/padding-around-before-all-blocks.md
1836
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/padding-around-before-all-blocks.md
1831
1837
  */
1832
1838
  'jest/padding-around-before-all-blocks'?: Linter.RuleEntry<[]>
1833
1839
  /**
1834
1840
  * Enforce padding around `beforeEach` blocks
1835
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/padding-around-before-each-blocks.md
1841
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/padding-around-before-each-blocks.md
1836
1842
  */
1837
1843
  'jest/padding-around-before-each-blocks'?: Linter.RuleEntry<[]>
1838
1844
  /**
1839
1845
  * Enforce padding around `describe` blocks
1840
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/padding-around-describe-blocks.md
1846
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/padding-around-describe-blocks.md
1841
1847
  */
1842
1848
  'jest/padding-around-describe-blocks'?: Linter.RuleEntry<[]>
1843
1849
  /**
1844
1850
  * Enforce padding around `expect` groups
1845
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/padding-around-expect-groups.md
1851
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/padding-around-expect-groups.md
1846
1852
  */
1847
1853
  'jest/padding-around-expect-groups'?: Linter.RuleEntry<[]>
1848
1854
  /**
1849
- * Enforce padding around afterAll blocks
1850
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/padding-around-test-blocks.md
1855
+ * Enforce padding around `test` and `it` blocks
1856
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/padding-around-test-blocks.md
1851
1857
  */
1852
1858
  'jest/padding-around-test-blocks'?: Linter.RuleEntry<[]>
1853
1859
  /**
1854
1860
  * Suggest using `toBeCalledWith()` or `toHaveBeenCalledWith()`
1855
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/prefer-called-with.md
1861
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/prefer-called-with.md
1856
1862
  */
1857
1863
  'jest/prefer-called-with'?: Linter.RuleEntry<[]>
1858
1864
  /**
1859
1865
  * Suggest using the built-in comparison matchers
1860
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/prefer-comparison-matcher.md
1866
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/prefer-comparison-matcher.md
1861
1867
  */
1862
1868
  'jest/prefer-comparison-matcher'?: Linter.RuleEntry<[]>
1863
1869
  /**
1864
1870
  * Prefer using `.each` rather than manual loops
1865
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/prefer-each.md
1871
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/prefer-each.md
1866
1872
  */
1867
1873
  'jest/prefer-each'?: Linter.RuleEntry<[]>
1868
1874
  /**
1869
1875
  * Suggest using the built-in equality matchers
1870
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/prefer-equality-matcher.md
1876
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/prefer-equality-matcher.md
1871
1877
  */
1872
1878
  'jest/prefer-equality-matcher'?: Linter.RuleEntry<[]>
1873
1879
  /**
1874
1880
  * Suggest using `expect.assertions()` OR `expect.hasAssertions()`
1875
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/prefer-expect-assertions.md
1881
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/prefer-expect-assertions.md
1876
1882
  */
1877
1883
  'jest/prefer-expect-assertions'?: Linter.RuleEntry<JestPreferExpectAssertions>
1878
1884
  /**
1879
1885
  * Prefer `await expect(...).resolves` over `expect(await ...)` syntax
1880
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/prefer-expect-resolves.md
1886
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/prefer-expect-resolves.md
1881
1887
  */
1882
1888
  'jest/prefer-expect-resolves'?: Linter.RuleEntry<[]>
1883
1889
  /**
1884
1890
  * Prefer having hooks in a consistent order
1885
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/prefer-hooks-in-order.md
1891
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/prefer-hooks-in-order.md
1886
1892
  */
1887
1893
  'jest/prefer-hooks-in-order'?: Linter.RuleEntry<[]>
1888
1894
  /**
1889
1895
  * Suggest having hooks before any test cases
1890
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/prefer-hooks-on-top.md
1896
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/prefer-hooks-on-top.md
1891
1897
  */
1892
1898
  'jest/prefer-hooks-on-top'?: Linter.RuleEntry<[]>
1893
1899
  /**
1894
1900
  * Prefer importing Jest globals
1895
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/prefer-importing-jest-globals.md
1901
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/prefer-importing-jest-globals.md
1896
1902
  */
1897
1903
  'jest/prefer-importing-jest-globals'?: Linter.RuleEntry<JestPreferImportingJestGlobals>
1898
1904
  /**
1899
1905
  * Prefer `jest.mocked()` over `fn as jest.Mock`
1900
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/prefer-jest-mocked.md
1906
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/prefer-jest-mocked.md
1901
1907
  */
1902
1908
  'jest/prefer-jest-mocked'?: Linter.RuleEntry<[]>
1903
1909
  /**
1904
1910
  * Enforce lowercase test names
1905
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/prefer-lowercase-title.md
1911
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/prefer-lowercase-title.md
1906
1912
  */
1907
1913
  'jest/prefer-lowercase-title'?: Linter.RuleEntry<JestPreferLowercaseTitle>
1908
1914
  /**
1909
1915
  * Prefer mock resolved/rejected shorthands for promises
1910
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/prefer-mock-promise-shorthand.md
1916
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/prefer-mock-promise-shorthand.md
1911
1917
  */
1912
1918
  'jest/prefer-mock-promise-shorthand'?: Linter.RuleEntry<[]>
1913
1919
  /**
1914
1920
  * Prefer including a hint with external snapshots
1915
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/prefer-snapshot-hint.md
1921
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/prefer-snapshot-hint.md
1916
1922
  */
1917
1923
  'jest/prefer-snapshot-hint'?: Linter.RuleEntry<JestPreferSnapshotHint>
1918
1924
  /**
1919
1925
  * Suggest using `jest.spyOn()`
1920
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/prefer-spy-on.md
1926
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/prefer-spy-on.md
1921
1927
  */
1922
1928
  'jest/prefer-spy-on'?: Linter.RuleEntry<[]>
1923
1929
  /**
1924
1930
  * Suggest using `toStrictEqual()`
1925
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/prefer-strict-equal.md
1931
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/prefer-strict-equal.md
1926
1932
  */
1927
1933
  'jest/prefer-strict-equal'?: Linter.RuleEntry<[]>
1928
1934
  /**
1929
1935
  * Suggest using `toBe()` for primitive literals
1930
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/prefer-to-be.md
1936
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/prefer-to-be.md
1931
1937
  */
1932
1938
  'jest/prefer-to-be'?: Linter.RuleEntry<[]>
1933
1939
  /**
1934
1940
  * Suggest using `toContain()`
1935
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/prefer-to-contain.md
1941
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/prefer-to-contain.md
1936
1942
  */
1937
1943
  'jest/prefer-to-contain'?: Linter.RuleEntry<[]>
1938
1944
  /**
1939
1945
  * Suggest using `toHaveLength()`
1940
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/prefer-to-have-length.md
1946
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/prefer-to-have-length.md
1941
1947
  */
1942
1948
  'jest/prefer-to-have-length'?: Linter.RuleEntry<[]>
1943
1949
  /**
1944
1950
  * Suggest using `test.todo`
1945
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/prefer-todo.md
1951
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/prefer-todo.md
1946
1952
  */
1947
1953
  'jest/prefer-todo'?: Linter.RuleEntry<[]>
1948
1954
  /**
1949
1955
  * Require setup and teardown code to be within a hook
1950
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/require-hook.md
1956
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/require-hook.md
1951
1957
  */
1952
1958
  'jest/require-hook'?: Linter.RuleEntry<JestRequireHook>
1953
1959
  /**
1954
1960
  * Require a message for `toThrow()`
1955
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/require-to-throw-message.md
1961
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/require-to-throw-message.md
1956
1962
  */
1957
1963
  'jest/require-to-throw-message'?: Linter.RuleEntry<[]>
1958
1964
  /**
1959
1965
  * Require test cases and hooks to be inside a `describe` block
1960
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/require-top-level-describe.md
1966
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/require-top-level-describe.md
1961
1967
  */
1962
1968
  'jest/require-top-level-describe'?: Linter.RuleEntry<JestRequireTopLevelDescribe>
1963
1969
  /**
1964
1970
  * Enforce unbound methods are called with their expected scope
1965
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/unbound-method.md
1971
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/unbound-method.md
1966
1972
  */
1967
1973
  'jest/unbound-method'?: Linter.RuleEntry<JestUnboundMethod>
1968
1974
  /**
1969
1975
  * Enforce valid `describe()` callback
1970
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/valid-describe-callback.md
1976
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/valid-describe-callback.md
1971
1977
  */
1972
1978
  'jest/valid-describe-callback'?: Linter.RuleEntry<[]>
1973
1979
  /**
1974
1980
  * Enforce valid `expect()` usage
1975
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/valid-expect.md
1981
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/valid-expect.md
1976
1982
  */
1977
1983
  'jest/valid-expect'?: Linter.RuleEntry<JestValidExpect>
1978
1984
  /**
1979
1985
  * Require promises that have expectations in their chain to be valid
1980
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/valid-expect-in-promise.md
1986
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/valid-expect-in-promise.md
1981
1987
  */
1982
1988
  'jest/valid-expect-in-promise'?: Linter.RuleEntry<[]>
1983
1989
  /**
1984
1990
  * Enforce valid titles
1985
- * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.10.0/docs/rules/valid-title.md
1991
+ * @see https://github.com/jest-community/eslint-plugin-jest/blob/v28.11.0/docs/rules/valid-title.md
1986
1992
  */
1987
1993
  'jest/valid-title'?: Linter.RuleEntry<JestValidTitle>
1988
1994
  /**
@@ -3880,6 +3886,11 @@ interface RuleOptions {
3880
3886
  * @see https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-skipped-test.md
3881
3887
  */
3882
3888
  'playwright/no-skipped-test'?: Linter.RuleEntry<PlaywrightNoSkippedTest>
3889
+ /**
3890
+ * Prevent usage of the `.slow()` slow test annotation.
3891
+ * @see https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-slowed-test.md
3892
+ */
3893
+ 'playwright/no-slowed-test'?: Linter.RuleEntry<PlaywrightNoSlowedTest>
3883
3894
  /**
3884
3895
  * Disallow using `expect` outside of `test` blocks
3885
3896
  * @see https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/no-standalone-expect.md
@@ -3912,7 +3923,7 @@ interface RuleOptions {
3912
3923
  'playwright/no-wait-for-timeout'?: Linter.RuleEntry<[]>
3913
3924
  /**
3914
3925
  * Suggest using the built-in comparison matchers
3915
- * @see https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-comparision-matcher.md
3926
+ * @see https://github.com/playwright-community/eslint-plugin-playwright/tree/main/docs/rules/prefer-comparison-matcher.md
3916
3927
  */
3917
3928
  'playwright/prefer-comparison-matcher'?: Linter.RuleEntry<[]>
3918
3929
  /**
@@ -5090,7 +5101,7 @@ interface RuleOptions {
5090
5101
  */
5091
5102
  'semi-style'?: Linter.RuleEntry<SemiStyle>
5092
5103
  /**
5093
- * Enforce sorted import declarations within modules
5104
+ * Enforce sorted `import` declarations within modules
5094
5105
  * @see https://eslint.org/docs/latest/rules/sort-imports
5095
5106
  */
5096
5107
  'sort-imports'?: Linter.RuleEntry<SortImports>
@@ -6319,6 +6330,11 @@ interface RuleOptions {
6319
6330
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-spy-on.md
6320
6331
  */
6321
6332
  'vitest/prefer-spy-on'?: Linter.RuleEntry<[]>
6333
+ /**
6334
+ * enforce using `toBe(true)` and `toBe(false)` over matchers that coerce types to boolean
6335
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-boolean-matchers.md
6336
+ */
6337
+ 'vitest/prefer-strict-boolean-matchers'?: Linter.RuleEntry<[]>
6322
6338
  /**
6323
6339
  * enforce strict equal over equal
6324
6340
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-equal.md
@@ -6374,6 +6390,11 @@ interface RuleOptions {
6374
6390
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
6375
6391
  */
6376
6392
  'vitest/require-local-test-context-for-concurrent-snapshots'?: Linter.RuleEntry<[]>
6393
+ /**
6394
+ * enforce using type parameters with vitest mock functions
6395
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-mock-type-parameters.md
6396
+ */
6397
+ 'vitest/require-mock-type-parameters'?: Linter.RuleEntry<VitestRequireMockTypeParameters>
6377
6398
  /**
6378
6399
  * require toThrow() to be called with an error message
6379
6400
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-to-throw-message.md
@@ -6497,6 +6518,8 @@ type TypescriptEslintConsistentTypeAssertions = []|[({
6497
6518
  assertionStyle: "never"
6498
6519
  } | {
6499
6520
 
6521
+ arrayLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
6522
+
6500
6523
  assertionStyle?: ("as" | "angle-bracket")
6501
6524
 
6502
6525
  objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
@@ -6953,6 +6976,22 @@ type TypescriptEslintNoConfusingVoidExpression = []|[{
6953
6976
 
6954
6977
  ignoreVoidReturningFunctions?: boolean
6955
6978
  }]
6979
+ // ----- @typescript-eslint/no-deprecated -----
6980
+ type TypescriptEslintNoDeprecated = []|[{
6981
+
6982
+ allow?: (string | {
6983
+ from: "file"
6984
+ name: (string | [string, ...(string)[]])
6985
+ path?: string
6986
+ } | {
6987
+ from: "lib"
6988
+ name: (string | [string, ...(string)[]])
6989
+ } | {
6990
+ from: "package"
6991
+ name: (string | [string, ...(string)[]])
6992
+ package: string
6993
+ })[]
6994
+ }]
6956
6995
  // ----- @typescript-eslint/no-duplicate-type-constituents -----
6957
6996
  type TypescriptEslintNoDuplicateTypeConstituents = []|[{
6958
6997
 
@@ -7094,6 +7133,22 @@ type TypescriptEslintNoMisusedPromises = []|[{
7094
7133
  variables?: boolean
7095
7134
  })
7096
7135
  }]
7136
+ // ----- @typescript-eslint/no-misused-spread -----
7137
+ type TypescriptEslintNoMisusedSpread = []|[{
7138
+
7139
+ allow?: (string | {
7140
+ from: "file"
7141
+ name: (string | [string, ...(string)[]])
7142
+ path?: string
7143
+ } | {
7144
+ from: "lib"
7145
+ name: (string | [string, ...(string)[]])
7146
+ } | {
7147
+ from: "package"
7148
+ name: (string | [string, ...(string)[]])
7149
+ package: string
7150
+ })[]
7151
+ }]
7097
7152
  // ----- @typescript-eslint/no-namespace -----
7098
7153
  type TypescriptEslintNoNamespace = []|[{
7099
7154
 
@@ -7169,7 +7224,7 @@ type TypescriptEslintNoShadow = []|[{
7169
7224
 
7170
7225
  builtinGlobals?: boolean
7171
7226
 
7172
- hoist?: ("all" | "functions" | "never")
7227
+ hoist?: ("all" | "functions" | "functions-and-types" | "never" | "types")
7173
7228
 
7174
7229
  ignoreFunctionTypeParameterNameValueShadow?: boolean
7175
7230
 
@@ -7209,11 +7264,13 @@ type TypescriptEslintNoUnnecessaryBooleanLiteralCompare = []|[{
7209
7264
  allowComparingNullableBooleansToFalse?: boolean
7210
7265
 
7211
7266
  allowComparingNullableBooleansToTrue?: boolean
7267
+
7268
+ allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
7212
7269
  }]
7213
7270
  // ----- @typescript-eslint/no-unnecessary-condition -----
7214
7271
  type TypescriptEslintNoUnnecessaryCondition = []|[{
7215
7272
 
7216
- allowConstantLoopConditions?: boolean
7273
+ allowConstantLoopConditions?: (boolean | ("always" | "never" | "only-allowed-literals"))
7217
7274
 
7218
7275
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
7219
7276
 
@@ -10321,11 +10378,25 @@ type PaddingLineBetweenStatements = {
10321
10378
  // ----- perfectionist/sort-array-includes -----
10322
10379
  type PerfectionistSortArrayIncludes = {
10323
10380
 
10324
- partitionByComment?: (string[] | boolean | string | {
10325
- block?: (string[] | boolean | string)
10326
- line?: (string[] | boolean | string)
10381
+ specialCharacters?: ("remove" | "trim" | "keep")
10382
+
10383
+ fallbackSort?: {
10384
+
10385
+ order?: ("asc" | "desc")
10386
+
10387
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10327
10388
  [k: string]: unknown | undefined
10328
- })
10389
+ }
10390
+
10391
+ ignoreCase?: boolean
10392
+
10393
+ alphabet?: string
10394
+
10395
+ locales?: (string | string[])
10396
+
10397
+ order?: ("asc" | "desc")
10398
+
10399
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10329
10400
 
10330
10401
  groupKind?: ("mixed" | "literals-first" | "spreads-first")
10331
10402
 
@@ -10342,7 +10413,13 @@ type PerfectionistSortArrayIncludes = {
10342
10413
 
10343
10414
  selector?: ("literal" | "spread")
10344
10415
 
10345
- elementNamePattern?: string
10416
+ elementNamePattern?: (({
10417
+ pattern?: string
10418
+ flags?: string
10419
+ } | string)[] | ({
10420
+ pattern?: string
10421
+ flags?: string
10422
+ } | string))
10346
10423
  }[]
10347
10424
  } | {
10348
10425
 
@@ -10356,38 +10433,79 @@ type PerfectionistSortArrayIncludes = {
10356
10433
 
10357
10434
  selector?: ("literal" | "spread")
10358
10435
 
10359
- elementNamePattern?: string
10436
+ elementNamePattern?: (({
10437
+ pattern?: string
10438
+ flags?: string
10439
+ } | string)[] | ({
10440
+ pattern?: string
10441
+ flags?: string
10442
+ } | string))
10360
10443
  })[]
10361
10444
  useConfigurationIf?: {
10362
- allNamesMatchPattern?: string
10445
+
10446
+ allNamesMatchPattern?: (({
10447
+ pattern?: string
10448
+ flags?: string
10449
+ } | string)[] | ({
10450
+ pattern?: string
10451
+ flags?: string
10452
+ } | string))
10363
10453
  }
10364
10454
 
10365
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10455
+ partitionByComment?: (boolean | (({
10456
+ pattern?: string
10457
+ flags?: string
10458
+ } | string)[] | ({
10459
+ pattern?: string
10460
+ flags?: string
10461
+ } | string)) | {
10462
+ block?: (boolean | (({
10463
+ pattern?: string
10464
+ flags?: string
10465
+ } | string)[] | ({
10466
+ pattern?: string
10467
+ flags?: string
10468
+ } | string)))
10469
+ line?: (boolean | (({
10470
+ pattern?: string
10471
+ flags?: string
10472
+ } | string)[] | ({
10473
+ pattern?: string
10474
+ flags?: string
10475
+ } | string)))
10476
+ })
10366
10477
 
10367
10478
  partitionByNewLine?: boolean
10368
10479
 
10480
+ newlinesBetween?: ("ignore" | "always" | "never")
10481
+
10482
+ groups?: (string | string[] | {
10483
+
10484
+ newlinesBetween?: ("ignore" | "always" | "never")
10485
+ })[]
10486
+ }[]
10487
+ // ----- perfectionist/sort-classes -----
10488
+ type PerfectionistSortClasses = []|[{
10489
+
10369
10490
  specialCharacters?: ("remove" | "trim" | "keep")
10370
10491
 
10492
+ fallbackSort?: {
10493
+
10494
+ order?: ("asc" | "desc")
10495
+
10496
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10497
+ [k: string]: unknown | undefined
10498
+ }
10499
+
10371
10500
  ignoreCase?: boolean
10372
10501
 
10373
10502
  alphabet?: string
10374
10503
 
10375
10504
  locales?: (string | string[])
10376
10505
 
10377
- groups?: (string | string[])[]
10378
-
10379
10506
  order?: ("asc" | "desc")
10380
- }[]
10381
- // ----- perfectionist/sort-classes -----
10382
- type PerfectionistSortClasses = []|[{
10383
-
10384
- ignoreCallbackDependenciesPatterns?: string[]
10385
10507
 
10386
- partitionByComment?: (string[] | boolean | string | {
10387
- block?: (string[] | boolean | string)
10388
- line?: (string[] | boolean | string)
10389
- [k: string]: unknown | undefined
10390
- })
10508
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10391
10509
 
10392
10510
  customGroups?: ({
10393
10511
 
@@ -10400,15 +10518,33 @@ type PerfectionistSortClasses = []|[{
10400
10518
  newlinesInside?: ("always" | "never")
10401
10519
  anyOf?: {
10402
10520
 
10403
- elementValuePattern?: string
10404
-
10405
- decoratorNamePattern?: string
10406
-
10407
10521
  modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
10408
10522
 
10409
10523
  selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
10410
10524
 
10411
- elementNamePattern?: string
10525
+ decoratorNamePattern?: (({
10526
+ pattern?: string
10527
+ flags?: string
10528
+ } | string)[] | ({
10529
+ pattern?: string
10530
+ flags?: string
10531
+ } | string))
10532
+
10533
+ elementValuePattern?: (({
10534
+ pattern?: string
10535
+ flags?: string
10536
+ } | string)[] | ({
10537
+ pattern?: string
10538
+ flags?: string
10539
+ } | string))
10540
+
10541
+ elementNamePattern?: (({
10542
+ pattern?: string
10543
+ flags?: string
10544
+ } | string)[] | ({
10545
+ pattern?: string
10546
+ flags?: string
10547
+ } | string))
10412
10548
  }[]
10413
10549
  } | {
10414
10550
 
@@ -10420,43 +10556,97 @@ type PerfectionistSortClasses = []|[{
10420
10556
 
10421
10557
  newlinesInside?: ("always" | "never")
10422
10558
 
10423
- elementValuePattern?: string
10424
-
10425
- decoratorNamePattern?: string
10426
-
10427
10559
  modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
10428
10560
 
10429
10561
  selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
10430
10562
 
10431
- elementNamePattern?: string
10563
+ decoratorNamePattern?: (({
10564
+ pattern?: string
10565
+ flags?: string
10566
+ } | string)[] | ({
10567
+ pattern?: string
10568
+ flags?: string
10569
+ } | string))
10570
+
10571
+ elementValuePattern?: (({
10572
+ pattern?: string
10573
+ flags?: string
10574
+ } | string)[] | ({
10575
+ pattern?: string
10576
+ flags?: string
10577
+ } | string))
10578
+
10579
+ elementNamePattern?: (({
10580
+ pattern?: string
10581
+ flags?: string
10582
+ } | string)[] | ({
10583
+ pattern?: string
10584
+ flags?: string
10585
+ } | string))
10432
10586
  })[]
10433
10587
 
10588
+ ignoreCallbackDependenciesPatterns?: (({
10589
+ pattern?: string
10590
+ flags?: string
10591
+ } | string)[] | ({
10592
+ pattern?: string
10593
+ flags?: string
10594
+ } | string))
10595
+
10596
+ partitionByComment?: (boolean | (({
10597
+ pattern?: string
10598
+ flags?: string
10599
+ } | string)[] | ({
10600
+ pattern?: string
10601
+ flags?: string
10602
+ } | string)) | {
10603
+ block?: (boolean | (({
10604
+ pattern?: string
10605
+ flags?: string
10606
+ } | string)[] | ({
10607
+ pattern?: string
10608
+ flags?: string
10609
+ } | string)))
10610
+ line?: (boolean | (({
10611
+ pattern?: string
10612
+ flags?: string
10613
+ } | string)[] | ({
10614
+ pattern?: string
10615
+ flags?: string
10616
+ } | string)))
10617
+ })
10618
+
10434
10619
  partitionByNewLine?: boolean
10435
10620
 
10621
+ newlinesBetween?: ("ignore" | "always" | "never")
10622
+
10623
+ groups?: (string | string[] | {
10624
+
10625
+ newlinesBetween?: ("ignore" | "always" | "never")
10626
+ })[]
10627
+ }]
10628
+ // ----- perfectionist/sort-decorators -----
10629
+ type PerfectionistSortDecorators = []|[{
10630
+
10436
10631
  specialCharacters?: ("remove" | "trim" | "keep")
10437
10632
 
10438
- newlinesBetween?: ("ignore" | "always" | "never")
10633
+ fallbackSort?: {
10634
+
10635
+ order?: ("asc" | "desc")
10636
+
10637
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10638
+ [k: string]: unknown | undefined
10639
+ }
10439
10640
 
10440
10641
  ignoreCase?: boolean
10441
10642
 
10442
10643
  alphabet?: string
10443
10644
 
10444
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10445
-
10446
10645
  locales?: (string | string[])
10447
10646
 
10448
- groups?: (string | string[])[]
10449
-
10450
10647
  order?: ("asc" | "desc")
10451
- }]
10452
- // ----- perfectionist/sort-decorators -----
10453
- type PerfectionistSortDecorators = []|[{
10454
10648
 
10455
- partitionByComment?: (string[] | boolean | string | {
10456
- block?: (string[] | boolean | string)
10457
- line?: (string[] | boolean | string)
10458
- [k: string]: unknown | undefined
10459
- })
10649
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10460
10650
 
10461
10651
  sortOnParameters?: boolean
10462
10652
 
@@ -10468,100 +10658,257 @@ type PerfectionistSortDecorators = []|[{
10468
10658
 
10469
10659
  sortOnClasses?: boolean
10470
10660
 
10471
- specialCharacters?: ("remove" | "trim" | "keep")
10661
+ partitionByComment?: (boolean | (({
10662
+ pattern?: string
10663
+ flags?: string
10664
+ } | string)[] | ({
10665
+ pattern?: string
10666
+ flags?: string
10667
+ } | string)) | {
10668
+ block?: (boolean | (({
10669
+ pattern?: string
10670
+ flags?: string
10671
+ } | string)[] | ({
10672
+ pattern?: string
10673
+ flags?: string
10674
+ } | string)))
10675
+ line?: (boolean | (({
10676
+ pattern?: string
10677
+ flags?: string
10678
+ } | string)[] | ({
10679
+ pattern?: string
10680
+ flags?: string
10681
+ } | string)))
10682
+ })
10472
10683
 
10473
10684
  customGroups?: {
10474
10685
  [k: string]: (string | string[]) | undefined
10475
10686
  }
10476
10687
 
10688
+ groups?: (string | string[] | {
10689
+
10690
+ newlinesBetween?: ("ignore" | "always" | "never")
10691
+ })[]
10692
+ }]
10693
+ // ----- perfectionist/sort-enums -----
10694
+ type PerfectionistSortEnums = []|[{
10695
+
10696
+ specialCharacters?: ("remove" | "trim" | "keep")
10697
+
10698
+ fallbackSort?: {
10699
+
10700
+ order?: ("asc" | "desc")
10701
+
10702
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10703
+ [k: string]: unknown | undefined
10704
+ }
10705
+
10477
10706
  ignoreCase?: boolean
10478
10707
 
10479
10708
  alphabet?: string
10480
10709
 
10481
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10482
-
10483
10710
  locales?: (string | string[])
10484
10711
 
10485
- groups?: (string | string[])[]
10486
-
10487
10712
  order?: ("asc" | "desc")
10488
- }]
10489
- // ----- perfectionist/sort-enums -----
10490
- type PerfectionistSortEnums = []|[{
10491
10713
 
10492
- partitionByComment?: (string[] | boolean | string | {
10493
- block?: (string[] | boolean | string)
10494
- line?: (string[] | boolean | string)
10495
- [k: string]: unknown | undefined
10496
- })
10714
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10497
10715
 
10498
10716
  forceNumericSort?: boolean
10717
+ customGroups?: ({
10718
+ [k: string]: (string | string[]) | undefined
10719
+ } | ({
10720
+
10721
+ groupName?: string
10722
+
10723
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
10724
+
10725
+ order?: ("desc" | "asc")
10726
+
10727
+ newlinesInside?: ("always" | "never")
10728
+ anyOf?: {
10729
+
10730
+ elementValuePattern?: (({
10731
+ pattern?: string
10732
+ flags?: string
10733
+ } | string)[] | ({
10734
+ pattern?: string
10735
+ flags?: string
10736
+ } | string))
10737
+
10738
+ elementNamePattern?: (({
10739
+ pattern?: string
10740
+ flags?: string
10741
+ } | string)[] | ({
10742
+ pattern?: string
10743
+ flags?: string
10744
+ } | string))
10745
+ }[]
10746
+ } | {
10747
+
10748
+ groupName?: string
10749
+
10750
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
10751
+
10752
+ order?: ("desc" | "asc")
10753
+
10754
+ newlinesInside?: ("always" | "never")
10755
+
10756
+ elementValuePattern?: (({
10757
+ pattern?: string
10758
+ flags?: string
10759
+ } | string)[] | ({
10760
+ pattern?: string
10761
+ flags?: string
10762
+ } | string))
10763
+
10764
+ elementNamePattern?: (({
10765
+ pattern?: string
10766
+ flags?: string
10767
+ } | string)[] | ({
10768
+ pattern?: string
10769
+ flags?: string
10770
+ } | string))
10771
+ })[])
10499
10772
 
10500
10773
  sortByValue?: boolean
10501
10774
 
10775
+ partitionByComment?: (boolean | (({
10776
+ pattern?: string
10777
+ flags?: string
10778
+ } | string)[] | ({
10779
+ pattern?: string
10780
+ flags?: string
10781
+ } | string)) | {
10782
+ block?: (boolean | (({
10783
+ pattern?: string
10784
+ flags?: string
10785
+ } | string)[] | ({
10786
+ pattern?: string
10787
+ flags?: string
10788
+ } | string)))
10789
+ line?: (boolean | (({
10790
+ pattern?: string
10791
+ flags?: string
10792
+ } | string)[] | ({
10793
+ pattern?: string
10794
+ flags?: string
10795
+ } | string)))
10796
+ })
10797
+
10502
10798
  partitionByNewLine?: boolean
10503
10799
 
10800
+ newlinesBetween?: ("ignore" | "always" | "never")
10801
+
10802
+ groups?: (string | string[] | {
10803
+
10804
+ newlinesBetween?: ("ignore" | "always" | "never")
10805
+ })[]
10806
+ }]
10807
+ // ----- perfectionist/sort-exports -----
10808
+ type PerfectionistSortExports = []|[{
10809
+
10504
10810
  specialCharacters?: ("remove" | "trim" | "keep")
10505
10811
 
10812
+ fallbackSort?: {
10813
+
10814
+ order?: ("asc" | "desc")
10815
+
10816
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10817
+ [k: string]: unknown | undefined
10818
+ }
10819
+
10506
10820
  ignoreCase?: boolean
10507
10821
 
10508
10822
  alphabet?: string
10509
10823
 
10510
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10511
-
10512
10824
  locales?: (string | string[])
10513
10825
 
10514
10826
  order?: ("asc" | "desc")
10515
- }]
10516
- // ----- perfectionist/sort-exports -----
10517
- type PerfectionistSortExports = []|[{
10518
10827
 
10519
- partitionByComment?: (string[] | boolean | string | {
10520
- block?: (string[] | boolean | string)
10521
- line?: (string[] | boolean | string)
10522
- [k: string]: unknown | undefined
10523
- })
10828
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10524
10829
 
10525
10830
  groupKind?: ("mixed" | "values-first" | "types-first")
10526
10831
 
10832
+ partitionByComment?: (boolean | (({
10833
+ pattern?: string
10834
+ flags?: string
10835
+ } | string)[] | ({
10836
+ pattern?: string
10837
+ flags?: string
10838
+ } | string)) | {
10839
+ block?: (boolean | (({
10840
+ pattern?: string
10841
+ flags?: string
10842
+ } | string)[] | ({
10843
+ pattern?: string
10844
+ flags?: string
10845
+ } | string)))
10846
+ line?: (boolean | (({
10847
+ pattern?: string
10848
+ flags?: string
10849
+ } | string)[] | ({
10850
+ pattern?: string
10851
+ flags?: string
10852
+ } | string)))
10853
+ })
10854
+
10527
10855
  partitionByNewLine?: boolean
10856
+ }]
10857
+ // ----- perfectionist/sort-heritage-clauses -----
10858
+ type PerfectionistSortHeritageClauses = []|[{
10528
10859
 
10529
10860
  specialCharacters?: ("remove" | "trim" | "keep")
10530
10861
 
10862
+ fallbackSort?: {
10863
+
10864
+ order?: ("asc" | "desc")
10865
+
10866
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10867
+ [k: string]: unknown | undefined
10868
+ }
10869
+
10531
10870
  ignoreCase?: boolean
10532
10871
 
10533
10872
  alphabet?: string
10534
10873
 
10535
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10536
-
10537
10874
  locales?: (string | string[])
10538
10875
 
10539
10876
  order?: ("asc" | "desc")
10540
- }]
10541
- // ----- perfectionist/sort-heritage-clauses -----
10542
- type PerfectionistSortHeritageClauses = []|[{
10543
10877
 
10544
- specialCharacters?: ("remove" | "trim" | "keep")
10878
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10545
10879
 
10546
10880
  customGroups?: {
10547
10881
  [k: string]: (string | string[]) | undefined
10548
10882
  }
10549
10883
 
10884
+ groups?: (string | string[] | {
10885
+
10886
+ newlinesBetween?: ("ignore" | "always" | "never")
10887
+ })[]
10888
+ }]
10889
+ // ----- perfectionist/sort-imports -----
10890
+ type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
10891
+ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
10892
+
10893
+ specialCharacters?: ("remove" | "trim" | "keep")
10894
+
10895
+ fallbackSort?: {
10896
+
10897
+ order?: ("asc" | "desc")
10898
+
10899
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10900
+ [k: string]: unknown | undefined
10901
+ }
10902
+
10550
10903
  ignoreCase?: boolean
10551
10904
 
10552
10905
  alphabet?: string
10553
10906
 
10554
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10555
-
10556
10907
  locales?: (string | string[])
10557
10908
 
10558
- groups?: (string | string[])[]
10559
-
10560
10909
  order?: ("asc" | "desc")
10561
- }]
10562
- // ----- perfectionist/sort-imports -----
10563
- type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
10564
- type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
10910
+
10911
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10565
10912
 
10566
10913
  customGroups?: {
10567
10914
 
@@ -10574,14 +10921,6 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
10574
10921
  }
10575
10922
  }
10576
10923
 
10577
- partitionByComment?: (string[] | boolean | string | {
10578
- block?: (string[] | boolean | string)
10579
- line?: (string[] | boolean | string)
10580
- [k: string]: unknown | undefined
10581
- })
10582
-
10583
- internalPattern?: string[]
10584
-
10585
10924
  maxLineLength?: number
10586
10925
 
10587
10926
  sortSideEffects?: boolean
@@ -10590,23 +10929,45 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
10590
10929
 
10591
10930
  tsconfigRootDir?: string
10592
10931
 
10593
- partitionByNewLine?: boolean
10932
+ partitionByComment?: (boolean | (({
10933
+ pattern?: string
10934
+ flags?: string
10935
+ } | string)[] | ({
10936
+ pattern?: string
10937
+ flags?: string
10938
+ } | string)) | {
10939
+ block?: (boolean | (({
10940
+ pattern?: string
10941
+ flags?: string
10942
+ } | string)[] | ({
10943
+ pattern?: string
10944
+ flags?: string
10945
+ } | string)))
10946
+ line?: (boolean | (({
10947
+ pattern?: string
10948
+ flags?: string
10949
+ } | string)[] | ({
10950
+ pattern?: string
10951
+ flags?: string
10952
+ } | string)))
10953
+ })
10594
10954
 
10595
- specialCharacters?: ("remove" | "trim" | "keep")
10955
+ partitionByNewLine?: boolean
10596
10956
 
10597
10957
  newlinesBetween?: ("ignore" | "always" | "never")
10598
10958
 
10599
- ignoreCase?: boolean
10600
-
10601
- alphabet?: string
10602
-
10603
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10604
-
10605
- locales?: (string | string[])
10959
+ internalPattern?: (({
10960
+ pattern?: string
10961
+ flags?: string
10962
+ } | string)[] | ({
10963
+ pattern?: string
10964
+ flags?: string
10965
+ } | string))
10606
10966
 
10607
- groups?: (string | string[])[]
10608
-
10609
- order?: ("asc" | "desc")
10967
+ groups?: (string | string[] | {
10968
+
10969
+ newlinesBetween?: ("ignore" | "always" | "never")
10970
+ })[]
10610
10971
  })
10611
10972
  type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
10612
10973
  [k: string]: unknown | undefined
@@ -10618,35 +10979,49 @@ interface _PerfectionistSortImports_IsLineLength {
10618
10979
  // ----- perfectionist/sort-interfaces -----
10619
10980
  type PerfectionistSortInterfaces = {
10620
10981
 
10621
- ignorePattern?: string[]
10622
- useConfigurationIf?: {
10623
- allNamesMatchPattern?: string
10624
- declarationMatchesPattern?: string
10625
- }
10982
+ specialCharacters?: ("remove" | "trim" | "keep")
10626
10983
 
10627
- partitionByComment?: (string[] | boolean | string | {
10628
- block?: (string[] | boolean | string)
10629
- line?: (string[] | boolean | string)
10630
- [k: string]: unknown | undefined
10631
- })
10632
- customGroups?: ({
10633
- [k: string]: (string | string[]) | undefined
10634
- } | ({
10984
+ fallbackSort?: {
10635
10985
 
10636
- groupName?: string
10637
-
10638
- type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
10639
-
10640
- order?: ("desc" | "asc")
10986
+ order?: ("asc" | "desc")
10641
10987
 
10642
- newlinesInside?: ("always" | "never")
10643
- anyOf?: {
10644
-
10988
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10989
+ [k: string]: unknown | undefined
10990
+ }
10991
+
10992
+ ignoreCase?: boolean
10993
+
10994
+ alphabet?: string
10995
+
10996
+ locales?: (string | string[])
10997
+
10998
+ order?: ("asc" | "desc")
10999
+
11000
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11001
+ customGroups?: ({
11002
+ [k: string]: (string | string[]) | undefined
11003
+ } | ({
11004
+
11005
+ groupName?: string
11006
+
11007
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11008
+
11009
+ order?: ("desc" | "asc")
11010
+
11011
+ newlinesInside?: ("always" | "never")
11012
+ anyOf?: {
11013
+
10645
11014
  modifiers?: ("optional" | "required" | "multiline")[]
10646
11015
 
10647
11016
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
10648
11017
 
10649
- elementNamePattern?: string
11018
+ elementNamePattern?: (({
11019
+ pattern?: string
11020
+ flags?: string
11021
+ } | string)[] | ({
11022
+ pattern?: string
11023
+ flags?: string
11024
+ } | string))
10650
11025
  }[]
10651
11026
  } | {
10652
11027
 
@@ -10662,18 +11037,87 @@ type PerfectionistSortInterfaces = {
10662
11037
 
10663
11038
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
10664
11039
 
10665
- elementNamePattern?: string
11040
+ elementNamePattern?: (({
11041
+ pattern?: string
11042
+ flags?: string
11043
+ } | string)[] | ({
11044
+ pattern?: string
11045
+ flags?: string
11046
+ } | string))
10666
11047
  })[])
11048
+ useConfigurationIf?: {
11049
+
11050
+ allNamesMatchPattern?: (({
11051
+ pattern?: string
11052
+ flags?: string
11053
+ } | string)[] | ({
11054
+ pattern?: string
11055
+ flags?: string
11056
+ } | string))
11057
+
11058
+ declarationMatchesPattern?: (({
11059
+ pattern?: string
11060
+ flags?: string
11061
+ } | string)[] | ({
11062
+ pattern?: string
11063
+ flags?: string
11064
+ } | string))
11065
+ }
10667
11066
 
10668
11067
  groupKind?: ("mixed" | "required-first" | "optional-first")
10669
11068
 
10670
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11069
+ partitionByComment?: (boolean | (({
11070
+ pattern?: string
11071
+ flags?: string
11072
+ } | string)[] | ({
11073
+ pattern?: string
11074
+ flags?: string
11075
+ } | string)) | {
11076
+ block?: (boolean | (({
11077
+ pattern?: string
11078
+ flags?: string
11079
+ } | string)[] | ({
11080
+ pattern?: string
11081
+ flags?: string
11082
+ } | string)))
11083
+ line?: (boolean | (({
11084
+ pattern?: string
11085
+ flags?: string
11086
+ } | string)[] | ({
11087
+ pattern?: string
11088
+ flags?: string
11089
+ } | string)))
11090
+ })
10671
11091
 
10672
11092
  partitionByNewLine?: boolean
10673
11093
 
11094
+ newlinesBetween?: ("ignore" | "always" | "never")
11095
+
11096
+ ignorePattern?: (({
11097
+ pattern?: string
11098
+ flags?: string
11099
+ } | string)[] | ({
11100
+ pattern?: string
11101
+ flags?: string
11102
+ } | string))
11103
+
11104
+ groups?: (string | string[] | {
11105
+
11106
+ newlinesBetween?: ("ignore" | "always" | "never")
11107
+ })[]
11108
+ }[]
11109
+ // ----- perfectionist/sort-intersection-types -----
11110
+ type PerfectionistSortIntersectionTypes = []|[{
11111
+
10674
11112
  specialCharacters?: ("remove" | "trim" | "keep")
10675
11113
 
10676
- newlinesBetween?: ("ignore" | "always" | "never")
11114
+ fallbackSort?: {
11115
+
11116
+ order?: ("asc" | "desc")
11117
+
11118
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11119
+ [k: string]: unknown | undefined
11120
+ }
10677
11121
 
10678
11122
  ignoreCase?: boolean
10679
11123
 
@@ -10681,91 +11125,229 @@ type PerfectionistSortInterfaces = {
10681
11125
 
10682
11126
  locales?: (string | string[])
10683
11127
 
10684
- groups?: (string | string[])[]
10685
-
10686
11128
  order?: ("asc" | "desc")
10687
- }[]
10688
- // ----- perfectionist/sort-intersection-types -----
10689
- type PerfectionistSortIntersectionTypes = []|[{
10690
11129
 
10691
- partitionByComment?: (string[] | boolean | string | {
10692
- block?: (string[] | boolean | string)
10693
- line?: (string[] | boolean | string)
10694
- [k: string]: unknown | undefined
11130
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11131
+
11132
+ partitionByComment?: (boolean | (({
11133
+ pattern?: string
11134
+ flags?: string
11135
+ } | string)[] | ({
11136
+ pattern?: string
11137
+ flags?: string
11138
+ } | string)) | {
11139
+ block?: (boolean | (({
11140
+ pattern?: string
11141
+ flags?: string
11142
+ } | string)[] | ({
11143
+ pattern?: string
11144
+ flags?: string
11145
+ } | string)))
11146
+ line?: (boolean | (({
11147
+ pattern?: string
11148
+ flags?: string
11149
+ } | string)[] | ({
11150
+ pattern?: string
11151
+ flags?: string
11152
+ } | string)))
10695
11153
  })
10696
11154
 
10697
11155
  partitionByNewLine?: boolean
10698
11156
 
11157
+ newlinesBetween?: ("ignore" | "always" | "never")
11158
+
11159
+ groups?: (string | string[] | {
11160
+
11161
+ newlinesBetween?: ("ignore" | "always" | "never")
11162
+ })[]
11163
+ }]
11164
+ // ----- perfectionist/sort-jsx-props -----
11165
+ type PerfectionistSortJsxProps = {
11166
+
10699
11167
  specialCharacters?: ("remove" | "trim" | "keep")
10700
11168
 
10701
- newlinesBetween?: ("ignore" | "always" | "never")
11169
+ fallbackSort?: {
11170
+
11171
+ order?: ("asc" | "desc")
11172
+
11173
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11174
+ [k: string]: unknown | undefined
11175
+ }
10702
11176
 
10703
11177
  ignoreCase?: boolean
10704
11178
 
10705
11179
  alphabet?: string
10706
11180
 
10707
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10708
-
10709
11181
  locales?: (string | string[])
10710
11182
 
10711
- groups?: (string | string[])[]
10712
-
10713
11183
  order?: ("asc" | "desc")
10714
- }]
10715
- // ----- perfectionist/sort-jsx-props -----
10716
- type PerfectionistSortJsxProps = []|[{
10717
11184
 
10718
- ignorePattern?: string[]
11185
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11186
+ useConfigurationIf?: {
11187
+
11188
+ allNamesMatchPattern?: (({
11189
+ pattern?: string
11190
+ flags?: string
11191
+ } | string)[] | ({
11192
+ pattern?: string
11193
+ flags?: string
11194
+ } | string))
11195
+
11196
+ tagMatchesPattern?: (({
11197
+ pattern?: string
11198
+ flags?: string
11199
+ } | string)[] | ({
11200
+ pattern?: string
11201
+ flags?: string
11202
+ } | string))
11203
+ }
10719
11204
 
10720
- specialCharacters?: ("remove" | "trim" | "keep")
11205
+ partitionByNewLine?: boolean
11206
+
11207
+ newlinesBetween?: ("ignore" | "always" | "never")
10721
11208
 
10722
11209
  customGroups?: {
10723
11210
  [k: string]: (string | string[]) | undefined
10724
11211
  }
10725
11212
 
11213
+ ignorePattern?: (({
11214
+ pattern?: string
11215
+ flags?: string
11216
+ } | string)[] | ({
11217
+ pattern?: string
11218
+ flags?: string
11219
+ } | string))
11220
+
11221
+ groups?: (string | string[] | {
11222
+
11223
+ newlinesBetween?: ("ignore" | "always" | "never")
11224
+ })[]
11225
+ }[]
11226
+ // ----- perfectionist/sort-maps -----
11227
+ type PerfectionistSortMaps = {
11228
+
11229
+ specialCharacters?: ("remove" | "trim" | "keep")
11230
+
11231
+ fallbackSort?: {
11232
+
11233
+ order?: ("asc" | "desc")
11234
+
11235
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11236
+ [k: string]: unknown | undefined
11237
+ }
11238
+
10726
11239
  ignoreCase?: boolean
10727
11240
 
10728
11241
  alphabet?: string
10729
11242
 
10730
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10731
-
10732
11243
  locales?: (string | string[])
10733
11244
 
10734
- groups?: (string | string[])[]
10735
-
10736
11245
  order?: ("asc" | "desc")
10737
- }]
10738
- // ----- perfectionist/sort-maps -----
10739
- type PerfectionistSortMaps = []|[{
10740
11246
 
10741
- partitionByComment?: (string[] | boolean | string | {
10742
- block?: (string[] | boolean | string)
10743
- line?: (string[] | boolean | string)
10744
- [k: string]: unknown | undefined
11247
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11248
+
11249
+ customGroups?: ({
11250
+
11251
+ groupName?: string
11252
+
11253
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11254
+
11255
+ order?: ("desc" | "asc")
11256
+
11257
+ newlinesInside?: ("always" | "never")
11258
+ anyOf?: {
11259
+
11260
+ elementNamePattern?: (({
11261
+ pattern?: string
11262
+ flags?: string
11263
+ } | string)[] | ({
11264
+ pattern?: string
11265
+ flags?: string
11266
+ } | string))
11267
+ }[]
11268
+ } | {
11269
+
11270
+ groupName?: string
11271
+
11272
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11273
+
11274
+ order?: ("desc" | "asc")
11275
+
11276
+ newlinesInside?: ("always" | "never")
11277
+
11278
+ elementNamePattern?: (({
11279
+ pattern?: string
11280
+ flags?: string
11281
+ } | string)[] | ({
11282
+ pattern?: string
11283
+ flags?: string
11284
+ } | string))
11285
+ })[]
11286
+ useConfigurationIf?: {
11287
+
11288
+ allNamesMatchPattern?: (({
11289
+ pattern?: string
11290
+ flags?: string
11291
+ } | string)[] | ({
11292
+ pattern?: string
11293
+ flags?: string
11294
+ } | string))
11295
+ }
11296
+
11297
+ partitionByComment?: (boolean | (({
11298
+ pattern?: string
11299
+ flags?: string
11300
+ } | string)[] | ({
11301
+ pattern?: string
11302
+ flags?: string
11303
+ } | string)) | {
11304
+ block?: (boolean | (({
11305
+ pattern?: string
11306
+ flags?: string
11307
+ } | string)[] | ({
11308
+ pattern?: string
11309
+ flags?: string
11310
+ } | string)))
11311
+ line?: (boolean | (({
11312
+ pattern?: string
11313
+ flags?: string
11314
+ } | string)[] | ({
11315
+ pattern?: string
11316
+ flags?: string
11317
+ } | string)))
10745
11318
  })
10746
11319
 
10747
11320
  partitionByNewLine?: boolean
10748
11321
 
11322
+ newlinesBetween?: ("ignore" | "always" | "never")
11323
+
11324
+ groups?: (string | string[] | {
11325
+
11326
+ newlinesBetween?: ("ignore" | "always" | "never")
11327
+ })[]
11328
+ }[]
11329
+ // ----- perfectionist/sort-modules -----
11330
+ type PerfectionistSortModules = []|[{
11331
+
10749
11332
  specialCharacters?: ("remove" | "trim" | "keep")
10750
11333
 
11334
+ fallbackSort?: {
11335
+
11336
+ order?: ("asc" | "desc")
11337
+
11338
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11339
+ [k: string]: unknown | undefined
11340
+ }
11341
+
10751
11342
  ignoreCase?: boolean
10752
11343
 
10753
11344
  alphabet?: string
10754
11345
 
10755
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10756
-
10757
11346
  locales?: (string | string[])
10758
11347
 
10759
11348
  order?: ("asc" | "desc")
10760
- }]
10761
- // ----- perfectionist/sort-modules -----
10762
- type PerfectionistSortModules = []|[{
10763
11349
 
10764
- partitionByComment?: (string[] | boolean | string | {
10765
- block?: (string[] | boolean | string)
10766
- line?: (string[] | boolean | string)
10767
- [k: string]: unknown | undefined
10768
- })
11350
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10769
11351
 
10770
11352
  customGroups?: ({
10771
11353
 
@@ -10778,13 +11360,25 @@ type PerfectionistSortModules = []|[{
10778
11360
  newlinesInside?: ("always" | "never")
10779
11361
  anyOf?: {
10780
11362
 
10781
- decoratorNamePattern?: string
10782
-
10783
11363
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
10784
11364
 
10785
11365
  selector?: ("enum" | "function" | "interface" | "type" | "class")
10786
11366
 
10787
- elementNamePattern?: string
11367
+ decoratorNamePattern?: (({
11368
+ pattern?: string
11369
+ flags?: string
11370
+ } | string)[] | ({
11371
+ pattern?: string
11372
+ flags?: string
11373
+ } | string))
11374
+
11375
+ elementNamePattern?: (({
11376
+ pattern?: string
11377
+ flags?: string
11378
+ } | string)[] | ({
11379
+ pattern?: string
11380
+ flags?: string
11381
+ } | string))
10788
11382
  }[]
10789
11383
  } | {
10790
11384
 
@@ -10796,99 +11390,185 @@ type PerfectionistSortModules = []|[{
10796
11390
 
10797
11391
  newlinesInside?: ("always" | "never")
10798
11392
 
10799
- decoratorNamePattern?: string
10800
-
10801
11393
  modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
10802
11394
 
10803
11395
  selector?: ("enum" | "function" | "interface" | "type" | "class")
10804
11396
 
10805
- elementNamePattern?: string
11397
+ decoratorNamePattern?: (({
11398
+ pattern?: string
11399
+ flags?: string
11400
+ } | string)[] | ({
11401
+ pattern?: string
11402
+ flags?: string
11403
+ } | string))
11404
+
11405
+ elementNamePattern?: (({
11406
+ pattern?: string
11407
+ flags?: string
11408
+ } | string)[] | ({
11409
+ pattern?: string
11410
+ flags?: string
11411
+ } | string))
10806
11412
  })[]
10807
11413
 
11414
+ partitionByComment?: (boolean | (({
11415
+ pattern?: string
11416
+ flags?: string
11417
+ } | string)[] | ({
11418
+ pattern?: string
11419
+ flags?: string
11420
+ } | string)) | {
11421
+ block?: (boolean | (({
11422
+ pattern?: string
11423
+ flags?: string
11424
+ } | string)[] | ({
11425
+ pattern?: string
11426
+ flags?: string
11427
+ } | string)))
11428
+ line?: (boolean | (({
11429
+ pattern?: string
11430
+ flags?: string
11431
+ } | string)[] | ({
11432
+ pattern?: string
11433
+ flags?: string
11434
+ } | string)))
11435
+ })
11436
+
10808
11437
  partitionByNewLine?: boolean
10809
11438
 
11439
+ newlinesBetween?: ("ignore" | "always" | "never")
11440
+
11441
+ groups?: (string | string[] | {
11442
+
11443
+ newlinesBetween?: ("ignore" | "always" | "never")
11444
+ })[]
11445
+ }]
11446
+ // ----- perfectionist/sort-named-exports -----
11447
+ type PerfectionistSortNamedExports = []|[{
11448
+
10810
11449
  specialCharacters?: ("remove" | "trim" | "keep")
10811
11450
 
10812
- newlinesBetween?: ("ignore" | "always" | "never")
11451
+ fallbackSort?: {
11452
+
11453
+ order?: ("asc" | "desc")
11454
+
11455
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11456
+ [k: string]: unknown | undefined
11457
+ }
10813
11458
 
10814
11459
  ignoreCase?: boolean
10815
11460
 
10816
11461
  alphabet?: string
10817
11462
 
10818
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10819
-
10820
11463
  locales?: (string | string[])
10821
11464
 
10822
- groups?: (string | string[])[]
10823
-
10824
11465
  order?: ("asc" | "desc")
10825
- }]
10826
- // ----- perfectionist/sort-named-exports -----
10827
- type PerfectionistSortNamedExports = []|[{
10828
11466
 
10829
- partitionByComment?: (string[] | boolean | string | {
10830
- block?: (string[] | boolean | string)
10831
- line?: (string[] | boolean | string)
10832
- [k: string]: unknown | undefined
10833
- })
11467
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10834
11468
 
10835
11469
  groupKind?: ("mixed" | "values-first" | "types-first")
10836
11470
 
11471
+ ignoreAlias?: boolean
11472
+
11473
+ partitionByComment?: (boolean | (({
11474
+ pattern?: string
11475
+ flags?: string
11476
+ } | string)[] | ({
11477
+ pattern?: string
11478
+ flags?: string
11479
+ } | string)) | {
11480
+ block?: (boolean | (({
11481
+ pattern?: string
11482
+ flags?: string
11483
+ } | string)[] | ({
11484
+ pattern?: string
11485
+ flags?: string
11486
+ } | string)))
11487
+ line?: (boolean | (({
11488
+ pattern?: string
11489
+ flags?: string
11490
+ } | string)[] | ({
11491
+ pattern?: string
11492
+ flags?: string
11493
+ } | string)))
11494
+ })
11495
+
10837
11496
  partitionByNewLine?: boolean
11497
+ }]
11498
+ // ----- perfectionist/sort-named-imports -----
11499
+ type PerfectionistSortNamedImports = []|[{
10838
11500
 
10839
11501
  specialCharacters?: ("remove" | "trim" | "keep")
10840
11502
 
11503
+ fallbackSort?: {
11504
+
11505
+ order?: ("asc" | "desc")
11506
+
11507
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11508
+ [k: string]: unknown | undefined
11509
+ }
11510
+
10841
11511
  ignoreCase?: boolean
10842
11512
 
10843
11513
  alphabet?: string
10844
11514
 
10845
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10846
-
10847
11515
  locales?: (string | string[])
10848
11516
 
10849
11517
  order?: ("asc" | "desc")
10850
- }]
10851
- // ----- perfectionist/sort-named-imports -----
10852
- type PerfectionistSortNamedImports = []|[{
10853
11518
 
10854
- partitionByComment?: (string[] | boolean | string | {
10855
- block?: (string[] | boolean | string)
10856
- line?: (string[] | boolean | string)
10857
- [k: string]: unknown | undefined
10858
- })
11519
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10859
11520
 
10860
11521
  groupKind?: ("mixed" | "values-first" | "types-first")
10861
11522
 
10862
11523
  ignoreAlias?: boolean
10863
11524
 
11525
+ partitionByComment?: (boolean | (({
11526
+ pattern?: string
11527
+ flags?: string
11528
+ } | string)[] | ({
11529
+ pattern?: string
11530
+ flags?: string
11531
+ } | string)) | {
11532
+ block?: (boolean | (({
11533
+ pattern?: string
11534
+ flags?: string
11535
+ } | string)[] | ({
11536
+ pattern?: string
11537
+ flags?: string
11538
+ } | string)))
11539
+ line?: (boolean | (({
11540
+ pattern?: string
11541
+ flags?: string
11542
+ } | string)[] | ({
11543
+ pattern?: string
11544
+ flags?: string
11545
+ } | string)))
11546
+ })
11547
+
10864
11548
  partitionByNewLine?: boolean
11549
+ }]
11550
+ // ----- perfectionist/sort-object-types -----
11551
+ type PerfectionistSortObjectTypes = {
10865
11552
 
10866
11553
  specialCharacters?: ("remove" | "trim" | "keep")
10867
11554
 
11555
+ fallbackSort?: {
11556
+
11557
+ order?: ("asc" | "desc")
11558
+
11559
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11560
+ [k: string]: unknown | undefined
11561
+ }
11562
+
10868
11563
  ignoreCase?: boolean
10869
11564
 
10870
11565
  alphabet?: string
10871
11566
 
10872
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
10873
-
10874
11567
  locales?: (string | string[])
10875
11568
 
10876
11569
  order?: ("asc" | "desc")
10877
- }]
10878
- // ----- perfectionist/sort-object-types -----
10879
- type PerfectionistSortObjectTypes = {
10880
-
10881
- ignorePattern?: string[]
10882
- useConfigurationIf?: {
10883
- allNamesMatchPattern?: string
10884
- declarationMatchesPattern?: string
10885
- }
10886
11570
 
10887
- partitionByComment?: (string[] | boolean | string | {
10888
- block?: (string[] | boolean | string)
10889
- line?: (string[] | boolean | string)
10890
- [k: string]: unknown | undefined
10891
- })
11571
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10892
11572
  customGroups?: ({
10893
11573
  [k: string]: (string | string[]) | undefined
10894
11574
  } | ({
@@ -10906,7 +11586,13 @@ type PerfectionistSortObjectTypes = {
10906
11586
 
10907
11587
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
10908
11588
 
10909
- elementNamePattern?: string
11589
+ elementNamePattern?: (({
11590
+ pattern?: string
11591
+ flags?: string
11592
+ } | string)[] | ({
11593
+ pattern?: string
11594
+ flags?: string
11595
+ } | string))
10910
11596
  }[]
10911
11597
  } | {
10912
11598
 
@@ -10922,18 +11608,87 @@ type PerfectionistSortObjectTypes = {
10922
11608
 
10923
11609
  selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
10924
11610
 
10925
- elementNamePattern?: string
11611
+ elementNamePattern?: (({
11612
+ pattern?: string
11613
+ flags?: string
11614
+ } | string)[] | ({
11615
+ pattern?: string
11616
+ flags?: string
11617
+ } | string))
10926
11618
  })[])
11619
+ useConfigurationIf?: {
11620
+
11621
+ allNamesMatchPattern?: (({
11622
+ pattern?: string
11623
+ flags?: string
11624
+ } | string)[] | ({
11625
+ pattern?: string
11626
+ flags?: string
11627
+ } | string))
11628
+
11629
+ declarationMatchesPattern?: (({
11630
+ pattern?: string
11631
+ flags?: string
11632
+ } | string)[] | ({
11633
+ pattern?: string
11634
+ flags?: string
11635
+ } | string))
11636
+ }
10927
11637
 
10928
11638
  groupKind?: ("mixed" | "required-first" | "optional-first")
10929
11639
 
10930
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11640
+ partitionByComment?: (boolean | (({
11641
+ pattern?: string
11642
+ flags?: string
11643
+ } | string)[] | ({
11644
+ pattern?: string
11645
+ flags?: string
11646
+ } | string)) | {
11647
+ block?: (boolean | (({
11648
+ pattern?: string
11649
+ flags?: string
11650
+ } | string)[] | ({
11651
+ pattern?: string
11652
+ flags?: string
11653
+ } | string)))
11654
+ line?: (boolean | (({
11655
+ pattern?: string
11656
+ flags?: string
11657
+ } | string)[] | ({
11658
+ pattern?: string
11659
+ flags?: string
11660
+ } | string)))
11661
+ })
10931
11662
 
10932
11663
  partitionByNewLine?: boolean
10933
11664
 
11665
+ newlinesBetween?: ("ignore" | "always" | "never")
11666
+
11667
+ ignorePattern?: (({
11668
+ pattern?: string
11669
+ flags?: string
11670
+ } | string)[] | ({
11671
+ pattern?: string
11672
+ flags?: string
11673
+ } | string))
11674
+
11675
+ groups?: (string | string[] | {
11676
+
11677
+ newlinesBetween?: ("ignore" | "always" | "never")
11678
+ })[]
11679
+ }[]
11680
+ // ----- perfectionist/sort-objects -----
11681
+ type PerfectionistSortObjects = {
11682
+
10934
11683
  specialCharacters?: ("remove" | "trim" | "keep")
10935
11684
 
10936
- newlinesBetween?: ("ignore" | "always" | "never")
11685
+ fallbackSort?: {
11686
+
11687
+ order?: ("asc" | "desc")
11688
+
11689
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11690
+ [k: string]: unknown | undefined
11691
+ }
10937
11692
 
10938
11693
  ignoreCase?: boolean
10939
11694
 
@@ -10941,46 +11696,153 @@ type PerfectionistSortObjectTypes = {
10941
11696
 
10942
11697
  locales?: (string | string[])
10943
11698
 
10944
- groups?: (string | string[])[]
10945
-
10946
11699
  order?: ("asc" | "desc")
10947
- }[]
10948
- // ----- perfectionist/sort-objects -----
10949
- type PerfectionistSortObjects = {
11700
+
11701
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
10950
11702
 
10951
11703
  destructuredObjects?: (boolean | {
10952
11704
 
10953
11705
  groups?: boolean
10954
11706
  })
10955
-
10956
- ignorePattern?: string[]
11707
+ customGroups?: ({
11708
+ [k: string]: (string | string[]) | undefined
11709
+ } | ({
11710
+
11711
+ groupName?: string
11712
+
11713
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11714
+
11715
+ order?: ("desc" | "asc")
11716
+
11717
+ newlinesInside?: ("always" | "never")
11718
+ anyOf?: {
11719
+
11720
+ modifiers?: ("optional" | "required" | "multiline")[]
11721
+
11722
+ selector?: ("member" | "method" | "multiline" | "property")
11723
+
11724
+ elementValuePattern?: (({
11725
+ pattern?: string
11726
+ flags?: string
11727
+ } | string)[] | ({
11728
+ pattern?: string
11729
+ flags?: string
11730
+ } | string))
11731
+
11732
+ elementNamePattern?: (({
11733
+ pattern?: string
11734
+ flags?: string
11735
+ } | string)[] | ({
11736
+ pattern?: string
11737
+ flags?: string
11738
+ } | string))
11739
+ }[]
11740
+ } | {
11741
+
11742
+ groupName?: string
11743
+
11744
+ type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
11745
+
11746
+ order?: ("desc" | "asc")
11747
+
11748
+ newlinesInside?: ("always" | "never")
11749
+
11750
+ modifiers?: ("optional" | "required" | "multiline")[]
11751
+
11752
+ selector?: ("member" | "method" | "multiline" | "property")
11753
+
11754
+ elementValuePattern?: (({
11755
+ pattern?: string
11756
+ flags?: string
11757
+ } | string)[] | ({
11758
+ pattern?: string
11759
+ flags?: string
11760
+ } | string))
11761
+
11762
+ elementNamePattern?: (({
11763
+ pattern?: string
11764
+ flags?: string
11765
+ } | string)[] | ({
11766
+ pattern?: string
11767
+ flags?: string
11768
+ } | string))
11769
+ })[])
10957
11770
  useConfigurationIf?: {
10958
- allNamesMatchPattern?: string
10959
- callingFunctionNamePattern?: string
11771
+
11772
+ allNamesMatchPattern?: (({
11773
+ pattern?: string
11774
+ flags?: string
11775
+ } | string)[] | ({
11776
+ pattern?: string
11777
+ flags?: string
11778
+ } | string))
11779
+
11780
+ callingFunctionNamePattern?: (({
11781
+ pattern?: string
11782
+ flags?: string
11783
+ } | string)[] | ({
11784
+ pattern?: string
11785
+ flags?: string
11786
+ } | string))
10960
11787
  }
10961
11788
 
10962
- partitionByComment?: (string[] | boolean | string | {
10963
- block?: (string[] | boolean | string)
10964
- line?: (string[] | boolean | string)
10965
- [k: string]: unknown | undefined
10966
- })
10967
-
10968
11789
  destructureOnly?: boolean
10969
11790
 
10970
11791
  objectDeclarations?: boolean
10971
11792
 
10972
11793
  styledComponents?: boolean
10973
11794
 
10974
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11795
+ partitionByComment?: (boolean | (({
11796
+ pattern?: string
11797
+ flags?: string
11798
+ } | string)[] | ({
11799
+ pattern?: string
11800
+ flags?: string
11801
+ } | string)) | {
11802
+ block?: (boolean | (({
11803
+ pattern?: string
11804
+ flags?: string
11805
+ } | string)[] | ({
11806
+ pattern?: string
11807
+ flags?: string
11808
+ } | string)))
11809
+ line?: (boolean | (({
11810
+ pattern?: string
11811
+ flags?: string
11812
+ } | string)[] | ({
11813
+ pattern?: string
11814
+ flags?: string
11815
+ } | string)))
11816
+ })
10975
11817
 
10976
11818
  partitionByNewLine?: boolean
10977
11819
 
10978
- specialCharacters?: ("remove" | "trim" | "keep")
10979
-
10980
11820
  newlinesBetween?: ("ignore" | "always" | "never")
10981
11821
 
10982
- customGroups?: {
10983
- [k: string]: (string | string[]) | undefined
11822
+ ignorePattern?: (({
11823
+ pattern?: string
11824
+ flags?: string
11825
+ } | string)[] | ({
11826
+ pattern?: string
11827
+ flags?: string
11828
+ } | string))
11829
+
11830
+ groups?: (string | string[] | {
11831
+
11832
+ newlinesBetween?: ("ignore" | "always" | "never")
11833
+ })[]
11834
+ }[]
11835
+ // ----- perfectionist/sort-sets -----
11836
+ type PerfectionistSortSets = {
11837
+
11838
+ specialCharacters?: ("remove" | "trim" | "keep")
11839
+
11840
+ fallbackSort?: {
11841
+
11842
+ order?: ("asc" | "desc")
11843
+
11844
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11845
+ [k: string]: unknown | undefined
10984
11846
  }
10985
11847
 
10986
11848
  ignoreCase?: boolean
@@ -10989,18 +11851,9 @@ type PerfectionistSortObjects = {
10989
11851
 
10990
11852
  locales?: (string | string[])
10991
11853
 
10992
- groups?: (string | string[])[]
10993
-
10994
11854
  order?: ("asc" | "desc")
10995
- }[]
10996
- // ----- perfectionist/sort-sets -----
10997
- type PerfectionistSortSets = {
10998
11855
 
10999
- partitionByComment?: (string[] | boolean | string | {
11000
- block?: (string[] | boolean | string)
11001
- line?: (string[] | boolean | string)
11002
- [k: string]: unknown | undefined
11003
- })
11856
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11004
11857
 
11005
11858
  groupKind?: ("mixed" | "literals-first" | "spreads-first")
11006
11859
 
@@ -11017,7 +11870,13 @@ type PerfectionistSortSets = {
11017
11870
 
11018
11871
  selector?: ("literal" | "spread")
11019
11872
 
11020
- elementNamePattern?: string
11873
+ elementNamePattern?: (({
11874
+ pattern?: string
11875
+ flags?: string
11876
+ } | string)[] | ({
11877
+ pattern?: string
11878
+ flags?: string
11879
+ } | string))
11021
11880
  }[]
11022
11881
  } | {
11023
11882
 
@@ -11031,92 +11890,182 @@ type PerfectionistSortSets = {
11031
11890
 
11032
11891
  selector?: ("literal" | "spread")
11033
11892
 
11034
- elementNamePattern?: string
11893
+ elementNamePattern?: (({
11894
+ pattern?: string
11895
+ flags?: string
11896
+ } | string)[] | ({
11897
+ pattern?: string
11898
+ flags?: string
11899
+ } | string))
11035
11900
  })[]
11036
11901
  useConfigurationIf?: {
11037
- allNamesMatchPattern?: string
11902
+
11903
+ allNamesMatchPattern?: (({
11904
+ pattern?: string
11905
+ flags?: string
11906
+ } | string)[] | ({
11907
+ pattern?: string
11908
+ flags?: string
11909
+ } | string))
11038
11910
  }
11039
11911
 
11040
- type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11912
+ partitionByComment?: (boolean | (({
11913
+ pattern?: string
11914
+ flags?: string
11915
+ } | string)[] | ({
11916
+ pattern?: string
11917
+ flags?: string
11918
+ } | string)) | {
11919
+ block?: (boolean | (({
11920
+ pattern?: string
11921
+ flags?: string
11922
+ } | string)[] | ({
11923
+ pattern?: string
11924
+ flags?: string
11925
+ } | string)))
11926
+ line?: (boolean | (({
11927
+ pattern?: string
11928
+ flags?: string
11929
+ } | string)[] | ({
11930
+ pattern?: string
11931
+ flags?: string
11932
+ } | string)))
11933
+ })
11041
11934
 
11042
11935
  partitionByNewLine?: boolean
11043
11936
 
11044
- specialCharacters?: ("remove" | "trim" | "keep")
11045
-
11046
- ignoreCase?: boolean
11047
-
11048
- alphabet?: string
11049
-
11050
- locales?: (string | string[])
11051
-
11052
- groups?: (string | string[])[]
11937
+ newlinesBetween?: ("ignore" | "always" | "never")
11053
11938
 
11054
- order?: ("asc" | "desc")
11939
+ groups?: (string | string[] | {
11940
+
11941
+ newlinesBetween?: ("ignore" | "always" | "never")
11942
+ })[]
11055
11943
  }[]
11056
11944
  // ----- perfectionist/sort-switch-case -----
11057
11945
  type PerfectionistSortSwitchCase = []|[{
11058
11946
 
11059
11947
  specialCharacters?: ("remove" | "trim" | "keep")
11060
11948
 
11949
+ fallbackSort?: {
11950
+
11951
+ order?: ("asc" | "desc")
11952
+
11953
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11954
+ [k: string]: unknown | undefined
11955
+ }
11956
+
11061
11957
  ignoreCase?: boolean
11062
11958
 
11063
11959
  alphabet?: string
11064
11960
 
11065
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
11066
-
11067
11961
  locales?: (string | string[])
11068
11962
 
11069
11963
  order?: ("asc" | "desc")
11964
+
11965
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11070
11966
  }]
11071
11967
  // ----- perfectionist/sort-union-types -----
11072
11968
  type PerfectionistSortUnionTypes = []|[{
11073
11969
 
11074
- partitionByComment?: (string[] | boolean | string | {
11075
- block?: (string[] | boolean | string)
11076
- line?: (string[] | boolean | string)
11077
- [k: string]: unknown | undefined
11078
- })
11079
-
11080
- partitionByNewLine?: boolean
11081
-
11082
11970
  specialCharacters?: ("remove" | "trim" | "keep")
11083
11971
 
11084
- newlinesBetween?: ("ignore" | "always" | "never")
11972
+ fallbackSort?: {
11973
+
11974
+ order?: ("asc" | "desc")
11975
+
11976
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11977
+ [k: string]: unknown | undefined
11978
+ }
11085
11979
 
11086
11980
  ignoreCase?: boolean
11087
11981
 
11088
11982
  alphabet?: string
11089
11983
 
11090
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
11091
-
11092
11984
  locales?: (string | string[])
11093
11985
 
11094
- groups?: (string | string[])[]
11095
-
11096
11986
  order?: ("asc" | "desc")
11097
- }]
11098
- // ----- perfectionist/sort-variable-declarations -----
11099
- type PerfectionistSortVariableDeclarations = []|[{
11100
11987
 
11101
- partitionByComment?: (string[] | boolean | string | {
11102
- block?: (string[] | boolean | string)
11103
- line?: (string[] | boolean | string)
11104
- [k: string]: unknown | undefined
11988
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
11989
+
11990
+ partitionByComment?: (boolean | (({
11991
+ pattern?: string
11992
+ flags?: string
11993
+ } | string)[] | ({
11994
+ pattern?: string
11995
+ flags?: string
11996
+ } | string)) | {
11997
+ block?: (boolean | (({
11998
+ pattern?: string
11999
+ flags?: string
12000
+ } | string)[] | ({
12001
+ pattern?: string
12002
+ flags?: string
12003
+ } | string)))
12004
+ line?: (boolean | (({
12005
+ pattern?: string
12006
+ flags?: string
12007
+ } | string)[] | ({
12008
+ pattern?: string
12009
+ flags?: string
12010
+ } | string)))
11105
12011
  })
11106
12012
 
11107
12013
  partitionByNewLine?: boolean
11108
12014
 
12015
+ newlinesBetween?: ("ignore" | "always" | "never")
12016
+
12017
+ groups?: (string | string[] | {
12018
+
12019
+ newlinesBetween?: ("ignore" | "always" | "never")
12020
+ })[]
12021
+ }]
12022
+ // ----- perfectionist/sort-variable-declarations -----
12023
+ type PerfectionistSortVariableDeclarations = []|[{
12024
+
11109
12025
  specialCharacters?: ("remove" | "trim" | "keep")
11110
12026
 
12027
+ fallbackSort?: {
12028
+
12029
+ order?: ("asc" | "desc")
12030
+
12031
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12032
+ [k: string]: unknown | undefined
12033
+ }
12034
+
11111
12035
  ignoreCase?: boolean
11112
12036
 
11113
12037
  alphabet?: string
11114
12038
 
11115
- type?: ("alphabetical" | "natural" | "line-length" | "custom")
11116
-
11117
12039
  locales?: (string | string[])
11118
12040
 
11119
12041
  order?: ("asc" | "desc")
12042
+
12043
+ type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
12044
+
12045
+ partitionByComment?: (boolean | (({
12046
+ pattern?: string
12047
+ flags?: string
12048
+ } | string)[] | ({
12049
+ pattern?: string
12050
+ flags?: string
12051
+ } | string)) | {
12052
+ block?: (boolean | (({
12053
+ pattern?: string
12054
+ flags?: string
12055
+ } | string)[] | ({
12056
+ pattern?: string
12057
+ flags?: string
12058
+ } | string)))
12059
+ line?: (boolean | (({
12060
+ pattern?: string
12061
+ flags?: string
12062
+ } | string)[] | ({
12063
+ pattern?: string
12064
+ flags?: string
12065
+ } | string)))
12066
+ })
12067
+
12068
+ partitionByNewLine?: boolean
11120
12069
  }]
11121
12070
  // ----- playwright/expect-expect -----
11122
12071
  type PlaywrightExpectExpect = []|[{
@@ -11150,6 +12099,10 @@ type PlaywrightNoRestrictedMatchers = []|[{
11150
12099
  type PlaywrightNoSkippedTest = []|[{
11151
12100
  allowConditional?: boolean
11152
12101
  }]
12102
+ // ----- playwright/no-slowed-test -----
12103
+ type PlaywrightNoSlowedTest = []|[{
12104
+ allowConditional?: boolean
12105
+ }]
11153
12106
  // ----- playwright/prefer-lowercase-title -----
11154
12107
  type PlaywrightPreferLowercaseTitle = []|[{
11155
12108
  allowedPrefixes?: string[]
@@ -12298,6 +13251,10 @@ type VitestPreferSnapshotHint = []|[("always" | "multi")]
12298
13251
  type VitestRequireHook = []|[{
12299
13252
  allowedFunctionCalls?: string[]
12300
13253
  }]
13254
+ // ----- vitest/require-mock-type-parameters -----
13255
+ type VitestRequireMockTypeParameters = []|[{
13256
+ checkImportFunctions?: boolean
13257
+ }]
12301
13258
  // ----- vitest/require-top-level-describe -----
12302
13259
  type VitestRequireTopLevelDescribe = []|[{
12303
13260
  maxNumberOfTopLevelDescribes?: number
@@ -13062,6 +14019,7 @@ declare const eslintConfig: ({ astro, autoDetect, configs, ignores, jest, nextjs
13062
14019
  }, _typescript_eslint_utils_ts_eslint.RuleListener>;
13063
14020
  };
13064
14021
  importXResolverCompat: typeof eslint_plugin_import_x_utils_resolve_js.importXResolverCompat;
14022
+ createNodeResolver: typeof eslint_plugin_import_x_node_resolver_js.createNodeResolver;
13065
14023
  };
13066
14024
  readonly n: eslint.ESLint.Plugin & {
13067
14025
  configs: eslint_plugin_n.Configs;
@@ -13192,6 +14150,7 @@ declare const eslintConfig: ({ astro, autoDetect, configs, ignores, jest, nextjs
13192
14150
  "playwright/no-nested-step": "error";
13193
14151
  "playwright/no-page-pause": "error";
13194
14152
  "playwright/no-skipped-test": "error";
14153
+ "playwright/no-slowed-test": "error";
13195
14154
  "playwright/no-useless-await": "error";
13196
14155
  "playwright/no-useless-not": "error";
13197
14156
  "playwright/no-wait-for-selector": "error";
@@ -14620,8 +15579,9 @@ declare const eslintConfig: ({ astro, autoDetect, configs, ignores, jest, nextjs
14620
15579
  "react/jsx-uses-react": 0;
14621
15580
  };
14622
15581
  };
15582
+ flat: Record<string, eslint_plugin_react.ReactFlatConfig>;
14623
15583
  } & {
14624
- flat?: Record<string, eslint_plugin_react.ReactFlatConfig>;
15584
+ flat: Record<string, eslint_plugin_react.ReactFlatConfig>;
14625
15585
  };
14626
15586
  };
14627
15587
  "react-compiler": eslint.ESLint.Plugin;