@jsse/eslint-config 0.4.3 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,11 +1,10 @@
1
- import { __export } from "./chunk-CkHaCily.js";
2
1
  import pluginEslintComments from "@eslint-community/eslint-plugin-eslint-comments";
3
2
  import pluginTs from "@typescript-eslint/eslint-plugin";
4
3
  import * as parserTs from "@typescript-eslint/parser";
5
4
  import { ParserOptions } from "@typescript-eslint/parser";
6
5
  import pluginAntfu from "eslint-plugin-antfu";
7
6
  import pluginDeMorgan from "eslint-plugin-de-morgan";
8
- import * as pluginImport from "eslint-plugin-import-x";
7
+ import pluginImportLite from "eslint-plugin-import-lite";
9
8
  import pluginN from "eslint-plugin-n";
10
9
  import pluginPerfectionist from "eslint-plugin-perfectionist";
11
10
  import pluginPnpm from "eslint-plugin-pnpm";
@@ -2411,6 +2410,7 @@ type NoConstantCondition = [] | [{
2411
2410
  // ----- no-duplicate-imports -----
2412
2411
  type NoDuplicateImports = [] | [{
2413
2412
  includeExports?: boolean;
2413
+ allowSeparateTypeImports?: boolean;
2414
2414
  }];
2415
2415
  // ----- no-else-return -----
2416
2416
  type NoElseReturn = [] | [{
@@ -3236,479 +3236,56 @@ interface IgnoresRuleOptions {}
3236
3236
  interface ImportsRuleOptions {
3237
3237
  /**
3238
3238
  * Enforce or ban the use of inline type-only markers for named imports.
3239
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/consistent-type-specifier-style.md
3239
+ * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/consistent-type-specifier-style/README.md
3240
3240
  */
3241
3241
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle$1>;
3242
- /**
3243
- * Ensure a default export is present, given a default import.
3244
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/default.md
3245
- */
3246
- "import/default"?: Linter.RuleEntry<[]>;
3247
- /**
3248
- * Enforce a leading comment with the webpackChunkName for dynamic imports.
3249
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/dynamic-import-chunkname.md
3250
- */
3251
- "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname$1>;
3252
- /**
3253
- * Forbid any invalid exports, i.e. re-export of the same name.
3254
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/export.md
3255
- */
3256
- "import/export"?: Linter.RuleEntry<[]>;
3257
- /**
3258
- * Ensure all exports appear after other statements.
3259
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/exports-last.md
3260
- */
3261
- "import/exports-last"?: Linter.RuleEntry<[]>;
3262
- /**
3263
- * Ensure consistent use of file extension within the import path.
3264
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/extensions.md
3265
- */
3266
- "import/extensions"?: Linter.RuleEntry<ImportExtensions$1>;
3267
3242
  /**
3268
3243
  * Ensure all imports appear before other statements.
3269
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/first.md
3244
+ * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/first/README.md
3270
3245
  */
3271
3246
  "import/first"?: Linter.RuleEntry<ImportFirst$1>;
3272
- /**
3273
- * Prefer named exports to be grouped together in a single export declaration.
3274
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/group-exports.md
3275
- */
3276
- "import/group-exports"?: Linter.RuleEntry<[]>;
3277
- /**
3278
- * Replaced by `import-x/first`.
3279
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/imports-first.md
3280
- * @deprecated
3281
- */
3282
- "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst$1>;
3283
- /**
3284
- * Enforce the maximum number of dependencies a module can have.
3285
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/max-dependencies.md
3286
- */
3287
- "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies$1>;
3288
- /**
3289
- * Ensure named imports correspond to a named export in the remote file.
3290
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/named.md
3291
- */
3292
- "import/named"?: Linter.RuleEntry<ImportNamed$1>;
3293
- /**
3294
- * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
3295
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/namespace.md
3296
- */
3297
- "import/namespace"?: Linter.RuleEntry<ImportNamespace$1>;
3298
3247
  /**
3299
3248
  * Enforce a newline after import statements.
3300
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/newline-after-import.md
3249
+ * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/newline-after-import/README.md
3301
3250
  */
3302
3251
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport$1>;
3303
- /**
3304
- * Forbid import of modules using absolute paths.
3305
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-absolute-path.md
3306
- */
3307
- "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath$1>;
3308
- /**
3309
- * Forbid AMD `require` and `define` calls.
3310
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-amd.md
3311
- */
3312
- "import/no-amd"?: Linter.RuleEntry<[]>;
3313
- /**
3314
- * Forbid anonymous values as default exports.
3315
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-anonymous-default-export.md
3316
- */
3317
- "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport$1>;
3318
- /**
3319
- * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
3320
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-commonjs.md
3321
- */
3322
- "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs$1>;
3323
- /**
3324
- * Forbid a module from importing a module with a dependency path back to itself.
3325
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-cycle.md
3326
- */
3327
- "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle$1>;
3328
3252
  /**
3329
3253
  * Forbid default exports.
3330
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-default-export.md
3254
+ * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/no-default-export/README.md
3331
3255
  */
3332
3256
  "import/no-default-export"?: Linter.RuleEntry<[]>;
3333
- /**
3334
- * Forbid imported names marked with `@deprecated` documentation tag.
3335
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-deprecated.md
3336
- */
3337
- "import/no-deprecated"?: Linter.RuleEntry<[]>;
3338
3257
  /**
3339
3258
  * Forbid repeated import of the same module in multiple places.
3340
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-duplicates.md
3259
+ * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/no-duplicates/README.md
3341
3260
  */
3342
3261
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates$1>;
3343
- /**
3344
- * Forbid `require()` calls with expressions.
3345
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-dynamic-require.md
3346
- */
3347
- "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire$1>;
3348
- /**
3349
- * Forbid empty named import blocks.
3350
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-empty-named-blocks.md
3351
- */
3352
- "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
3353
- /**
3354
- * Forbid the use of extraneous packages.
3355
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-extraneous-dependencies.md
3356
- */
3357
- "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies$1>;
3358
- /**
3359
- * Forbid import statements with CommonJS module.exports.
3360
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-import-module-exports.md
3361
- */
3362
- "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports$1>;
3363
- /**
3364
- * Forbid importing the submodules of other modules.
3365
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-internal-modules.md
3366
- */
3367
- "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules$1>;
3368
3262
  /**
3369
3263
  * Forbid the use of mutable exports with `var` or `let`.
3370
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-mutable-exports.md
3264
+ * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/no-mutable-exports/README.md
3371
3265
  */
3372
3266
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
3373
- /**
3374
- * Forbid use of exported name as identifier of default export.
3375
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-as-default.md
3376
- */
3377
- "import/no-named-as-default"?: Linter.RuleEntry<[]>;
3378
- /**
3379
- * Forbid use of exported name as property of default export.
3380
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-as-default-member.md
3381
- */
3382
- "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
3383
3267
  /**
3384
3268
  * Forbid named default exports.
3385
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-default.md
3269
+ * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/no-named-default/README.md
3386
3270
  */
3387
3271
  "import/no-named-default"?: Linter.RuleEntry<[]>;
3388
- /**
3389
- * Forbid named exports.
3390
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-export.md
3391
- */
3392
- "import/no-named-export"?: Linter.RuleEntry<[]>;
3393
- /**
3394
- * Forbid namespace (a.k.a. "wildcard" `*`) imports.
3395
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-namespace.md
3396
- */
3397
- "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace$1>;
3398
- /**
3399
- * Forbid Node.js builtin modules.
3400
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-nodejs-modules.md
3401
- */
3402
- "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules$1>;
3403
- /**
3404
- * Forbid importing packages through relative paths.
3405
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-relative-packages.md
3406
- */
3407
- "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages$1>;
3408
- /**
3409
- * Forbid importing modules from parent directories.
3410
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-relative-parent-imports.md
3411
- */
3412
- "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports$1>;
3413
- /**
3414
- * Forbid importing a default export by a different name.
3415
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-rename-default.md
3416
- */
3417
- "import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault$1>;
3418
- /**
3419
- * Enforce which files can be imported in a given folder.
3420
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-restricted-paths.md
3421
- */
3422
- "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths$1>;
3423
- /**
3424
- * Forbid a module from importing itself.
3425
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-self-import.md
3426
- */
3427
- "import/no-self-import"?: Linter.RuleEntry<[]>;
3428
- /**
3429
- * Forbid unassigned imports.
3430
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unassigned-import.md
3431
- */
3432
- "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport$1>;
3433
- /**
3434
- * Ensure imports point to a file/module that can be resolved.
3435
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unresolved.md
3436
- */
3437
- "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved$1>;
3438
- /**
3439
- * Forbid modules without exports, or exports without matching import in another module.
3440
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unused-modules.md
3441
- */
3442
- "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules$1>;
3443
- /**
3444
- * Forbid unnecessary path segments in import and require statements.
3445
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-useless-path-segments.md
3446
- */
3447
- "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments$1>;
3448
- /**
3449
- * Forbid webpack loader syntax in imports.
3450
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-webpack-loader-syntax.md
3451
- */
3452
- "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
3453
- /**
3454
- * Enforce a convention in module import order.
3455
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/order.md
3456
- */
3457
- "import/order"?: Linter.RuleEntry<ImportOrder$1>;
3458
- /**
3459
- * Prefer a default export if module exports a single name or multiple names.
3460
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/prefer-default-export.md
3461
- */
3462
- "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport$1>;
3463
- /**
3464
- * Forbid potentially ambiguous parse goal (`script` vs. `module`).
3465
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/unambiguous.md
3466
- */
3467
- "import/unambiguous"?: Linter.RuleEntry<[]>;
3468
3272
  }
3469
3273
 
3470
3274
  /* ======= Declarations ======= */
3471
3275
  // ----- import/consistent-type-specifier-style -----
3472
- type ImportConsistentTypeSpecifierStyle$1 = [] | ["prefer-top-level" | "prefer-inline"];
3473
- // ----- import/dynamic-import-chunkname -----
3474
- type ImportDynamicImportChunkname$1 = [] | [{
3475
- importFunctions?: string[];
3476
- allowEmpty?: boolean;
3477
- webpackChunknameFormat?: string;
3478
- [k: string]: unknown | undefined;
3479
- }];
3480
- // ----- import/extensions -----
3481
- type ImportExtensions$1 = [] | ["always" | "ignorePackages" | "never"] | [] | ["always" | "ignorePackages" | "never"] | ["always" | "ignorePackages" | "never", {
3482
- pattern?: {
3483
- [k: string]: "always" | "ignorePackages" | "never";
3484
- };
3485
- ignorePackages?: boolean;
3486
- checkTypeImports?: boolean;
3487
- pathGroupOverrides?: {
3488
- pattern: string;
3489
- patternOptions?: {
3490
- [k: string]: unknown | undefined;
3491
- };
3492
- action: "enforce" | "ignore";
3493
- }[];
3494
- fix?: boolean;
3495
- [k: string]: unknown | undefined;
3496
- }] | [] | [{
3497
- pattern?: {
3498
- [k: string]: "always" | "ignorePackages" | "never";
3499
- };
3500
- ignorePackages?: boolean;
3501
- checkTypeImports?: boolean;
3502
- pathGroupOverrides?: {
3503
- pattern: string;
3504
- patternOptions?: {
3505
- [k: string]: unknown | undefined;
3506
- };
3507
- action: "enforce" | "ignore";
3508
- }[];
3509
- fix?: boolean;
3510
- [k: string]: unknown | undefined;
3511
- }] | [] | ["always" | "ignorePackages" | "never"] | ["always" | "ignorePackages" | "never", {
3512
- [k: string]: "always" | "ignorePackages" | "never";
3513
- }] | [] | [{
3514
- [k: string]: "always" | "ignorePackages" | "never";
3515
- }];
3276
+ type ImportConsistentTypeSpecifierStyle$1 = [] | ["top-level" | "inline" | "prefer-top-level"];
3516
3277
  // ----- import/first -----
3517
3278
  type ImportFirst$1 = [] | ["absolute-first" | "disable-absolute-first"];
3518
- // ----- import/imports-first -----
3519
- type ImportImportsFirst$1 = [] | ["absolute-first" | "disable-absolute-first"];
3520
- // ----- import/max-dependencies -----
3521
- type ImportMaxDependencies$1 = [] | [{
3522
- max?: number;
3523
- ignoreTypeImports?: boolean;
3524
- }];
3525
- // ----- import/named -----
3526
- type ImportNamed$1 = [] | [{
3527
- commonjs?: boolean;
3528
- }];
3529
- // ----- import/namespace -----
3530
- type ImportNamespace$1 = [] | [{
3531
- allowComputed?: boolean;
3532
- }];
3533
3279
  // ----- import/newline-after-import -----
3534
3280
  type ImportNewlineAfterImport$1 = [] | [{
3535
3281
  count?: number;
3536
3282
  exactCount?: boolean;
3537
3283
  considerComments?: boolean;
3538
3284
  }];
3539
- // ----- import/no-absolute-path -----
3540
- type ImportNoAbsolutePath$1 = [] | [{
3541
- commonjs?: boolean;
3542
- amd?: boolean;
3543
- esmodule?: boolean;
3544
- ignore?: [string, ...string[]];
3545
- }];
3546
- // ----- import/no-anonymous-default-export -----
3547
- type ImportNoAnonymousDefaultExport$1 = [] | [{
3548
- allowArray?: boolean;
3549
- allowArrowFunction?: boolean;
3550
- allowCallExpression?: boolean;
3551
- allowAnonymousClass?: boolean;
3552
- allowAnonymousFunction?: boolean;
3553
- allowLiteral?: boolean;
3554
- allowObject?: boolean;
3555
- allowNew?: boolean;
3556
- }];
3557
- // ----- import/no-commonjs -----
3558
- type ImportNoCommonjs$1 = [] | ["allow-primitive-modules"] | [] | [{
3559
- allowPrimitiveModules?: boolean;
3560
- allowRequire?: boolean;
3561
- allowConditionalRequire?: boolean;
3562
- }];
3563
- // ----- import/no-cycle -----
3564
- type ImportNoCycle$1 = [] | [{
3565
- commonjs?: boolean;
3566
- amd?: boolean;
3567
- esmodule?: boolean;
3568
- ignore?: [string, ...string[]];
3569
- maxDepth?: number | "∞";
3570
- ignoreExternal?: boolean;
3571
- allowUnsafeDynamicCyclicDependency?: boolean;
3572
- }];
3573
3285
  // ----- import/no-duplicates -----
3574
3286
  type ImportNoDuplicates$1 = [] | [{
3575
- considerQueryString?: boolean;
3576
3287
  "prefer-inline"?: boolean;
3577
3288
  }];
3578
- // ----- import/no-dynamic-require -----
3579
- type ImportNoDynamicRequire$1 = [] | [{
3580
- esmodule?: boolean;
3581
- }];
3582
- // ----- import/no-extraneous-dependencies -----
3583
- type ImportNoExtraneousDependencies$1 = [] | [{
3584
- devDependencies?: boolean | unknown[];
3585
- optionalDependencies?: boolean | unknown[];
3586
- peerDependencies?: boolean | unknown[];
3587
- bundledDependencies?: boolean | unknown[];
3588
- packageDir?: string | unknown[];
3589
- includeInternal?: boolean;
3590
- includeTypes?: boolean;
3591
- whitelist?: unknown[];
3592
- }];
3593
- // ----- import/no-import-module-exports -----
3594
- type ImportNoImportModuleExports$1 = [] | [{
3595
- exceptions?: unknown[];
3596
- }];
3597
- // ----- import/no-internal-modules -----
3598
- type ImportNoInternalModules$1 = [] | [{
3599
- allow?: string[];
3600
- } | {
3601
- forbid?: string[];
3602
- }];
3603
- // ----- import/no-namespace -----
3604
- type ImportNoNamespace$1 = [] | [{
3605
- ignore?: string[];
3606
- [k: string]: unknown | undefined;
3607
- }];
3608
- // ----- import/no-nodejs-modules -----
3609
- type ImportNoNodejsModules$1 = [] | [{
3610
- allow?: string[];
3611
- }];
3612
- // ----- import/no-relative-packages -----
3613
- type ImportNoRelativePackages$1 = [] | [{
3614
- commonjs?: boolean;
3615
- amd?: boolean;
3616
- esmodule?: boolean;
3617
- ignore?: [string, ...string[]];
3618
- }];
3619
- // ----- import/no-relative-parent-imports -----
3620
- type ImportNoRelativeParentImports$1 = [] | [{
3621
- commonjs?: boolean;
3622
- amd?: boolean;
3623
- esmodule?: boolean;
3624
- ignore?: [string, ...string[]];
3625
- }];
3626
- // ----- import/no-rename-default -----
3627
- type ImportNoRenameDefault$1 = [] | [{
3628
- commonjs?: boolean;
3629
- preventRenamingBindings?: boolean;
3630
- }];
3631
- // ----- import/no-restricted-paths -----
3632
- type ImportNoRestrictedPaths$1 = [] | [{
3633
- zones?: [{
3634
- target?: string | [string, ...string[]];
3635
- from?: string | [string, ...string[]];
3636
- except?: string[];
3637
- message?: string;
3638
- }, ...{
3639
- target?: string | [string, ...string[]];
3640
- from?: string | [string, ...string[]];
3641
- except?: string[];
3642
- message?: string;
3643
- }[]];
3644
- basePath?: string;
3645
- }];
3646
- // ----- import/no-unassigned-import -----
3647
- type ImportNoUnassignedImport$1 = [] | [{
3648
- devDependencies?: boolean | unknown[];
3649
- optionalDependencies?: boolean | unknown[];
3650
- peerDependencies?: boolean | unknown[];
3651
- allow?: string[];
3652
- }];
3653
- // ----- import/no-unresolved -----
3654
- type ImportNoUnresolved$1 = [] | [{
3655
- commonjs?: boolean;
3656
- amd?: boolean;
3657
- esmodule?: boolean;
3658
- ignore?: [string, ...string[]];
3659
- caseSensitive?: boolean;
3660
- caseSensitiveStrict?: boolean;
3661
- }];
3662
- // ----- import/no-unused-modules -----
3663
- type ImportNoUnusedModules$1 = [] | [{
3664
- unusedExports: true;
3665
- src?: [unknown, ...unknown[]];
3666
- [k: string]: unknown | undefined;
3667
- } | {
3668
- missingExports: true;
3669
- [k: string]: unknown | undefined;
3670
- }];
3671
- // ----- import/no-useless-path-segments -----
3672
- type ImportNoUselessPathSegments$1 = [] | [{
3673
- commonjs?: boolean;
3674
- noUselessIndex?: boolean;
3675
- }];
3676
- // ----- import/order -----
3677
- type ImportOrder$1 = [] | [{
3678
- groups?: unknown[];
3679
- pathGroupsExcludedImportTypes?: unknown[];
3680
- distinctGroup?: boolean;
3681
- pathGroups?: {
3682
- pattern: string;
3683
- patternOptions?: {
3684
- [k: string]: unknown | undefined;
3685
- };
3686
- group: "builtin" | "external" | "internal" | "unknown" | "parent" | "sibling" | "index" | "object" | "type";
3687
- position?: "after" | "before";
3688
- }[];
3689
- "newlines-between"?: "ignore" | "always" | "always-and-inside-groups" | "never";
3690
- "newlines-between-types"?: "ignore" | "always" | "always-and-inside-groups" | "never";
3691
- consolidateIslands?: "inside-groups" | "never";
3692
- sortTypesGroup?: boolean;
3693
- named?: boolean | {
3694
- enabled?: boolean;
3695
- import?: boolean;
3696
- export?: boolean;
3697
- require?: boolean;
3698
- cjsExports?: boolean;
3699
- types?: "mixed" | "types-first" | "types-last";
3700
- };
3701
- alphabetize?: {
3702
- caseInsensitive?: boolean;
3703
- order?: "ignore" | "asc" | "desc";
3704
- orderImportKind?: "ignore" | "asc" | "desc";
3705
- };
3706
- warnOnUnassignedImports?: boolean;
3707
- }];
3708
- // ----- import/prefer-default-export -----
3709
- type ImportPreferDefaultExport$1 = [] | [{
3710
- target?: "single" | "any";
3711
- }];
3712
3289
  //#endregion
3713
3290
  //#region src/generated/dts/javascript.d.ts
3714
3291
  interface JavascriptRuleOptions {
@@ -4163,6 +3740,7 @@ type JsdocLinesBeforeBlock = [] | [{
4163
3740
  checkBlockStarts?: boolean;
4164
3741
  excludedTags?: string[];
4165
3742
  ignoreSameLine?: boolean;
3743
+ ignoreSingleLines?: boolean;
4166
3744
  lines?: number;
4167
3745
  }];
4168
3746
  // ----- jsdoc/match-description -----
@@ -4193,8 +3771,8 @@ type JsdocMatchName = [] | [{
4193
3771
  context?: string;
4194
3772
  disallowName?: string;
4195
3773
  message?: string;
3774
+ replacement?: string;
4196
3775
  tags?: string[];
4197
- [k: string]: unknown | undefined;
4198
3776
  }[];
4199
3777
  }];
4200
3778
  // ----- jsdoc/multiline-blocks -----
@@ -4206,6 +3784,7 @@ type JsdocMultilineBlocks = [] | [{
4206
3784
  noMultilineBlocks?: boolean;
4207
3785
  noSingleLineBlocks?: boolean;
4208
3786
  noZeroLineText?: boolean;
3787
+ requireSingleLineUnderCount?: number;
4209
3788
  singleLineTags?: string[];
4210
3789
  }];
4211
3790
  // ----- jsdoc/no-bad-blocks -----
@@ -4267,7 +3846,6 @@ type JsdocRequireAsteriskPrefix = [] | ["always" | "never" | "any"] | ["always"
4267
3846
  always?: string[];
4268
3847
  any?: string[];
4269
3848
  never?: string[];
4270
- [k: string]: unknown | undefined;
4271
3849
  };
4272
3850
  }];
4273
3851
  // ----- jsdoc/require-description -----
@@ -4477,7 +4055,6 @@ type JsdocSortTags = [] | [{
4477
4055
  reportTagGroupSpacing?: boolean;
4478
4056
  tagSequence?: {
4479
4057
  tags?: string[];
4480
- [k: string]: unknown | undefined;
4481
4058
  }[];
4482
4059
  }];
4483
4060
  // ----- jsdoc/tag-lines -----
@@ -5006,6 +4583,11 @@ interface MarkdownRuleOptions {
5006
4583
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
5007
4584
  */
5008
4585
  "markdown/heading-increment"?: Linter.RuleEntry<[]>;
4586
+ /**
4587
+ * Disallow bare URLs
4588
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-bare-urls.md
4589
+ */
4590
+ "markdown/no-bare-urls"?: Linter.RuleEntry<[]>;
5009
4591
  /**
5010
4592
  * Disallow duplicate definitions
5011
4593
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-definitions.md
@@ -5015,12 +4597,12 @@ interface MarkdownRuleOptions {
5015
4597
  * Disallow duplicate headings in the same document
5016
4598
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md
5017
4599
  */
5018
- "markdown/no-duplicate-headings"?: Linter.RuleEntry<[]>;
4600
+ "markdown/no-duplicate-headings"?: Linter.RuleEntry<MarkdownNoDuplicateHeadings>;
5019
4601
  /**
5020
4602
  * Disallow empty definitions
5021
4603
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-definitions.md
5022
4604
  */
5023
- "markdown/no-empty-definitions"?: Linter.RuleEntry<[]>;
4605
+ "markdown/no-empty-definitions"?: Linter.RuleEntry<MarkdownNoEmptyDefinitions>;
5024
4606
  /**
5025
4607
  * Disallow empty images
5026
4608
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-images.md
@@ -5051,11 +4633,26 @@ interface MarkdownRuleOptions {
5051
4633
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
5052
4634
  */
5053
4635
  "markdown/no-missing-label-refs"?: Linter.RuleEntry<[]>;
4636
+ /**
4637
+ * Disallow link fragments that do not reference valid headings
4638
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-link-fragments.md
4639
+ */
4640
+ "markdown/no-missing-link-fragments"?: Linter.RuleEntry<MarkdownNoMissingLinkFragments>;
5054
4641
  /**
5055
4642
  * Disallow multiple H1 headings in the same document
5056
4643
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-multiple-h1.md
5057
4644
  */
5058
4645
  "markdown/no-multiple-h1"?: Linter.RuleEntry<MarkdownNoMultipleH1>;
4646
+ /**
4647
+ * Disallow reversed link and image syntax
4648
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reversed-media-syntax.md
4649
+ */
4650
+ "markdown/no-reversed-media-syntax"?: Linter.RuleEntry<[]>;
4651
+ /**
4652
+ * Disallow unused definitions
4653
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-unused-definitions.md
4654
+ */
4655
+ "markdown/no-unused-definitions"?: Linter.RuleEntry<MarkdownNoUnusedDefinitions>;
5059
4656
  /**
5060
4657
  * Require alternative text for images
5061
4658
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/require-alt-text.md
@@ -5078,14 +4675,34 @@ type MarkdownNoDuplicateDefinitions = [] | [{
5078
4675
  allowDefinitions?: string[];
5079
4676
  allowFootnoteDefinitions?: string[];
5080
4677
  }];
4678
+ // ----- markdown/no-duplicate-headings -----
4679
+ type MarkdownNoDuplicateHeadings = [] | [{
4680
+ checkSiblingsOnly?: boolean;
4681
+ }];
4682
+ // ----- markdown/no-empty-definitions -----
4683
+ type MarkdownNoEmptyDefinitions = [] | [{
4684
+ allowDefinitions?: string[];
4685
+ allowFootnoteDefinitions?: string[];
4686
+ checkFootnoteDefinitions?: boolean;
4687
+ }];
5081
4688
  // ----- markdown/no-html -----
5082
4689
  type MarkdownNoHtml = [] | [{
5083
4690
  allowed?: string[];
5084
4691
  }];
4692
+ // ----- markdown/no-missing-link-fragments -----
4693
+ type MarkdownNoMissingLinkFragments = [] | [{
4694
+ ignoreCase?: boolean;
4695
+ allowPattern?: string;
4696
+ }];
5085
4697
  // ----- markdown/no-multiple-h1 -----
5086
4698
  type MarkdownNoMultipleH1 = [] | [{
5087
4699
  frontmatterTitle?: string;
5088
4700
  }];
4701
+ // ----- markdown/no-unused-definitions -----
4702
+ type MarkdownNoUnusedDefinitions = [] | [{
4703
+ allowDefinitions?: string[];
4704
+ allowFootnoteDefinitions?: string[];
4705
+ }];
5089
4706
  //#endregion
5090
4707
  //#region src/generated/dts/n.d.ts
5091
4708
  interface NRuleOptions {
@@ -5704,7 +5321,7 @@ type PerfectionistSortArrayIncludes = {
5704
5321
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
5705
5322
  groupKind?: "mixed" | "literals-first" | "spreads-first";
5706
5323
  customGroups?: ({
5707
- newlinesInside?: "always" | "never";
5324
+ newlinesInside?: ("always" | "never") | number;
5708
5325
  fallbackSort?: {
5709
5326
  order?: "asc" | "desc";
5710
5327
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -5723,7 +5340,7 @@ type PerfectionistSortArrayIncludes = {
5723
5340
  } | string);
5724
5341
  }[];
5725
5342
  } | {
5726
- newlinesInside?: "always" | "never";
5343
+ newlinesInside?: ("always" | "never") | number;
5727
5344
  fallbackSort?: {
5728
5345
  order?: "asc" | "desc";
5729
5346
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -5772,9 +5389,9 @@ type PerfectionistSortArrayIncludes = {
5772
5389
  } | string));
5773
5390
  };
5774
5391
  partitionByNewLine?: boolean;
5775
- newlinesBetween?: "ignore" | "always" | "never";
5392
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
5776
5393
  groups?: (string | string[] | {
5777
- newlinesBetween?: "ignore" | "always" | "never";
5394
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
5778
5395
  commentAbove?: string;
5779
5396
  })[];
5780
5397
  }[];
@@ -5791,7 +5408,7 @@ type PerfectionistSortClasses = [] | [{
5791
5408
  order?: "asc" | "desc";
5792
5409
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
5793
5410
  customGroups?: ({
5794
- newlinesInside?: "always" | "never";
5411
+ newlinesInside?: ("always" | "never") | number;
5795
5412
  fallbackSort?: {
5796
5413
  order?: "asc" | "desc";
5797
5414
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -5825,7 +5442,7 @@ type PerfectionistSortClasses = [] | [{
5825
5442
  } | string);
5826
5443
  }[];
5827
5444
  } | {
5828
- newlinesInside?: "always" | "never";
5445
+ newlinesInside?: ("always" | "never") | number;
5829
5446
  fallbackSort?: {
5830
5447
  order?: "asc" | "desc";
5831
5448
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -5887,9 +5504,9 @@ type PerfectionistSortClasses = [] | [{
5887
5504
  } | string));
5888
5505
  };
5889
5506
  partitionByNewLine?: boolean;
5890
- newlinesBetween?: "ignore" | "always" | "never";
5507
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
5891
5508
  groups?: (string | string[] | {
5892
- newlinesBetween?: "ignore" | "always" | "never";
5509
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
5893
5510
  commentAbove?: string;
5894
5511
  })[];
5895
5512
  }];
@@ -5936,7 +5553,7 @@ type PerfectionistSortDecorators = [] | [{
5936
5553
  [k: string]: (string | string[]) | undefined;
5937
5554
  };
5938
5555
  groups?: (string | string[] | {
5939
- newlinesBetween?: "ignore" | "always" | "never";
5556
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
5940
5557
  commentAbove?: string;
5941
5558
  })[];
5942
5559
  }];
@@ -5955,7 +5572,7 @@ type PerfectionistSortEnums = [] | [{
5955
5572
  customGroups?: {
5956
5573
  [k: string]: (string | string[]) | undefined;
5957
5574
  } | ({
5958
- newlinesInside?: "always" | "never";
5575
+ newlinesInside?: ("always" | "never") | number;
5959
5576
  fallbackSort?: {
5960
5577
  order?: "asc" | "desc";
5961
5578
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -5980,7 +5597,7 @@ type PerfectionistSortEnums = [] | [{
5980
5597
  } | string);
5981
5598
  }[];
5982
5599
  } | {
5983
- newlinesInside?: "always" | "never";
5600
+ newlinesInside?: ("always" | "never") | number;
5984
5601
  fallbackSort?: {
5985
5602
  order?: "asc" | "desc";
5986
5603
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6028,9 +5645,9 @@ type PerfectionistSortEnums = [] | [{
6028
5645
  } | string));
6029
5646
  };
6030
5647
  partitionByNewLine?: boolean;
6031
- newlinesBetween?: "ignore" | "always" | "never";
5648
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6032
5649
  groups?: (string | string[] | {
6033
- newlinesBetween?: "ignore" | "always" | "never";
5650
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6034
5651
  commentAbove?: string;
6035
5652
  })[];
6036
5653
  }];
@@ -6048,7 +5665,7 @@ type PerfectionistSortExports = {
6048
5665
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
6049
5666
  groupKind?: "mixed" | "values-first" | "types-first";
6050
5667
  customGroups?: ({
6051
- newlinesInside?: "always" | "never";
5668
+ newlinesInside?: ("always" | "never") | number;
6052
5669
  fallbackSort?: {
6053
5670
  order?: "asc" | "desc";
6054
5671
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6068,7 +5685,7 @@ type PerfectionistSortExports = {
6068
5685
  } | string);
6069
5686
  }[];
6070
5687
  } | {
6071
- newlinesInside?: "always" | "never";
5688
+ newlinesInside?: ("always" | "never") | number;
6072
5689
  fallbackSort?: {
6073
5690
  order?: "asc" | "desc";
6074
5691
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6109,9 +5726,9 @@ type PerfectionistSortExports = {
6109
5726
  } | string));
6110
5727
  };
6111
5728
  partitionByNewLine?: boolean;
6112
- newlinesBetween?: "ignore" | "always" | "never";
5729
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6113
5730
  groups?: (string | string[] | {
6114
- newlinesBetween?: "ignore" | "always" | "never";
5731
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6115
5732
  commentAbove?: string;
6116
5733
  })[];
6117
5734
  }[];
@@ -6131,7 +5748,7 @@ type PerfectionistSortHeritageClauses = [] | [{
6131
5748
  [k: string]: (string | string[]) | undefined;
6132
5749
  };
6133
5750
  groups?: (string | string[] | {
6134
- newlinesBetween?: "ignore" | "always" | "never";
5751
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6135
5752
  commentAbove?: string;
6136
5753
  })[];
6137
5754
  }];
@@ -6155,7 +5772,7 @@ type PerfectionistSortImports = {
6155
5772
  [k: string]: (string | string[]) | undefined;
6156
5773
  };
6157
5774
  } | ({
6158
- newlinesInside?: "always" | "never";
5775
+ newlinesInside?: ("always" | "never") | number;
6159
5776
  fallbackSort?: {
6160
5777
  order?: "asc" | "desc";
6161
5778
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6182,7 +5799,7 @@ type PerfectionistSortImports = {
6182
5799
  } | string);
6183
5800
  }[];
6184
5801
  } | {
6185
- newlinesInside?: "always" | "never";
5802
+ newlinesInside?: ("always" | "never") | number;
6186
5803
  fallbackSort?: {
6187
5804
  order?: "asc" | "desc";
6188
5805
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6238,7 +5855,7 @@ type PerfectionistSortImports = {
6238
5855
  } | string));
6239
5856
  };
6240
5857
  partitionByNewLine?: boolean;
6241
- newlinesBetween?: "ignore" | "always" | "never";
5858
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6242
5859
  internalPattern?: ({
6243
5860
  pattern: string;
6244
5861
  flags?: string;
@@ -6247,7 +5864,7 @@ type PerfectionistSortImports = {
6247
5864
  flags?: string;
6248
5865
  } | string);
6249
5866
  groups?: (string | string[] | {
6250
- newlinesBetween?: "ignore" | "always" | "never";
5867
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6251
5868
  commentAbove?: string;
6252
5869
  })[];
6253
5870
  }[];
@@ -6267,7 +5884,7 @@ type PerfectionistSortInterfaces = {
6267
5884
  customGroups?: {
6268
5885
  [k: string]: (string | string[]) | undefined;
6269
5886
  } | ({
6270
- newlinesInside?: "always" | "never";
5887
+ newlinesInside?: ("always" | "never") | number;
6271
5888
  fallbackSort?: {
6272
5889
  order?: "asc" | "desc";
6273
5890
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6296,7 +5913,7 @@ type PerfectionistSortInterfaces = {
6296
5913
  sortBy?: "name" | "value";
6297
5914
  }[];
6298
5915
  } | {
6299
- newlinesInside?: "always" | "never";
5916
+ newlinesInside?: ("always" | "never") | number;
6300
5917
  fallbackSort?: {
6301
5918
  order?: "asc" | "desc";
6302
5919
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6363,7 +5980,7 @@ type PerfectionistSortInterfaces = {
6363
5980
  } | string));
6364
5981
  };
6365
5982
  partitionByNewLine?: boolean;
6366
- newlinesBetween?: "ignore" | "always" | "never";
5983
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6367
5984
  ignorePattern?: ({
6368
5985
  pattern: string;
6369
5986
  flags?: string;
@@ -6373,7 +5990,7 @@ type PerfectionistSortInterfaces = {
6373
5990
  } | string);
6374
5991
  sortBy?: "name" | "value";
6375
5992
  groups?: (string | string[] | {
6376
- newlinesBetween?: "ignore" | "always" | "never";
5993
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6377
5994
  commentAbove?: string;
6378
5995
  })[];
6379
5996
  }[];
@@ -6390,7 +6007,7 @@ type PerfectionistSortIntersectionTypes = {
6390
6007
  order?: "asc" | "desc";
6391
6008
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
6392
6009
  customGroups?: ({
6393
- newlinesInside?: "always" | "never";
6010
+ newlinesInside?: ("always" | "never") | number;
6394
6011
  fallbackSort?: {
6395
6012
  order?: "asc" | "desc";
6396
6013
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6409,7 +6026,7 @@ type PerfectionistSortIntersectionTypes = {
6409
6026
  } | string);
6410
6027
  }[];
6411
6028
  } | {
6412
- newlinesInside?: "always" | "never";
6029
+ newlinesInside?: ("always" | "never") | number;
6413
6030
  fallbackSort?: {
6414
6031
  order?: "asc" | "desc";
6415
6032
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6449,9 +6066,9 @@ type PerfectionistSortIntersectionTypes = {
6449
6066
  } | string));
6450
6067
  };
6451
6068
  partitionByNewLine?: boolean;
6452
- newlinesBetween?: "ignore" | "always" | "never";
6069
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6453
6070
  groups?: (string | string[] | {
6454
- newlinesBetween?: "ignore" | "always" | "never";
6071
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6455
6072
  commentAbove?: string;
6456
6073
  })[];
6457
6074
  }[];
@@ -6470,7 +6087,7 @@ type PerfectionistSortJsxProps = {
6470
6087
  customGroups?: {
6471
6088
  [k: string]: (string | string[]) | undefined;
6472
6089
  } | ({
6473
- newlinesInside?: "always" | "never";
6090
+ newlinesInside?: ("always" | "never") | number;
6474
6091
  fallbackSort?: {
6475
6092
  order?: "asc" | "desc";
6476
6093
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6497,7 +6114,7 @@ type PerfectionistSortJsxProps = {
6497
6114
  } | string);
6498
6115
  }[];
6499
6116
  } | {
6500
- newlinesInside?: "always" | "never";
6117
+ newlinesInside?: ("always" | "never") | number;
6501
6118
  fallbackSort?: {
6502
6119
  order?: "asc" | "desc";
6503
6120
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6539,7 +6156,7 @@ type PerfectionistSortJsxProps = {
6539
6156
  } | string);
6540
6157
  };
6541
6158
  partitionByNewLine?: boolean;
6542
- newlinesBetween?: "ignore" | "always" | "never";
6159
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6543
6160
  ignorePattern?: ({
6544
6161
  pattern: string;
6545
6162
  flags?: string;
@@ -6548,7 +6165,7 @@ type PerfectionistSortJsxProps = {
6548
6165
  flags?: string;
6549
6166
  } | string);
6550
6167
  groups?: (string | string[] | {
6551
- newlinesBetween?: "ignore" | "always" | "never";
6168
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6552
6169
  commentAbove?: string;
6553
6170
  })[];
6554
6171
  }[];
@@ -6565,7 +6182,7 @@ type PerfectionistSortMaps = {
6565
6182
  order?: "asc" | "desc";
6566
6183
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
6567
6184
  customGroups?: ({
6568
- newlinesInside?: "always" | "never";
6185
+ newlinesInside?: ("always" | "never") | number;
6569
6186
  fallbackSort?: {
6570
6187
  order?: "asc" | "desc";
6571
6188
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6583,7 +6200,7 @@ type PerfectionistSortMaps = {
6583
6200
  } | string);
6584
6201
  }[];
6585
6202
  } | {
6586
- newlinesInside?: "always" | "never";
6203
+ newlinesInside?: ("always" | "never") | number;
6587
6204
  fallbackSort?: {
6588
6205
  order?: "asc" | "desc";
6589
6206
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6631,9 +6248,9 @@ type PerfectionistSortMaps = {
6631
6248
  } | string));
6632
6249
  };
6633
6250
  partitionByNewLine?: boolean;
6634
- newlinesBetween?: "ignore" | "always" | "never";
6251
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6635
6252
  groups?: (string | string[] | {
6636
- newlinesBetween?: "ignore" | "always" | "never";
6253
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6637
6254
  commentAbove?: string;
6638
6255
  })[];
6639
6256
  }[];
@@ -6650,7 +6267,7 @@ type PerfectionistSortModules = [] | [{
6650
6267
  order?: "asc" | "desc";
6651
6268
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
6652
6269
  customGroups?: ({
6653
- newlinesInside?: "always" | "never";
6270
+ newlinesInside?: ("always" | "never") | number;
6654
6271
  fallbackSort?: {
6655
6272
  order?: "asc" | "desc";
6656
6273
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6677,7 +6294,7 @@ type PerfectionistSortModules = [] | [{
6677
6294
  } | string);
6678
6295
  }[];
6679
6296
  } | {
6680
- newlinesInside?: "always" | "never";
6297
+ newlinesInside?: ("always" | "never") | number;
6681
6298
  fallbackSort?: {
6682
6299
  order?: "asc" | "desc";
6683
6300
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6725,9 +6342,9 @@ type PerfectionistSortModules = [] | [{
6725
6342
  } | string));
6726
6343
  };
6727
6344
  partitionByNewLine?: boolean;
6728
- newlinesBetween?: "ignore" | "always" | "never";
6345
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6729
6346
  groups?: (string | string[] | {
6730
- newlinesBetween?: "ignore" | "always" | "never";
6347
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6731
6348
  commentAbove?: string;
6732
6349
  })[];
6733
6350
  }];
@@ -6746,7 +6363,7 @@ type PerfectionistSortNamedExports = {
6746
6363
  groupKind?: "mixed" | "values-first" | "types-first";
6747
6364
  ignoreAlias?: boolean;
6748
6365
  customGroups?: ({
6749
- newlinesInside?: "always" | "never";
6366
+ newlinesInside?: ("always" | "never") | number;
6750
6367
  fallbackSort?: {
6751
6368
  order?: "asc" | "desc";
6752
6369
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6766,7 +6383,7 @@ type PerfectionistSortNamedExports = {
6766
6383
  } | string);
6767
6384
  }[];
6768
6385
  } | {
6769
- newlinesInside?: "always" | "never";
6386
+ newlinesInside?: ("always" | "never") | number;
6770
6387
  fallbackSort?: {
6771
6388
  order?: "asc" | "desc";
6772
6389
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6807,9 +6424,9 @@ type PerfectionistSortNamedExports = {
6807
6424
  } | string));
6808
6425
  };
6809
6426
  partitionByNewLine?: boolean;
6810
- newlinesBetween?: "ignore" | "always" | "never";
6427
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6811
6428
  groups?: (string | string[] | {
6812
- newlinesBetween?: "ignore" | "always" | "never";
6429
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6813
6430
  commentAbove?: string;
6814
6431
  })[];
6815
6432
  }[];
@@ -6828,7 +6445,7 @@ type PerfectionistSortNamedImports = {
6828
6445
  groupKind?: "mixed" | "values-first" | "types-first";
6829
6446
  ignoreAlias?: boolean;
6830
6447
  customGroups?: ({
6831
- newlinesInside?: "always" | "never";
6448
+ newlinesInside?: ("always" | "never") | number;
6832
6449
  fallbackSort?: {
6833
6450
  order?: "asc" | "desc";
6834
6451
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6848,7 +6465,7 @@ type PerfectionistSortNamedImports = {
6848
6465
  } | string);
6849
6466
  }[];
6850
6467
  } | {
6851
- newlinesInside?: "always" | "never";
6468
+ newlinesInside?: ("always" | "never") | number;
6852
6469
  fallbackSort?: {
6853
6470
  order?: "asc" | "desc";
6854
6471
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6889,9 +6506,9 @@ type PerfectionistSortNamedImports = {
6889
6506
  } | string));
6890
6507
  };
6891
6508
  partitionByNewLine?: boolean;
6892
- newlinesBetween?: "ignore" | "always" | "never";
6509
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6893
6510
  groups?: (string | string[] | {
6894
- newlinesBetween?: "ignore" | "always" | "never";
6511
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6895
6512
  commentAbove?: string;
6896
6513
  })[];
6897
6514
  }[];
@@ -6911,7 +6528,7 @@ type PerfectionistSortObjectTypes = {
6911
6528
  customGroups?: {
6912
6529
  [k: string]: (string | string[]) | undefined;
6913
6530
  } | ({
6914
- newlinesInside?: "always" | "never";
6531
+ newlinesInside?: ("always" | "never") | number;
6915
6532
  fallbackSort?: {
6916
6533
  order?: "asc" | "desc";
6917
6534
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6940,7 +6557,7 @@ type PerfectionistSortObjectTypes = {
6940
6557
  sortBy?: "name" | "value";
6941
6558
  }[];
6942
6559
  } | {
6943
- newlinesInside?: "always" | "never";
6560
+ newlinesInside?: ("always" | "never") | number;
6944
6561
  fallbackSort?: {
6945
6562
  order?: "asc" | "desc";
6946
6563
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -7007,7 +6624,7 @@ type PerfectionistSortObjectTypes = {
7007
6624
  } | string));
7008
6625
  };
7009
6626
  partitionByNewLine?: boolean;
7010
- newlinesBetween?: "ignore" | "always" | "never";
6627
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
7011
6628
  ignorePattern?: ({
7012
6629
  pattern: string;
7013
6630
  flags?: string;
@@ -7017,7 +6634,7 @@ type PerfectionistSortObjectTypes = {
7017
6634
  } | string);
7018
6635
  sortBy?: "name" | "value";
7019
6636
  groups?: (string | string[] | {
7020
- newlinesBetween?: "ignore" | "always" | "never";
6637
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
7021
6638
  commentAbove?: string;
7022
6639
  })[];
7023
6640
  }[];
@@ -7039,7 +6656,7 @@ type PerfectionistSortObjects = {
7039
6656
  customGroups?: {
7040
6657
  [k: string]: (string | string[]) | undefined;
7041
6658
  } | ({
7042
- newlinesInside?: "always" | "never";
6659
+ newlinesInside?: ("always" | "never") | number;
7043
6660
  fallbackSort?: {
7044
6661
  order?: "asc" | "desc";
7045
6662
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -7066,7 +6683,7 @@ type PerfectionistSortObjects = {
7066
6683
  } | string);
7067
6684
  }[];
7068
6685
  } | {
7069
- newlinesInside?: "always" | "never";
6686
+ newlinesInside?: ("always" | "never") | number;
7070
6687
  fallbackSort?: {
7071
6688
  order?: "asc" | "desc";
7072
6689
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -7133,7 +6750,7 @@ type PerfectionistSortObjects = {
7133
6750
  } | string));
7134
6751
  };
7135
6752
  partitionByNewLine?: boolean;
7136
- newlinesBetween?: "ignore" | "always" | "never";
6753
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
7137
6754
  ignorePattern?: ({
7138
6755
  pattern: string;
7139
6756
  flags?: string;
@@ -7142,7 +6759,7 @@ type PerfectionistSortObjects = {
7142
6759
  flags?: string;
7143
6760
  } | string);
7144
6761
  groups?: (string | string[] | {
7145
- newlinesBetween?: "ignore" | "always" | "never";
6762
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
7146
6763
  commentAbove?: string;
7147
6764
  })[];
7148
6765
  }[];
@@ -7160,7 +6777,7 @@ type PerfectionistSortSets = {
7160
6777
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
7161
6778
  groupKind?: "mixed" | "literals-first" | "spreads-first";
7162
6779
  customGroups?: ({
7163
- newlinesInside?: "always" | "never";
6780
+ newlinesInside?: ("always" | "never") | number;
7164
6781
  fallbackSort?: {
7165
6782
  order?: "asc" | "desc";
7166
6783
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -7179,7 +6796,7 @@ type PerfectionistSortSets = {
7179
6796
  } | string);
7180
6797
  }[];
7181
6798
  } | {
7182
- newlinesInside?: "always" | "never";
6799
+ newlinesInside?: ("always" | "never") | number;
7183
6800
  fallbackSort?: {
7184
6801
  order?: "asc" | "desc";
7185
6802
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -7228,9 +6845,9 @@ type PerfectionistSortSets = {
7228
6845
  } | string));
7229
6846
  };
7230
6847
  partitionByNewLine?: boolean;
7231
- newlinesBetween?: "ignore" | "always" | "never";
6848
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
7232
6849
  groups?: (string | string[] | {
7233
- newlinesBetween?: "ignore" | "always" | "never";
6850
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
7234
6851
  commentAbove?: string;
7235
6852
  })[];
7236
6853
  }[];
@@ -7260,7 +6877,7 @@ type PerfectionistSortUnionTypes = {
7260
6877
  order?: "asc" | "desc";
7261
6878
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
7262
6879
  customGroups?: ({
7263
- newlinesInside?: "always" | "never";
6880
+ newlinesInside?: ("always" | "never") | number;
7264
6881
  fallbackSort?: {
7265
6882
  order?: "asc" | "desc";
7266
6883
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -7279,7 +6896,7 @@ type PerfectionistSortUnionTypes = {
7279
6896
  } | string);
7280
6897
  }[];
7281
6898
  } | {
7282
- newlinesInside?: "always" | "never";
6899
+ newlinesInside?: ("always" | "never") | number;
7283
6900
  fallbackSort?: {
7284
6901
  order?: "asc" | "desc";
7285
6902
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -7319,9 +6936,9 @@ type PerfectionistSortUnionTypes = {
7319
6936
  } | string));
7320
6937
  };
7321
6938
  partitionByNewLine?: boolean;
7322
- newlinesBetween?: "ignore" | "always" | "never";
6939
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
7323
6940
  groups?: (string | string[] | {
7324
- newlinesBetween?: "ignore" | "always" | "never";
6941
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
7325
6942
  commentAbove?: string;
7326
6943
  })[];
7327
6944
  }[];
@@ -7338,7 +6955,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
7338
6955
  order?: "asc" | "desc";
7339
6956
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
7340
6957
  customGroups?: ({
7341
- newlinesInside?: "always" | "never";
6958
+ newlinesInside?: ("always" | "never") | number;
7342
6959
  fallbackSort?: {
7343
6960
  order?: "asc" | "desc";
7344
6961
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -7357,7 +6974,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
7357
6974
  } | string);
7358
6975
  }[];
7359
6976
  } | {
7360
- newlinesInside?: "always" | "never";
6977
+ newlinesInside?: ("always" | "never") | number;
7361
6978
  fallbackSort?: {
7362
6979
  order?: "asc" | "desc";
7363
6980
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -7397,9 +7014,9 @@ type PerfectionistSortVariableDeclarations = [] | [{
7397
7014
  } | string));
7398
7015
  };
7399
7016
  partitionByNewLine?: boolean;
7400
- newlinesBetween?: "ignore" | "always" | "never";
7017
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
7401
7018
  groups?: (string | string[] | {
7402
- newlinesBetween?: "ignore" | "always" | "never";
7019
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
7403
7020
  commentAbove?: string;
7404
7021
  })[];
7405
7022
  }];
@@ -7408,27 +7025,27 @@ type PerfectionistSortVariableDeclarations = [] | [{
7408
7025
  interface PnpmRuleOptions {
7409
7026
  /**
7410
7027
  * Enforce using "catalog:" in `package.json`
7411
- * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/json-enforce-catalog.test.ts
7028
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-enforce-catalog.test.ts
7412
7029
  */
7413
7030
  "pnpm/json-enforce-catalog"?: Linter.RuleEntry<PnpmJsonEnforceCatalog>;
7414
7031
  /**
7415
7032
  * Prefer having pnpm settings in `pnpm-workspace.yaml` instead of `package.json`. This would requires pnpm v10.6+, see https://github.com/orgs/pnpm/discussions/9037.
7416
- * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/json-prefer-workspace-settings.test.ts
7033
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-prefer-workspace-settings.test.ts
7417
7034
  */
7418
7035
  "pnpm/json-prefer-workspace-settings"?: Linter.RuleEntry<PnpmJsonPreferWorkspaceSettings>;
7419
7036
  /**
7420
7037
  * Enforce using valid catalog in `package.json`
7421
- * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/json-valid-catalog.test.ts
7038
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-valid-catalog.test.ts
7422
7039
  */
7423
7040
  "pnpm/json-valid-catalog"?: Linter.RuleEntry<PnpmJsonValidCatalog>;
7424
7041
  /**
7425
7042
  * Disallow unused catalogs in `pnpm-workspace.yaml`
7426
- * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/yaml-no-duplicate-catalog-item.test.ts
7043
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-no-duplicate-catalog-item.test.ts
7427
7044
  */
7428
7045
  "pnpm/yaml-no-duplicate-catalog-item"?: Linter.RuleEntry<PnpmYamlNoDuplicateCatalogItem>;
7429
7046
  /**
7430
7047
  * Disallow unused catalogs in `pnpm-workspace.yaml`
7431
- * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/yaml-no-unused-catalog-item.test.ts
7048
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-no-unused-catalog-item.test.ts
7432
7049
  */
7433
7050
  "pnpm/yaml-no-unused-catalog-item"?: Linter.RuleEntry<[]>;
7434
7051
  }
@@ -8507,483 +8124,478 @@ interface SortTsconfigRuleOptions {}
8507
8124
  interface StylisticRuleOptions {
8508
8125
  /**
8509
8126
  * Enforce linebreaks after opening and before closing array brackets
8510
- * @see https://eslint.style/rules/js/array-bracket-newline
8127
+ * @see https://eslint.style/rules/array-bracket-newline
8511
8128
  */
8512
8129
  "@stylistic/array-bracket-newline"?: Linter.RuleEntry<StylisticArrayBracketNewline>;
8513
8130
  /**
8514
8131
  * Enforce consistent spacing inside array brackets
8515
- * @see https://eslint.style/rules/js/array-bracket-spacing
8132
+ * @see https://eslint.style/rules/array-bracket-spacing
8516
8133
  */
8517
8134
  "@stylistic/array-bracket-spacing"?: Linter.RuleEntry<StylisticArrayBracketSpacing>;
8518
8135
  /**
8519
8136
  * Enforce line breaks after each array element
8520
- * @see https://eslint.style/rules/js/array-element-newline
8137
+ * @see https://eslint.style/rules/array-element-newline
8521
8138
  */
8522
8139
  "@stylistic/array-element-newline"?: Linter.RuleEntry<StylisticArrayElementNewline>;
8523
8140
  /**
8524
8141
  * Require parentheses around arrow function arguments
8525
- * @see https://eslint.style/rules/js/arrow-parens
8142
+ * @see https://eslint.style/rules/arrow-parens
8526
8143
  */
8527
8144
  "@stylistic/arrow-parens"?: Linter.RuleEntry<StylisticArrowParens>;
8528
8145
  /**
8529
8146
  * Enforce consistent spacing before and after the arrow in arrow functions
8530
- * @see https://eslint.style/rules/js/arrow-spacing
8147
+ * @see https://eslint.style/rules/arrow-spacing
8531
8148
  */
8532
8149
  "@stylistic/arrow-spacing"?: Linter.RuleEntry<StylisticArrowSpacing>;
8533
8150
  /**
8534
8151
  * Disallow or enforce spaces inside of blocks after opening block and before closing block
8535
- * @see https://eslint.style/rules/ts/block-spacing
8152
+ * @see https://eslint.style/rules/block-spacing
8536
8153
  */
8537
8154
  "@stylistic/block-spacing"?: Linter.RuleEntry<StylisticBlockSpacing>;
8538
8155
  /**
8539
8156
  * Enforce consistent brace style for blocks
8540
- * @see https://eslint.style/rules/ts/brace-style
8157
+ * @see https://eslint.style/rules/brace-style
8541
8158
  */
8542
8159
  "@stylistic/brace-style"?: Linter.RuleEntry<StylisticBraceStyle>;
8543
8160
  /**
8544
8161
  * Require or disallow trailing commas
8545
- * @see https://eslint.style/rules/ts/comma-dangle
8162
+ * @see https://eslint.style/rules/comma-dangle
8546
8163
  */
8547
8164
  "@stylistic/comma-dangle"?: Linter.RuleEntry<StylisticCommaDangle>;
8548
8165
  /**
8549
8166
  * Enforce consistent spacing before and after commas
8550
- * @see https://eslint.style/rules/ts/comma-spacing
8167
+ * @see https://eslint.style/rules/comma-spacing
8551
8168
  */
8552
8169
  "@stylistic/comma-spacing"?: Linter.RuleEntry<StylisticCommaSpacing>;
8553
8170
  /**
8554
8171
  * Enforce consistent comma style
8555
- * @see https://eslint.style/rules/js/comma-style
8172
+ * @see https://eslint.style/rules/comma-style
8556
8173
  */
8557
8174
  "@stylistic/comma-style"?: Linter.RuleEntry<StylisticCommaStyle>;
8558
8175
  /**
8559
8176
  * Enforce consistent spacing inside computed property brackets
8560
- * @see https://eslint.style/rules/js/computed-property-spacing
8177
+ * @see https://eslint.style/rules/computed-property-spacing
8561
8178
  */
8562
8179
  "@stylistic/computed-property-spacing"?: Linter.RuleEntry<StylisticComputedPropertySpacing>;
8563
8180
  /**
8564
8181
  * Enforce consistent line breaks after opening and before closing braces
8565
- * @see https://eslint.style/rules/plus/curly-newline
8182
+ * @see https://eslint.style/rules/curly-newline
8566
8183
  */
8567
8184
  "@stylistic/curly-newline"?: Linter.RuleEntry<StylisticCurlyNewline>;
8568
8185
  /**
8569
8186
  * Enforce consistent newlines before and after dots
8570
- * @see https://eslint.style/rules/js/dot-location
8187
+ * @see https://eslint.style/rules/dot-location
8571
8188
  */
8572
8189
  "@stylistic/dot-location"?: Linter.RuleEntry<StylisticDotLocation>;
8573
8190
  /**
8574
8191
  * Require or disallow newline at the end of files
8575
- * @see https://eslint.style/rules/js/eol-last
8192
+ * @see https://eslint.style/rules/eol-last
8576
8193
  */
8577
8194
  "@stylistic/eol-last"?: Linter.RuleEntry<StylisticEolLast>;
8578
- /**
8579
- * Require or disallow spacing between function identifiers and their invocations
8580
- * @see https://eslint.style/rules/ts/function-call-spacing
8581
- */
8582
- "@stylistic/func-call-spacing"?: Linter.RuleEntry<StylisticFuncCallSpacing>;
8583
8195
  /**
8584
8196
  * Enforce line breaks between arguments of a function call
8585
- * @see https://eslint.style/rules/js/function-call-argument-newline
8197
+ * @see https://eslint.style/rules/function-call-argument-newline
8586
8198
  */
8587
8199
  "@stylistic/function-call-argument-newline"?: Linter.RuleEntry<StylisticFunctionCallArgumentNewline>;
8588
8200
  /**
8589
8201
  * Require or disallow spacing between function identifiers and their invocations
8590
- * @see https://eslint.style/rules/ts/function-call-spacing
8202
+ * @see https://eslint.style/rules/function-call-spacing
8591
8203
  */
8592
8204
  "@stylistic/function-call-spacing"?: Linter.RuleEntry<StylisticFunctionCallSpacing>;
8593
8205
  /**
8594
8206
  * Enforce consistent line breaks inside function parentheses
8595
- * @see https://eslint.style/rules/js/function-paren-newline
8207
+ * @see https://eslint.style/rules/function-paren-newline
8596
8208
  */
8597
8209
  "@stylistic/function-paren-newline"?: Linter.RuleEntry<StylisticFunctionParenNewline>;
8598
8210
  /**
8599
8211
  * Enforce consistent spacing around `*` operators in generator functions
8600
- * @see https://eslint.style/rules/js/generator-star-spacing
8212
+ * @see https://eslint.style/rules/generator-star-spacing
8601
8213
  */
8602
8214
  "@stylistic/generator-star-spacing"?: Linter.RuleEntry<StylisticGeneratorStarSpacing>;
8603
8215
  /**
8604
8216
  * Enforce the location of arrow function bodies
8605
- * @see https://eslint.style/rules/js/implicit-arrow-linebreak
8217
+ * @see https://eslint.style/rules/implicit-arrow-linebreak
8606
8218
  */
8607
8219
  "@stylistic/implicit-arrow-linebreak"?: Linter.RuleEntry<StylisticImplicitArrowLinebreak>;
8608
8220
  /**
8609
8221
  * Enforce consistent indentation
8610
- * @see https://eslint.style/rules/ts/indent
8222
+ * @see https://eslint.style/rules/indent
8611
8223
  */
8612
8224
  "@stylistic/indent"?: Linter.RuleEntry<StylisticIndent>;
8613
8225
  /**
8614
8226
  * Indentation for binary operators
8615
- * @see https://eslint.style/rules/plus/indent-binary-ops
8227
+ * @see https://eslint.style/rules/indent-binary-ops
8616
8228
  */
8617
8229
  "@stylistic/indent-binary-ops"?: Linter.RuleEntry<StylisticIndentBinaryOps>;
8618
8230
  /**
8619
8231
  * Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
8620
- * @see https://eslint.style/rules/jsx/jsx-child-element-spacing
8232
+ * @see https://eslint.style/rules/jsx-child-element-spacing
8621
8233
  */
8622
8234
  "@stylistic/jsx-child-element-spacing"?: Linter.RuleEntry<[]>;
8623
8235
  /**
8624
8236
  * Enforce closing bracket location in JSX
8625
- * @see https://eslint.style/rules/jsx/jsx-closing-bracket-location
8237
+ * @see https://eslint.style/rules/jsx-closing-bracket-location
8626
8238
  */
8627
8239
  "@stylistic/jsx-closing-bracket-location"?: Linter.RuleEntry<StylisticJsxClosingBracketLocation>;
8628
8240
  /**
8629
8241
  * Enforce closing tag location for multiline JSX
8630
- * @see https://eslint.style/rules/jsx/jsx-closing-tag-location
8242
+ * @see https://eslint.style/rules/jsx-closing-tag-location
8631
8243
  */
8632
8244
  "@stylistic/jsx-closing-tag-location"?: Linter.RuleEntry<StylisticJsxClosingTagLocation>;
8633
8245
  /**
8634
8246
  * Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes
8635
- * @see https://eslint.style/rules/jsx/jsx-curly-brace-presence
8247
+ * @see https://eslint.style/rules/jsx-curly-brace-presence
8636
8248
  */
8637
8249
  "@stylistic/jsx-curly-brace-presence"?: Linter.RuleEntry<StylisticJsxCurlyBracePresence>;
8638
8250
  /**
8639
8251
  * Enforce consistent linebreaks in curly braces in JSX attributes and expressions
8640
- * @see https://eslint.style/rules/jsx/jsx-curly-newline
8252
+ * @see https://eslint.style/rules/jsx-curly-newline
8641
8253
  */
8642
8254
  "@stylistic/jsx-curly-newline"?: Linter.RuleEntry<StylisticJsxCurlyNewline>;
8643
8255
  /**
8644
8256
  * Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
8645
- * @see https://eslint.style/rules/jsx/jsx-curly-spacing
8257
+ * @see https://eslint.style/rules/jsx-curly-spacing
8646
8258
  */
8647
8259
  "@stylistic/jsx-curly-spacing"?: Linter.RuleEntry<StylisticJsxCurlySpacing>;
8648
8260
  /**
8649
8261
  * Enforce or disallow spaces around equal signs in JSX attributes
8650
- * @see https://eslint.style/rules/jsx/jsx-equals-spacing
8262
+ * @see https://eslint.style/rules/jsx-equals-spacing
8651
8263
  */
8652
8264
  "@stylistic/jsx-equals-spacing"?: Linter.RuleEntry<StylisticJsxEqualsSpacing>;
8653
8265
  /**
8654
8266
  * Enforce proper position of the first property in JSX
8655
- * @see https://eslint.style/rules/jsx/jsx-first-prop-new-line
8267
+ * @see https://eslint.style/rules/jsx-first-prop-new-line
8656
8268
  */
8657
8269
  "@stylistic/jsx-first-prop-new-line"?: Linter.RuleEntry<StylisticJsxFirstPropNewLine>;
8658
8270
  /**
8659
8271
  * Enforce line breaks before and after JSX elements when they are used as arguments to a function.
8660
- * @see https://eslint.style/rules/jsx/jsx-function-call-newline
8272
+ * @see https://eslint.style/rules/jsx-function-call-newline
8661
8273
  */
8662
8274
  "@stylistic/jsx-function-call-newline"?: Linter.RuleEntry<StylisticJsxFunctionCallNewline>;
8663
8275
  /**
8664
8276
  * Enforce JSX indentation. Deprecated, use `indent` rule instead.
8665
- * @see https://eslint.style/rules/jsx/jsx-indent
8277
+ * @see https://eslint.style/rules/jsx-indent
8666
8278
  * @deprecated
8667
8279
  */
8668
8280
  "@stylistic/jsx-indent"?: Linter.RuleEntry<StylisticJsxIndent>;
8669
8281
  /**
8670
8282
  * Enforce props indentation in JSX
8671
- * @see https://eslint.style/rules/jsx/jsx-indent-props
8283
+ * @see https://eslint.style/rules/jsx-indent-props
8672
8284
  */
8673
8285
  "@stylistic/jsx-indent-props"?: Linter.RuleEntry<StylisticJsxIndentProps>;
8674
8286
  /**
8675
8287
  * Enforce maximum of props on a single line in JSX
8676
- * @see https://eslint.style/rules/jsx/jsx-max-props-per-line
8288
+ * @see https://eslint.style/rules/jsx-max-props-per-line
8677
8289
  */
8678
8290
  "@stylistic/jsx-max-props-per-line"?: Linter.RuleEntry<StylisticJsxMaxPropsPerLine>;
8679
8291
  /**
8680
8292
  * Require or prevent a new line after jsx elements and expressions.
8681
- * @see https://eslint.style/rules/jsx/jsx-newline
8293
+ * @see https://eslint.style/rules/jsx-newline
8682
8294
  */
8683
8295
  "@stylistic/jsx-newline"?: Linter.RuleEntry<StylisticJsxNewline>;
8684
8296
  /**
8685
8297
  * Require one JSX element per line
8686
- * @see https://eslint.style/rules/jsx/jsx-one-expression-per-line
8298
+ * @see https://eslint.style/rules/jsx-one-expression-per-line
8687
8299
  */
8688
8300
  "@stylistic/jsx-one-expression-per-line"?: Linter.RuleEntry<StylisticJsxOneExpressionPerLine>;
8689
8301
  /**
8690
8302
  * Enforce PascalCase for user-defined JSX components
8691
- * @see https://eslint.style/rules/jsx/jsx-pascal-case
8303
+ * @see https://eslint.style/rules/jsx-pascal-case
8692
8304
  */
8693
8305
  "@stylistic/jsx-pascal-case"?: Linter.RuleEntry<StylisticJsxPascalCase>;
8694
8306
  /**
8695
8307
  * Disallow multiple spaces between inline JSX props
8696
- * @see https://eslint.style/rules/jsx/jsx-props-no-multi-spaces
8308
+ * @see https://eslint.style/rules/jsx-props-no-multi-spaces
8697
8309
  */
8698
8310
  "@stylistic/jsx-props-no-multi-spaces"?: Linter.RuleEntry<[]>;
8699
8311
  /**
8700
8312
  * Enforce the consistent use of either double or single quotes in JSX attributes
8701
- * @see https://eslint.style/rules/js/jsx-quotes
8313
+ * @see https://eslint.style/rules/jsx-quotes
8702
8314
  */
8703
8315
  "@stylistic/jsx-quotes"?: Linter.RuleEntry<StylisticJsxQuotes>;
8704
8316
  /**
8705
8317
  * Disallow extra closing tags for components without children
8706
- * @see https://eslint.style/rules/jsx/jsx-self-closing-comp
8318
+ * @see https://eslint.style/rules/jsx-self-closing-comp
8707
8319
  */
8708
8320
  "@stylistic/jsx-self-closing-comp"?: Linter.RuleEntry<StylisticJsxSelfClosingComp>;
8709
8321
  /**
8710
8322
  * Enforce props alphabetical sorting
8711
- * @see https://eslint.style/rules/jsx/jsx-sort-props
8323
+ * @see https://eslint.style/rules/jsx-sort-props
8712
8324
  */
8713
8325
  "@stylistic/jsx-sort-props"?: Linter.RuleEntry<StylisticJsxSortProps>;
8714
8326
  /**
8715
8327
  * Enforce whitespace in and around the JSX opening and closing brackets
8716
- * @see https://eslint.style/rules/jsx/jsx-tag-spacing
8328
+ * @see https://eslint.style/rules/jsx-tag-spacing
8717
8329
  */
8718
8330
  "@stylistic/jsx-tag-spacing"?: Linter.RuleEntry<StylisticJsxTagSpacing>;
8719
8331
  /**
8720
8332
  * Disallow missing parentheses around multiline JSX
8721
- * @see https://eslint.style/rules/jsx/jsx-wrap-multilines
8333
+ * @see https://eslint.style/rules/jsx-wrap-multilines
8722
8334
  */
8723
8335
  "@stylistic/jsx-wrap-multilines"?: Linter.RuleEntry<StylisticJsxWrapMultilines>;
8724
8336
  /**
8725
8337
  * Enforce consistent spacing between property names and type annotations in types and interfaces
8726
- * @see https://eslint.style/rules/ts/key-spacing
8338
+ * @see https://eslint.style/rules/key-spacing
8727
8339
  */
8728
8340
  "@stylistic/key-spacing"?: Linter.RuleEntry<StylisticKeySpacing>;
8729
8341
  /**
8730
8342
  * Enforce consistent spacing before and after keywords
8731
- * @see https://eslint.style/rules/ts/keyword-spacing
8343
+ * @see https://eslint.style/rules/keyword-spacing
8732
8344
  */
8733
8345
  "@stylistic/keyword-spacing"?: Linter.RuleEntry<StylisticKeywordSpacing>;
8734
8346
  /**
8735
8347
  * Enforce position of line comments
8736
- * @see https://eslint.style/rules/js/line-comment-position
8348
+ * @see https://eslint.style/rules/line-comment-position
8737
8349
  */
8738
8350
  "@stylistic/line-comment-position"?: Linter.RuleEntry<StylisticLineCommentPosition>;
8739
8351
  /**
8740
8352
  * Enforce consistent linebreak style
8741
- * @see https://eslint.style/rules/js/linebreak-style
8353
+ * @see https://eslint.style/rules/linebreak-style
8742
8354
  */
8743
8355
  "@stylistic/linebreak-style"?: Linter.RuleEntry<StylisticLinebreakStyle>;
8744
8356
  /**
8745
8357
  * Require empty lines around comments
8746
- * @see https://eslint.style/rules/ts/lines-around-comment
8358
+ * @see https://eslint.style/rules/lines-around-comment
8747
8359
  */
8748
8360
  "@stylistic/lines-around-comment"?: Linter.RuleEntry<StylisticLinesAroundComment>;
8749
8361
  /**
8750
8362
  * Require or disallow an empty line between class members
8751
- * @see https://eslint.style/rules/ts/lines-between-class-members
8363
+ * @see https://eslint.style/rules/lines-between-class-members
8752
8364
  */
8753
8365
  "@stylistic/lines-between-class-members"?: Linter.RuleEntry<StylisticLinesBetweenClassMembers>;
8754
8366
  /**
8755
8367
  * Enforce a maximum line length
8756
- * @see https://eslint.style/rules/js/max-len
8368
+ * @see https://eslint.style/rules/max-len
8757
8369
  */
8758
8370
  "@stylistic/max-len"?: Linter.RuleEntry<StylisticMaxLen>;
8759
8371
  /**
8760
8372
  * Enforce a maximum number of statements allowed per line
8761
- * @see https://eslint.style/rules/js/max-statements-per-line
8373
+ * @see https://eslint.style/rules/max-statements-per-line
8762
8374
  */
8763
8375
  "@stylistic/max-statements-per-line"?: Linter.RuleEntry<StylisticMaxStatementsPerLine>;
8764
8376
  /**
8765
8377
  * Require a specific member delimiter style for interfaces and type literals
8766
- * @see https://eslint.style/rules/ts/member-delimiter-style
8378
+ * @see https://eslint.style/rules/member-delimiter-style
8767
8379
  */
8768
8380
  "@stylistic/member-delimiter-style"?: Linter.RuleEntry<StylisticMemberDelimiterStyle>;
8769
8381
  /**
8770
8382
  * Enforce a particular style for multiline comments
8771
- * @see https://eslint.style/rules/js/multiline-comment-style
8383
+ * @see https://eslint.style/rules/multiline-comment-style
8772
8384
  */
8773
8385
  "@stylistic/multiline-comment-style"?: Linter.RuleEntry<StylisticMultilineCommentStyle>;
8774
8386
  /**
8775
8387
  * Enforce newlines between operands of ternary expressions
8776
- * @see https://eslint.style/rules/js/multiline-ternary
8388
+ * @see https://eslint.style/rules/multiline-ternary
8777
8389
  */
8778
8390
  "@stylistic/multiline-ternary"?: Linter.RuleEntry<StylisticMultilineTernary>;
8779
8391
  /**
8780
8392
  * Enforce or disallow parentheses when invoking a constructor with no arguments
8781
- * @see https://eslint.style/rules/js/new-parens
8393
+ * @see https://eslint.style/rules/new-parens
8782
8394
  */
8783
8395
  "@stylistic/new-parens"?: Linter.RuleEntry<StylisticNewParens>;
8784
8396
  /**
8785
8397
  * Require a newline after each call in a method chain
8786
- * @see https://eslint.style/rules/js/newline-per-chained-call
8398
+ * @see https://eslint.style/rules/newline-per-chained-call
8787
8399
  */
8788
8400
  "@stylistic/newline-per-chained-call"?: Linter.RuleEntry<StylisticNewlinePerChainedCall>;
8789
8401
  /**
8790
8402
  * Disallow arrow functions where they could be confused with comparisons
8791
- * @see https://eslint.style/rules/js/no-confusing-arrow
8403
+ * @see https://eslint.style/rules/no-confusing-arrow
8792
8404
  */
8793
8405
  "@stylistic/no-confusing-arrow"?: Linter.RuleEntry<StylisticNoConfusingArrow>;
8794
8406
  /**
8795
8407
  * Disallow unnecessary parentheses
8796
- * @see https://eslint.style/rules/ts/no-extra-parens
8408
+ * @see https://eslint.style/rules/no-extra-parens
8797
8409
  */
8798
8410
  "@stylistic/no-extra-parens"?: Linter.RuleEntry<StylisticNoExtraParens>;
8799
8411
  /**
8800
8412
  * Disallow unnecessary semicolons
8801
- * @see https://eslint.style/rules/ts/no-extra-semi
8413
+ * @see https://eslint.style/rules/no-extra-semi
8802
8414
  */
8803
8415
  "@stylistic/no-extra-semi"?: Linter.RuleEntry<[]>;
8804
8416
  /**
8805
8417
  * Disallow leading or trailing decimal points in numeric literals
8806
- * @see https://eslint.style/rules/js/no-floating-decimal
8418
+ * @see https://eslint.style/rules/no-floating-decimal
8807
8419
  */
8808
8420
  "@stylistic/no-floating-decimal"?: Linter.RuleEntry<[]>;
8809
8421
  /**
8810
8422
  * Disallow mixed binary operators
8811
- * @see https://eslint.style/rules/js/no-mixed-operators
8423
+ * @see https://eslint.style/rules/no-mixed-operators
8812
8424
  */
8813
8425
  "@stylistic/no-mixed-operators"?: Linter.RuleEntry<StylisticNoMixedOperators>;
8814
8426
  /**
8815
8427
  * Disallow mixed spaces and tabs for indentation
8816
- * @see https://eslint.style/rules/js/no-mixed-spaces-and-tabs
8428
+ * @see https://eslint.style/rules/no-mixed-spaces-and-tabs
8817
8429
  */
8818
8430
  "@stylistic/no-mixed-spaces-and-tabs"?: Linter.RuleEntry<StylisticNoMixedSpacesAndTabs>;
8819
8431
  /**
8820
8432
  * Disallow multiple spaces
8821
- * @see https://eslint.style/rules/js/no-multi-spaces
8433
+ * @see https://eslint.style/rules/no-multi-spaces
8822
8434
  */
8823
8435
  "@stylistic/no-multi-spaces"?: Linter.RuleEntry<StylisticNoMultiSpaces>;
8824
8436
  /**
8825
8437
  * Disallow multiple empty lines
8826
- * @see https://eslint.style/rules/js/no-multiple-empty-lines
8438
+ * @see https://eslint.style/rules/no-multiple-empty-lines
8827
8439
  */
8828
8440
  "@stylistic/no-multiple-empty-lines"?: Linter.RuleEntry<StylisticNoMultipleEmptyLines>;
8829
8441
  /**
8830
8442
  * Disallow all tabs
8831
- * @see https://eslint.style/rules/js/no-tabs
8443
+ * @see https://eslint.style/rules/no-tabs
8832
8444
  */
8833
8445
  "@stylistic/no-tabs"?: Linter.RuleEntry<StylisticNoTabs>;
8834
8446
  /**
8835
8447
  * Disallow trailing whitespace at the end of lines
8836
- * @see https://eslint.style/rules/js/no-trailing-spaces
8448
+ * @see https://eslint.style/rules/no-trailing-spaces
8837
8449
  */
8838
8450
  "@stylistic/no-trailing-spaces"?: Linter.RuleEntry<StylisticNoTrailingSpaces>;
8839
8451
  /**
8840
8452
  * Disallow whitespace before properties
8841
- * @see https://eslint.style/rules/js/no-whitespace-before-property
8453
+ * @see https://eslint.style/rules/no-whitespace-before-property
8842
8454
  */
8843
8455
  "@stylistic/no-whitespace-before-property"?: Linter.RuleEntry<[]>;
8844
8456
  /**
8845
8457
  * Enforce the location of single-line statements
8846
- * @see https://eslint.style/rules/js/nonblock-statement-body-position
8458
+ * @see https://eslint.style/rules/nonblock-statement-body-position
8847
8459
  */
8848
8460
  "@stylistic/nonblock-statement-body-position"?: Linter.RuleEntry<StylisticNonblockStatementBodyPosition>;
8849
8461
  /**
8850
8462
  * Enforce consistent line breaks after opening and before closing braces
8851
- * @see https://eslint.style/rules/ts/object-curly-newline
8463
+ * @see https://eslint.style/rules/object-curly-newline
8852
8464
  */
8853
8465
  "@stylistic/object-curly-newline"?: Linter.RuleEntry<StylisticObjectCurlyNewline>;
8854
8466
  /**
8855
8467
  * Enforce consistent spacing inside braces
8856
- * @see https://eslint.style/rules/ts/object-curly-spacing
8468
+ * @see https://eslint.style/rules/object-curly-spacing
8857
8469
  */
8858
8470
  "@stylistic/object-curly-spacing"?: Linter.RuleEntry<StylisticObjectCurlySpacing>;
8859
8471
  /**
8860
8472
  * Enforce placing object properties on separate lines
8861
- * @see https://eslint.style/rules/ts/object-property-newline
8473
+ * @see https://eslint.style/rules/object-property-newline
8862
8474
  */
8863
8475
  "@stylistic/object-property-newline"?: Linter.RuleEntry<StylisticObjectPropertyNewline>;
8864
8476
  /**
8865
8477
  * Require or disallow newlines around variable declarations
8866
- * @see https://eslint.style/rules/js/one-var-declaration-per-line
8478
+ * @see https://eslint.style/rules/one-var-declaration-per-line
8867
8479
  */
8868
8480
  "@stylistic/one-var-declaration-per-line"?: Linter.RuleEntry<StylisticOneVarDeclarationPerLine>;
8869
8481
  /**
8870
8482
  * Enforce consistent linebreak style for operators
8871
- * @see https://eslint.style/rules/js/operator-linebreak
8483
+ * @see https://eslint.style/rules/operator-linebreak
8872
8484
  */
8873
8485
  "@stylistic/operator-linebreak"?: Linter.RuleEntry<StylisticOperatorLinebreak>;
8874
8486
  /**
8875
8487
  * Require or disallow padding within blocks
8876
- * @see https://eslint.style/rules/js/padded-blocks
8488
+ * @see https://eslint.style/rules/padded-blocks
8877
8489
  */
8878
8490
  "@stylistic/padded-blocks"?: Linter.RuleEntry<StylisticPaddedBlocks>;
8879
8491
  /**
8880
8492
  * Require or disallow padding lines between statements
8881
- * @see https://eslint.style/rules/ts/padding-line-between-statements
8493
+ * @see https://eslint.style/rules/padding-line-between-statements
8882
8494
  */
8883
8495
  "@stylistic/padding-line-between-statements"?: Linter.RuleEntry<StylisticPaddingLineBetweenStatements>;
8884
8496
  /**
8885
8497
  * Require quotes around object literal, type literal, interfaces and enums property names
8886
- * @see https://eslint.style/rules/ts/quote-props
8498
+ * @see https://eslint.style/rules/quote-props
8887
8499
  */
8888
8500
  "@stylistic/quote-props"?: Linter.RuleEntry<StylisticQuoteProps>;
8889
8501
  /**
8890
8502
  * Enforce the consistent use of either backticks, double, or single quotes
8891
- * @see https://eslint.style/rules/ts/quotes
8503
+ * @see https://eslint.style/rules/quotes
8892
8504
  */
8893
8505
  "@stylistic/quotes"?: Linter.RuleEntry<StylisticQuotes>;
8894
8506
  /**
8895
8507
  * Enforce spacing between rest and spread operators and their expressions
8896
- * @see https://eslint.style/rules/js/rest-spread-spacing
8508
+ * @see https://eslint.style/rules/rest-spread-spacing
8897
8509
  */
8898
8510
  "@stylistic/rest-spread-spacing"?: Linter.RuleEntry<StylisticRestSpreadSpacing>;
8899
8511
  /**
8900
8512
  * Require or disallow semicolons instead of ASI
8901
- * @see https://eslint.style/rules/ts/semi
8513
+ * @see https://eslint.style/rules/semi
8902
8514
  */
8903
8515
  "@stylistic/semi"?: Linter.RuleEntry<StylisticSemi>;
8904
8516
  /**
8905
8517
  * Enforce consistent spacing before and after semicolons
8906
- * @see https://eslint.style/rules/ts/semi-spacing
8518
+ * @see https://eslint.style/rules/semi-spacing
8907
8519
  */
8908
8520
  "@stylistic/semi-spacing"?: Linter.RuleEntry<StylisticSemiSpacing>;
8909
8521
  /**
8910
8522
  * Enforce location of semicolons
8911
- * @see https://eslint.style/rules/js/semi-style
8523
+ * @see https://eslint.style/rules/semi-style
8912
8524
  */
8913
8525
  "@stylistic/semi-style"?: Linter.RuleEntry<StylisticSemiStyle>;
8914
8526
  /**
8915
8527
  * Enforce consistent spacing before blocks
8916
- * @see https://eslint.style/rules/ts/space-before-blocks
8528
+ * @see https://eslint.style/rules/space-before-blocks
8917
8529
  */
8918
8530
  "@stylistic/space-before-blocks"?: Linter.RuleEntry<StylisticSpaceBeforeBlocks>;
8919
8531
  /**
8920
8532
  * Enforce consistent spacing before function parenthesis
8921
- * @see https://eslint.style/rules/ts/space-before-function-paren
8533
+ * @see https://eslint.style/rules/space-before-function-paren
8922
8534
  */
8923
8535
  "@stylistic/space-before-function-paren"?: Linter.RuleEntry<StylisticSpaceBeforeFunctionParen>;
8924
8536
  /**
8925
8537
  * Enforce consistent spacing inside parentheses
8926
- * @see https://eslint.style/rules/js/space-in-parens
8538
+ * @see https://eslint.style/rules/space-in-parens
8927
8539
  */
8928
8540
  "@stylistic/space-in-parens"?: Linter.RuleEntry<StylisticSpaceInParens>;
8929
8541
  /**
8930
8542
  * Require spacing around infix operators
8931
- * @see https://eslint.style/rules/ts/space-infix-ops
8543
+ * @see https://eslint.style/rules/space-infix-ops
8932
8544
  */
8933
8545
  "@stylistic/space-infix-ops"?: Linter.RuleEntry<StylisticSpaceInfixOps>;
8934
8546
  /**
8935
8547
  * Enforce consistent spacing before or after unary operators
8936
- * @see https://eslint.style/rules/js/space-unary-ops
8548
+ * @see https://eslint.style/rules/space-unary-ops
8937
8549
  */
8938
8550
  "@stylistic/space-unary-ops"?: Linter.RuleEntry<StylisticSpaceUnaryOps>;
8939
8551
  /**
8940
8552
  * Enforce consistent spacing after the `//` or `/*` in a comment
8941
- * @see https://eslint.style/rules/js/spaced-comment
8553
+ * @see https://eslint.style/rules/spaced-comment
8942
8554
  */
8943
8555
  "@stylistic/spaced-comment"?: Linter.RuleEntry<StylisticSpacedComment>;
8944
8556
  /**
8945
8557
  * Enforce spacing around colons of switch statements
8946
- * @see https://eslint.style/rules/js/switch-colon-spacing
8558
+ * @see https://eslint.style/rules/switch-colon-spacing
8947
8559
  */
8948
8560
  "@stylistic/switch-colon-spacing"?: Linter.RuleEntry<StylisticSwitchColonSpacing>;
8949
8561
  /**
8950
8562
  * Require or disallow spacing around embedded expressions of template strings
8951
- * @see https://eslint.style/rules/js/template-curly-spacing
8563
+ * @see https://eslint.style/rules/template-curly-spacing
8952
8564
  */
8953
8565
  "@stylistic/template-curly-spacing"?: Linter.RuleEntry<StylisticTemplateCurlySpacing>;
8954
8566
  /**
8955
8567
  * Require or disallow spacing between template tags and their literals
8956
- * @see https://eslint.style/rules/js/template-tag-spacing
8568
+ * @see https://eslint.style/rules/template-tag-spacing
8957
8569
  */
8958
8570
  "@stylistic/template-tag-spacing"?: Linter.RuleEntry<StylisticTemplateTagSpacing>;
8959
8571
  /**
8960
8572
  * Require consistent spacing around type annotations
8961
- * @see https://eslint.style/rules/ts/type-annotation-spacing
8573
+ * @see https://eslint.style/rules/type-annotation-spacing
8962
8574
  */
8963
8575
  "@stylistic/type-annotation-spacing"?: Linter.RuleEntry<StylisticTypeAnnotationSpacing>;
8964
8576
  /**
8965
8577
  * Enforces consistent spacing inside TypeScript type generics
8966
- * @see https://eslint.style/rules/plus/type-generic-spacing
8578
+ * @see https://eslint.style/rules/type-generic-spacing
8967
8579
  */
8968
8580
  "@stylistic/type-generic-spacing"?: Linter.RuleEntry<[]>;
8969
8581
  /**
8970
8582
  * Expect space before the type declaration in the named tuple
8971
- * @see https://eslint.style/rules/plus/type-named-tuple-spacing
8583
+ * @see https://eslint.style/rules/type-named-tuple-spacing
8972
8584
  */
8973
8585
  "@stylistic/type-named-tuple-spacing"?: Linter.RuleEntry<[]>;
8974
8586
  /**
8975
8587
  * Require parentheses around immediate `function` invocations
8976
- * @see https://eslint.style/rules/js/wrap-iife
8588
+ * @see https://eslint.style/rules/wrap-iife
8977
8589
  */
8978
8590
  "@stylistic/wrap-iife"?: Linter.RuleEntry<StylisticWrapIife>;
8979
8591
  /**
8980
8592
  * Require parenthesis around regex literals
8981
- * @see https://eslint.style/rules/js/wrap-regex
8593
+ * @see https://eslint.style/rules/wrap-regex
8982
8594
  */
8983
8595
  "@stylistic/wrap-regex"?: Linter.RuleEntry<[]>;
8984
8596
  /**
8985
8597
  * Require or disallow spacing around the `*` in `yield*` expressions
8986
- * @see https://eslint.style/rules/js/yield-star-spacing
8598
+ * @see https://eslint.style/rules/yield-star-spacing
8987
8599
  */
8988
8600
  "@stylistic/yield-star-spacing"?: Linter.RuleEntry<StylisticYieldStarSpacing>;
8989
8601
  }
@@ -9157,16 +8769,6 @@ type StylisticCurlyNewline = [] | [("always" | "never") | {
9157
8769
  minElements?: number;
9158
8770
  consistent?: boolean;
9159
8771
  };
9160
- TSEnumBody?: ("always" | "never") | {
9161
- multiline?: boolean;
9162
- minElements?: number;
9163
- consistent?: boolean;
9164
- };
9165
- TSInterfaceBody?: ("always" | "never") | {
9166
- multiline?: boolean;
9167
- minElements?: number;
9168
- consistent?: boolean;
9169
- };
9170
8772
  TSModuleBlock?: ("always" | "never") | {
9171
8773
  multiline?: boolean;
9172
8774
  minElements?: number;
@@ -9180,14 +8782,6 @@ type StylisticCurlyNewline = [] | [("always" | "never") | {
9180
8782
  type StylisticDotLocation = [] | ["object" | "property"];
9181
8783
  // ----- @stylistic/eol-last -----
9182
8784
  type StylisticEolLast = [] | ["always" | "never" | "unix" | "windows"];
9183
- // ----- @stylistic/func-call-spacing -----
9184
- type StylisticFuncCallSpacing = [] | ["never"] | [] | ["always"] | ["always", {
9185
- allowNewlines?: boolean;
9186
- optionalChain?: {
9187
- before?: boolean;
9188
- after?: boolean;
9189
- };
9190
- }];
9191
8785
  // ----- @stylistic/function-call-argument-newline -----
9192
8786
  type StylisticFunctionCallArgumentNewline = [] | ["always" | "never" | "consistent"];
9193
8787
  // ----- @stylistic/function-call-spacing -----
@@ -9228,16 +8822,19 @@ type StylisticIndent = [] | ["tab" | number] | ["tab" | number, {
9228
8822
  var?: number | ("first" | "off");
9229
8823
  let?: number | ("first" | "off");
9230
8824
  const?: number | ("first" | "off");
8825
+ using?: number | ("first" | "off");
9231
8826
  };
9232
8827
  outerIIFEBody?: number | "off";
9233
8828
  MemberExpression?: number | "off";
9234
8829
  FunctionDeclaration?: {
9235
8830
  parameters?: number | ("first" | "off");
9236
8831
  body?: number;
8832
+ returnType?: number;
9237
8833
  };
9238
8834
  FunctionExpression?: {
9239
8835
  parameters?: number | ("first" | "off");
9240
8836
  body?: number;
8837
+ returnType?: number;
9241
8838
  };
9242
8839
  StaticBlock?: {
9243
8840
  body?: number;
@@ -9278,31 +8875,52 @@ type StylisticJsxCurlyNewline = [] | [("consistent" | "never") | {
9278
8875
  multiline?: "consistent" | "require" | "forbid";
9279
8876
  }];
9280
8877
  // ----- @stylistic/jsx-curly-spacing -----
9281
- type StylisticJsxCurlySpacing = [] | [(_StylisticJsxCurlySpacing_BasicConfig & {
9282
- attributes?: _StylisticJsxCurlySpacingBasicConfigOrBoolean;
9283
- children?: _StylisticJsxCurlySpacingBasicConfigOrBoolean;
9284
- [k: string]: unknown | undefined;
9285
- }) | ("always" | "never")] | [((_StylisticJsxCurlySpacing_BasicConfig & {
9286
- attributes?: _StylisticJsxCurlySpacingBasicConfigOrBoolean;
9287
- children?: _StylisticJsxCurlySpacingBasicConfigOrBoolean;
9288
- [k: string]: unknown | undefined;
9289
- }) | ("always" | "never")), {
8878
+ type StylisticJsxCurlySpacing = [] | [{
8879
+ when?: "always" | "never";
9290
8880
  allowMultiline?: boolean;
9291
8881
  spacing?: {
9292
8882
  objectLiterals?: "always" | "never";
9293
- [k: string]: unknown | undefined;
9294
8883
  };
9295
- }];
9296
- type _StylisticJsxCurlySpacingBasicConfigOrBoolean = _StylisticJsxCurlySpacing_BasicConfig | boolean;
9297
- interface _StylisticJsxCurlySpacing_BasicConfig {
8884
+ attributes?: {
8885
+ when?: "always" | "never";
8886
+ allowMultiline?: boolean;
8887
+ spacing?: {
8888
+ objectLiterals?: "always" | "never";
8889
+ };
8890
+ } | boolean;
8891
+ children?: {
8892
+ when?: "always" | "never";
8893
+ allowMultiline?: boolean;
8894
+ spacing?: {
8895
+ objectLiterals?: "always" | "never";
8896
+ };
8897
+ } | boolean;
8898
+ } | ("always" | "never")] | [({
9298
8899
  when?: "always" | "never";
9299
8900
  allowMultiline?: boolean;
9300
8901
  spacing?: {
9301
8902
  objectLiterals?: "always" | "never";
9302
- [k: string]: unknown | undefined;
9303
8903
  };
9304
- [k: string]: unknown | undefined;
9305
- }
8904
+ attributes?: {
8905
+ when?: "always" | "never";
8906
+ allowMultiline?: boolean;
8907
+ spacing?: {
8908
+ objectLiterals?: "always" | "never";
8909
+ };
8910
+ } | boolean;
8911
+ children?: {
8912
+ when?: "always" | "never";
8913
+ allowMultiline?: boolean;
8914
+ spacing?: {
8915
+ objectLiterals?: "always" | "never";
8916
+ };
8917
+ } | boolean;
8918
+ } | ("always" | "never")), {
8919
+ allowMultiline?: boolean;
8920
+ spacing?: {
8921
+ objectLiterals?: "always" | "never";
8922
+ };
8923
+ }];
9306
8924
  // ----- @stylistic/jsx-equals-spacing -----
9307
8925
  type StylisticJsxEqualsSpacing = [] | ["always" | "never"];
9308
8926
  // ----- @stylistic/jsx-first-prop-new-line -----
@@ -9318,14 +8936,12 @@ type StylisticJsxIndent = [] | ["tab" | number] | ["tab" | number, {
9318
8936
  type StylisticJsxIndentProps = [] | [("tab" | "first") | number | {
9319
8937
  indentMode?: ("tab" | "first") | number;
9320
8938
  ignoreTernaryOperator?: boolean;
9321
- [k: string]: unknown | undefined;
9322
8939
  }];
9323
8940
  // ----- @stylistic/jsx-max-props-per-line -----
9324
8941
  type StylisticJsxMaxPropsPerLine = [] | [{
9325
8942
  maximum?: {
9326
8943
  single?: number;
9327
8944
  multi?: number;
9328
- [k: string]: unknown | undefined;
9329
8945
  };
9330
8946
  } | {
9331
8947
  maximum?: number;
@@ -9362,8 +8978,8 @@ type StylisticJsxSortProps = [] | [{
9362
8978
  multiline?: "ignore" | "first" | "last";
9363
8979
  ignoreCase?: boolean;
9364
8980
  noSortAlphabetically?: boolean;
9365
- reservedFirst?: unknown[] | boolean;
9366
- reservedLast?: unknown[];
8981
+ reservedFirst?: string[] | boolean;
8982
+ reservedLast?: string[];
9367
8983
  locale?: string;
9368
8984
  }];
9369
8985
  // ----- @stylistic/jsx-tag-spacing -----
@@ -9672,6 +9288,10 @@ type StylisticKeywordSpacing = [] | [{
9672
9288
  before?: boolean;
9673
9289
  after?: boolean;
9674
9290
  };
9291
+ accessor?: {
9292
+ before?: boolean;
9293
+ after?: boolean;
9294
+ };
9675
9295
  as?: {
9676
9296
  before?: boolean;
9677
9297
  after?: boolean;
@@ -9708,6 +9328,10 @@ type StylisticKeywordSpacing = [] | [{
9708
9328
  before?: boolean;
9709
9329
  after?: boolean;
9710
9330
  };
9331
+ using?: {
9332
+ before?: boolean;
9333
+ after?: boolean;
9334
+ };
9711
9335
  yield?: {
9712
9336
  before?: boolean;
9713
9337
  after?: boolean;
@@ -9880,11 +9504,11 @@ interface _StylisticMemberDelimiterStyle_DelimiterConfig {
9880
9504
  // ----- @stylistic/multiline-comment-style -----
9881
9505
  type StylisticMultilineCommentStyle = [] | ["starred-block" | "bare-block"] | [] | ["separate-lines"] | ["separate-lines", {
9882
9506
  checkJSDoc?: boolean;
9507
+ checkExclamation?: boolean;
9883
9508
  }];
9884
9509
  // ----- @stylistic/multiline-ternary -----
9885
9510
  type StylisticMultilineTernary = [] | ["always" | "always-multiline" | "never"] | ["always" | "always-multiline" | "never", {
9886
9511
  ignoreJSX?: boolean;
9887
- [k: string]: unknown | undefined;
9888
9512
  }];
9889
9513
  // ----- @stylistic/new-parens -----
9890
9514
  type StylisticNewParens = [] | ["always" | "never"];
@@ -9910,6 +9534,11 @@ type StylisticNoExtraParens = [] | ["functions"] | [] | ["all"] | ["all", {
9910
9534
  enforceForFunctionPrototypeMethods?: boolean;
9911
9535
  allowParensAfterCommentPattern?: string;
9912
9536
  nestedConditionalExpressions?: boolean;
9537
+ allowNodesInSpreadElement?: {
9538
+ ConditionalExpression?: boolean;
9539
+ LogicalExpression?: boolean;
9540
+ AwaitExpression?: boolean;
9541
+ };
9913
9542
  }];
9914
9543
  // ----- @stylistic/no-mixed-operators -----
9915
9544
  type StylisticNoMixedOperators = [] | [{
@@ -9987,6 +9616,11 @@ type StylisticObjectCurlyNewline = [] | [(("always" | "never") | {
9987
9616
  minProperties?: number;
9988
9617
  consistent?: boolean;
9989
9618
  };
9619
+ TSEnumBody?: ("always" | "never") | {
9620
+ multiline?: boolean;
9621
+ minProperties?: number;
9622
+ consistent?: boolean;
9623
+ };
9990
9624
  }];
9991
9625
  // ----- @stylistic/object-curly-spacing -----
9992
9626
  type StylisticObjectCurlySpacing = [] | ["always" | "never"] | ["always" | "never", {
@@ -9996,7 +9630,6 @@ type StylisticObjectCurlySpacing = [] | ["always" | "never"] | ["always" | "neve
9996
9630
  // ----- @stylistic/object-property-newline -----
9997
9631
  type StylisticObjectPropertyNewline = [] | [{
9998
9632
  allowAllPropertiesOnSameLine?: boolean;
9999
- allowMultiplePropertiesPerLine?: boolean;
10000
9633
  }];
10001
9634
  // ----- @stylistic/one-var-declaration-per-line -----
10002
9635
  type StylisticOneVarDeclarationPerLine = [] | ["always" | "initializations"];
@@ -10020,7 +9653,7 @@ type StylisticPaddedBlocks = [] | [("always" | "never" | "start" | "end") | {
10020
9653
  }];
10021
9654
  // ----- @stylistic/padding-line-between-statements -----
10022
9655
  type _StylisticPaddingLineBetweenStatementsPaddingType = "any" | "never" | "always";
10023
- type _StylisticPaddingLineBetweenStatementsStatementType = ("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload")[]];
9656
+ type _StylisticPaddingLineBetweenStatementsStatementType = ("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload")[]];
10024
9657
  type StylisticPaddingLineBetweenStatements = {
10025
9658
  blankLine: _StylisticPaddingLineBetweenStatementsPaddingType;
10026
9659
  prev: _StylisticPaddingLineBetweenStatementsStatementType;
@@ -10059,12 +9692,14 @@ type StylisticSpaceBeforeBlocks = [] | [("always" | "never") | {
10059
9692
  keywords?: "always" | "never" | "off";
10060
9693
  functions?: "always" | "never" | "off";
10061
9694
  classes?: "always" | "never" | "off";
9695
+ modules?: "always" | "never" | "off";
10062
9696
  }];
10063
9697
  // ----- @stylistic/space-before-function-paren -----
10064
9698
  type StylisticSpaceBeforeFunctionParen = [] | [("always" | "never") | {
10065
9699
  anonymous?: "always" | "never" | "ignore";
10066
9700
  named?: "always" | "never" | "ignore";
10067
9701
  asyncArrow?: "always" | "never" | "ignore";
9702
+ catch?: "always" | "never" | "ignore";
10068
9703
  }];
10069
9704
  // ----- @stylistic/space-in-parens -----
10070
9705
  type StylisticSpaceInParens = [] | ["always" | "never"] | ["always" | "never", {
@@ -11051,235 +10686,39 @@ interface TypescriptRuleOptions {
11051
10686
  "@typescript-eslint/use-unknown-in-catch-callback-variable"?: Linter.RuleEntry<[]>;
11052
10687
  /**
11053
10688
  * Enforce or ban the use of inline type-only markers for named imports.
11054
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/consistent-type-specifier-style.md
10689
+ * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/consistent-type-specifier-style/README.md
11055
10690
  */
11056
10691
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
11057
- /**
11058
- * Ensure a default export is present, given a default import.
11059
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/default.md
11060
- */
11061
- "import/default"?: Linter.RuleEntry<[]>;
11062
- /**
11063
- * Enforce a leading comment with the webpackChunkName for dynamic imports.
11064
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/dynamic-import-chunkname.md
11065
- */
11066
- "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname>;
11067
- /**
11068
- * Forbid any invalid exports, i.e. re-export of the same name.
11069
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/export.md
11070
- */
11071
- "import/export"?: Linter.RuleEntry<[]>;
11072
- /**
11073
- * Ensure all exports appear after other statements.
11074
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/exports-last.md
11075
- */
11076
- "import/exports-last"?: Linter.RuleEntry<[]>;
11077
- /**
11078
- * Ensure consistent use of file extension within the import path.
11079
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/extensions.md
11080
- */
11081
- "import/extensions"?: Linter.RuleEntry<ImportExtensions>;
11082
10692
  /**
11083
10693
  * Ensure all imports appear before other statements.
11084
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/first.md
10694
+ * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/first/README.md
11085
10695
  */
11086
10696
  "import/first"?: Linter.RuleEntry<ImportFirst>;
11087
- /**
11088
- * Prefer named exports to be grouped together in a single export declaration.
11089
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/group-exports.md
11090
- */
11091
- "import/group-exports"?: Linter.RuleEntry<[]>;
11092
- /**
11093
- * Replaced by `import-x/first`.
11094
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/imports-first.md
11095
- * @deprecated
11096
- */
11097
- "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst>;
11098
- /**
11099
- * Enforce the maximum number of dependencies a module can have.
11100
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/max-dependencies.md
11101
- */
11102
- "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies>;
11103
- /**
11104
- * Ensure named imports correspond to a named export in the remote file.
11105
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/named.md
11106
- */
11107
- "import/named"?: Linter.RuleEntry<ImportNamed>;
11108
- /**
11109
- * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
11110
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/namespace.md
11111
- */
11112
- "import/namespace"?: Linter.RuleEntry<ImportNamespace>;
11113
10697
  /**
11114
10698
  * Enforce a newline after import statements.
11115
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/newline-after-import.md
10699
+ * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/newline-after-import/README.md
11116
10700
  */
11117
10701
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport>;
11118
- /**
11119
- * Forbid import of modules using absolute paths.
11120
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-absolute-path.md
11121
- */
11122
- "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath>;
11123
- /**
11124
- * Forbid AMD `require` and `define` calls.
11125
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-amd.md
11126
- */
11127
- "import/no-amd"?: Linter.RuleEntry<[]>;
11128
- /**
11129
- * Forbid anonymous values as default exports.
11130
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-anonymous-default-export.md
11131
- */
11132
- "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
11133
- /**
11134
- * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
11135
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-commonjs.md
11136
- */
11137
- "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs>;
11138
- /**
11139
- * Forbid a module from importing a module with a dependency path back to itself.
11140
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-cycle.md
11141
- */
11142
- "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle>;
11143
10702
  /**
11144
10703
  * Forbid default exports.
11145
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-default-export.md
10704
+ * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/no-default-export/README.md
11146
10705
  */
11147
10706
  "import/no-default-export"?: Linter.RuleEntry<[]>;
11148
- /**
11149
- * Forbid imported names marked with `@deprecated` documentation tag.
11150
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-deprecated.md
11151
- */
11152
- "import/no-deprecated"?: Linter.RuleEntry<[]>;
11153
10707
  /**
11154
10708
  * Forbid repeated import of the same module in multiple places.
11155
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-duplicates.md
10709
+ * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/no-duplicates/README.md
11156
10710
  */
11157
10711
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates>;
11158
- /**
11159
- * Forbid `require()` calls with expressions.
11160
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-dynamic-require.md
11161
- */
11162
- "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire>;
11163
- /**
11164
- * Forbid empty named import blocks.
11165
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-empty-named-blocks.md
11166
- */
11167
- "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
11168
- /**
11169
- * Forbid the use of extraneous packages.
11170
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-extraneous-dependencies.md
11171
- */
11172
- "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
11173
- /**
11174
- * Forbid import statements with CommonJS module.exports.
11175
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-import-module-exports.md
11176
- */
11177
- "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports>;
11178
- /**
11179
- * Forbid importing the submodules of other modules.
11180
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-internal-modules.md
11181
- */
11182
- "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules>;
11183
10712
  /**
11184
10713
  * Forbid the use of mutable exports with `var` or `let`.
11185
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-mutable-exports.md
10714
+ * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/no-mutable-exports/README.md
11186
10715
  */
11187
10716
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
11188
- /**
11189
- * Forbid use of exported name as identifier of default export.
11190
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-as-default.md
11191
- */
11192
- "import/no-named-as-default"?: Linter.RuleEntry<[]>;
11193
- /**
11194
- * Forbid use of exported name as property of default export.
11195
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-as-default-member.md
11196
- */
11197
- "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
11198
10717
  /**
11199
10718
  * Forbid named default exports.
11200
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-default.md
10719
+ * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/no-named-default/README.md
11201
10720
  */
11202
10721
  "import/no-named-default"?: Linter.RuleEntry<[]>;
11203
- /**
11204
- * Forbid named exports.
11205
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-export.md
11206
- */
11207
- "import/no-named-export"?: Linter.RuleEntry<[]>;
11208
- /**
11209
- * Forbid namespace (a.k.a. "wildcard" `*`) imports.
11210
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-namespace.md
11211
- */
11212
- "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace>;
11213
- /**
11214
- * Forbid Node.js builtin modules.
11215
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-nodejs-modules.md
11216
- */
11217
- "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules>;
11218
- /**
11219
- * Forbid importing packages through relative paths.
11220
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-relative-packages.md
11221
- */
11222
- "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages>;
11223
- /**
11224
- * Forbid importing modules from parent directories.
11225
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-relative-parent-imports.md
11226
- */
11227
- "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports>;
11228
- /**
11229
- * Forbid importing a default export by a different name.
11230
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-rename-default.md
11231
- */
11232
- "import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault>;
11233
- /**
11234
- * Enforce which files can be imported in a given folder.
11235
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-restricted-paths.md
11236
- */
11237
- "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths>;
11238
- /**
11239
- * Forbid a module from importing itself.
11240
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-self-import.md
11241
- */
11242
- "import/no-self-import"?: Linter.RuleEntry<[]>;
11243
- /**
11244
- * Forbid unassigned imports.
11245
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unassigned-import.md
11246
- */
11247
- "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport>;
11248
- /**
11249
- * Ensure imports point to a file/module that can be resolved.
11250
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unresolved.md
11251
- */
11252
- "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved>;
11253
- /**
11254
- * Forbid modules without exports, or exports without matching import in another module.
11255
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unused-modules.md
11256
- */
11257
- "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules>;
11258
- /**
11259
- * Forbid unnecessary path segments in import and require statements.
11260
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-useless-path-segments.md
11261
- */
11262
- "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments>;
11263
- /**
11264
- * Forbid webpack loader syntax in imports.
11265
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-webpack-loader-syntax.md
11266
- */
11267
- "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
11268
- /**
11269
- * Enforce a convention in module import order.
11270
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/order.md
11271
- */
11272
- "import/order"?: Linter.RuleEntry<ImportOrder>;
11273
- /**
11274
- * Prefer a default export if module exports a single name or multiple names.
11275
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/prefer-default-export.md
11276
- */
11277
- "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport>;
11278
- /**
11279
- * Forbid potentially ambiguous parse goal (`script` vs. `module`).
11280
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/unambiguous.md
11281
- */
11282
- "import/unambiguous"?: Linter.RuleEntry<[]>;
11283
10722
  }
11284
10723
 
11285
10724
  /* ======= Declarations ======= */
@@ -11742,6 +11181,7 @@ interface _TypescriptEslintNamingConvention_MatchRegexConfig {
11742
11181
  }
11743
11182
  // ----- @typescript-eslint/no-base-to-string -----
11744
11183
  type TypescriptEslintNoBaseToString = [] | [{
11184
+ checkUnknown?: boolean;
11745
11185
  ignoredTypeNames?: string[];
11746
11186
  }];
11747
11187
  // ----- @typescript-eslint/no-confusing-void-expression -----
@@ -12229,246 +11669,19 @@ type TypescriptEslintUnifiedSignatures = [] | [{
12229
11669
  ignoreOverloadsWithDifferentJSDoc?: boolean;
12230
11670
  }];
12231
11671
  // ----- import/consistent-type-specifier-style -----
12232
- type ImportConsistentTypeSpecifierStyle = [] | ["prefer-top-level" | "prefer-inline"];
12233
- // ----- import/dynamic-import-chunkname -----
12234
- type ImportDynamicImportChunkname = [] | [{
12235
- importFunctions?: string[];
12236
- allowEmpty?: boolean;
12237
- webpackChunknameFormat?: string;
12238
- [k: string]: unknown | undefined;
12239
- }];
12240
- // ----- import/extensions -----
12241
- type ImportExtensions = [] | ["always" | "ignorePackages" | "never"] | [] | ["always" | "ignorePackages" | "never"] | ["always" | "ignorePackages" | "never", {
12242
- pattern?: {
12243
- [k: string]: "always" | "ignorePackages" | "never";
12244
- };
12245
- ignorePackages?: boolean;
12246
- checkTypeImports?: boolean;
12247
- pathGroupOverrides?: {
12248
- pattern: string;
12249
- patternOptions?: {
12250
- [k: string]: unknown | undefined;
12251
- };
12252
- action: "enforce" | "ignore";
12253
- }[];
12254
- fix?: boolean;
12255
- [k: string]: unknown | undefined;
12256
- }] | [] | [{
12257
- pattern?: {
12258
- [k: string]: "always" | "ignorePackages" | "never";
12259
- };
12260
- ignorePackages?: boolean;
12261
- checkTypeImports?: boolean;
12262
- pathGroupOverrides?: {
12263
- pattern: string;
12264
- patternOptions?: {
12265
- [k: string]: unknown | undefined;
12266
- };
12267
- action: "enforce" | "ignore";
12268
- }[];
12269
- fix?: boolean;
12270
- [k: string]: unknown | undefined;
12271
- }] | [] | ["always" | "ignorePackages" | "never"] | ["always" | "ignorePackages" | "never", {
12272
- [k: string]: "always" | "ignorePackages" | "never";
12273
- }] | [] | [{
12274
- [k: string]: "always" | "ignorePackages" | "never";
12275
- }];
11672
+ type ImportConsistentTypeSpecifierStyle = [] | ["top-level" | "inline" | "prefer-top-level"];
12276
11673
  // ----- import/first -----
12277
11674
  type ImportFirst = [] | ["absolute-first" | "disable-absolute-first"];
12278
- // ----- import/imports-first -----
12279
- type ImportImportsFirst = [] | ["absolute-first" | "disable-absolute-first"];
12280
- // ----- import/max-dependencies -----
12281
- type ImportMaxDependencies = [] | [{
12282
- max?: number;
12283
- ignoreTypeImports?: boolean;
12284
- }];
12285
- // ----- import/named -----
12286
- type ImportNamed = [] | [{
12287
- commonjs?: boolean;
12288
- }];
12289
- // ----- import/namespace -----
12290
- type ImportNamespace = [] | [{
12291
- allowComputed?: boolean;
12292
- }];
12293
11675
  // ----- import/newline-after-import -----
12294
11676
  type ImportNewlineAfterImport = [] | [{
12295
11677
  count?: number;
12296
11678
  exactCount?: boolean;
12297
11679
  considerComments?: boolean;
12298
11680
  }];
12299
- // ----- import/no-absolute-path -----
12300
- type ImportNoAbsolutePath = [] | [{
12301
- commonjs?: boolean;
12302
- amd?: boolean;
12303
- esmodule?: boolean;
12304
- ignore?: [string, ...string[]];
12305
- }];
12306
- // ----- import/no-anonymous-default-export -----
12307
- type ImportNoAnonymousDefaultExport = [] | [{
12308
- allowArray?: boolean;
12309
- allowArrowFunction?: boolean;
12310
- allowCallExpression?: boolean;
12311
- allowAnonymousClass?: boolean;
12312
- allowAnonymousFunction?: boolean;
12313
- allowLiteral?: boolean;
12314
- allowObject?: boolean;
12315
- allowNew?: boolean;
12316
- }];
12317
- // ----- import/no-commonjs -----
12318
- type ImportNoCommonjs = [] | ["allow-primitive-modules"] | [] | [{
12319
- allowPrimitiveModules?: boolean;
12320
- allowRequire?: boolean;
12321
- allowConditionalRequire?: boolean;
12322
- }];
12323
- // ----- import/no-cycle -----
12324
- type ImportNoCycle = [] | [{
12325
- commonjs?: boolean;
12326
- amd?: boolean;
12327
- esmodule?: boolean;
12328
- ignore?: [string, ...string[]];
12329
- maxDepth?: number | "∞";
12330
- ignoreExternal?: boolean;
12331
- allowUnsafeDynamicCyclicDependency?: boolean;
12332
- }];
12333
11681
  // ----- import/no-duplicates -----
12334
11682
  type ImportNoDuplicates = [] | [{
12335
- considerQueryString?: boolean;
12336
11683
  "prefer-inline"?: boolean;
12337
11684
  }];
12338
- // ----- import/no-dynamic-require -----
12339
- type ImportNoDynamicRequire = [] | [{
12340
- esmodule?: boolean;
12341
- }];
12342
- // ----- import/no-extraneous-dependencies -----
12343
- type ImportNoExtraneousDependencies = [] | [{
12344
- devDependencies?: boolean | unknown[];
12345
- optionalDependencies?: boolean | unknown[];
12346
- peerDependencies?: boolean | unknown[];
12347
- bundledDependencies?: boolean | unknown[];
12348
- packageDir?: string | unknown[];
12349
- includeInternal?: boolean;
12350
- includeTypes?: boolean;
12351
- whitelist?: unknown[];
12352
- }];
12353
- // ----- import/no-import-module-exports -----
12354
- type ImportNoImportModuleExports = [] | [{
12355
- exceptions?: unknown[];
12356
- }];
12357
- // ----- import/no-internal-modules -----
12358
- type ImportNoInternalModules = [] | [{
12359
- allow?: string[];
12360
- } | {
12361
- forbid?: string[];
12362
- }];
12363
- // ----- import/no-namespace -----
12364
- type ImportNoNamespace = [] | [{
12365
- ignore?: string[];
12366
- [k: string]: unknown | undefined;
12367
- }];
12368
- // ----- import/no-nodejs-modules -----
12369
- type ImportNoNodejsModules = [] | [{
12370
- allow?: string[];
12371
- }];
12372
- // ----- import/no-relative-packages -----
12373
- type ImportNoRelativePackages = [] | [{
12374
- commonjs?: boolean;
12375
- amd?: boolean;
12376
- esmodule?: boolean;
12377
- ignore?: [string, ...string[]];
12378
- }];
12379
- // ----- import/no-relative-parent-imports -----
12380
- type ImportNoRelativeParentImports = [] | [{
12381
- commonjs?: boolean;
12382
- amd?: boolean;
12383
- esmodule?: boolean;
12384
- ignore?: [string, ...string[]];
12385
- }];
12386
- // ----- import/no-rename-default -----
12387
- type ImportNoRenameDefault = [] | [{
12388
- commonjs?: boolean;
12389
- preventRenamingBindings?: boolean;
12390
- }];
12391
- // ----- import/no-restricted-paths -----
12392
- type ImportNoRestrictedPaths = [] | [{
12393
- zones?: [{
12394
- target?: string | [string, ...string[]];
12395
- from?: string | [string, ...string[]];
12396
- except?: string[];
12397
- message?: string;
12398
- }, ...{
12399
- target?: string | [string, ...string[]];
12400
- from?: string | [string, ...string[]];
12401
- except?: string[];
12402
- message?: string;
12403
- }[]];
12404
- basePath?: string;
12405
- }];
12406
- // ----- import/no-unassigned-import -----
12407
- type ImportNoUnassignedImport = [] | [{
12408
- devDependencies?: boolean | unknown[];
12409
- optionalDependencies?: boolean | unknown[];
12410
- peerDependencies?: boolean | unknown[];
12411
- allow?: string[];
12412
- }];
12413
- // ----- import/no-unresolved -----
12414
- type ImportNoUnresolved = [] | [{
12415
- commonjs?: boolean;
12416
- amd?: boolean;
12417
- esmodule?: boolean;
12418
- ignore?: [string, ...string[]];
12419
- caseSensitive?: boolean;
12420
- caseSensitiveStrict?: boolean;
12421
- }];
12422
- // ----- import/no-unused-modules -----
12423
- type ImportNoUnusedModules = [] | [{
12424
- unusedExports: true;
12425
- src?: [unknown, ...unknown[]];
12426
- [k: string]: unknown | undefined;
12427
- } | {
12428
- missingExports: true;
12429
- [k: string]: unknown | undefined;
12430
- }];
12431
- // ----- import/no-useless-path-segments -----
12432
- type ImportNoUselessPathSegments = [] | [{
12433
- commonjs?: boolean;
12434
- noUselessIndex?: boolean;
12435
- }];
12436
- // ----- import/order -----
12437
- type ImportOrder = [] | [{
12438
- groups?: unknown[];
12439
- pathGroupsExcludedImportTypes?: unknown[];
12440
- distinctGroup?: boolean;
12441
- pathGroups?: {
12442
- pattern: string;
12443
- patternOptions?: {
12444
- [k: string]: unknown | undefined;
12445
- };
12446
- group: "builtin" | "external" | "internal" | "unknown" | "parent" | "sibling" | "index" | "object" | "type";
12447
- position?: "after" | "before";
12448
- }[];
12449
- "newlines-between"?: "ignore" | "always" | "always-and-inside-groups" | "never";
12450
- "newlines-between-types"?: "ignore" | "always" | "always-and-inside-groups" | "never";
12451
- consolidateIslands?: "inside-groups" | "never";
12452
- sortTypesGroup?: boolean;
12453
- named?: boolean | {
12454
- enabled?: boolean;
12455
- import?: boolean;
12456
- export?: boolean;
12457
- require?: boolean;
12458
- cjsExports?: boolean;
12459
- types?: "mixed" | "types-first" | "types-last";
12460
- };
12461
- alphabetize?: {
12462
- caseInsensitive?: boolean;
12463
- order?: "ignore" | "asc" | "desc";
12464
- orderImportKind?: "ignore" | "asc" | "desc";
12465
- };
12466
- warnOnUnassignedImports?: boolean;
12467
- }];
12468
- // ----- import/prefer-default-export -----
12469
- type ImportPreferDefaultExport = [] | [{
12470
- target?: "single" | "any";
12471
- }];
12472
11685
  //#endregion
12473
11686
  //#region src/generated/dts/unicorn.d.ts
12474
11687
  interface UnicornRuleOptions {
@@ -13532,6 +12745,16 @@ interface VitestRuleOptions {
13532
12745
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
13533
12746
  */
13534
12747
  "vitest/padding-around-test-blocks"?: Linter.RuleEntry<[]>;
12748
+ /**
12749
+ * enforce using `toBeCalledOnce()` or `toHaveBeenCalledOnce()`
12750
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-once.md
12751
+ */
12752
+ "vitest/prefer-called-once"?: Linter.RuleEntry<[]>;
12753
+ /**
12754
+ * enforce using `toBeCalledTimes(1)` or `toHaveBeenCalledTimes(1)`
12755
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-times.md
12756
+ */
12757
+ "vitest/prefer-called-times"?: Linter.RuleEntry<[]>;
13535
12758
  /**
13536
12759
  * enforce using `toBeCalledWith()` or `toHaveBeenCalledWith()`
13537
12760
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-with.md
@@ -13697,6 +12920,11 @@ interface VitestRuleOptions {
13697
12920
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
13698
12921
  */
13699
12922
  "vitest/valid-title"?: Linter.RuleEntry<VitestValidTitle>;
12923
+ /**
12924
+ * disallow `.todo` usage
12925
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/warn-todo.md
12926
+ */
12927
+ "vitest/warn-todo"?: Linter.RuleEntry<[]>;
13700
12928
  }
13701
12929
 
13702
12930
  /* ======= Declarations ======= */
@@ -14481,7 +13709,7 @@ declare function defineConfig(options?: OptionsConfig & Config, ...userConfigs:
14481
13709
  type DefineConfig = typeof defineConfig;
14482
13710
  //#endregion
14483
13711
  //#region src/generated/version.d.ts
14484
- declare const VERSION = "0.4.3";
13712
+ declare const VERSION = "0.4.5";
14485
13713
  declare namespace globs_d_exports {
14486
13714
  export { GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_JS_SRC_EXT, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG, GLOB_TSX, GLOB_YAML };
14487
13715
  }
@@ -16140,4 +15368,4 @@ declare function changeRuleEntrySeverity(ruleConfig: Linter.RuleEntry<any>, leve
16140
15368
  declare function error2warn<T extends Config>(configs: T[]): T[];
16141
15369
  declare function warn2error<T extends Config>(configs: T[]): T[];
16142
15370
  //#endregion
16143
- export { Awaitable, Config, EslintConfigFn, LanguageOptions, OptionsCommon, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsHasTypeScript, OptionsIsInEditor, OptionsOverrides, OptionsPrefix, OptionsReact, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, RenamePefix, RuleName, SLOW_RULES, StylisticConfig, TailwindEslintSettings, TailwindOptions, TypedFlatConfigItemWithId, UnPromise, VERSION, changeRuleEntrySeverity, combine, combineAsync, jsse as default, defineConfig, error2warn, globs_d_exports as globs, importJsoncLibs, importParserJsonc, importPluginJsdoc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactHooks, importPluginReactRefresh, importPluginStylistic, importPluginTsdoc, importPluginUnicorn, importReactPlugins, importYmlLibs, interopDefault, isCI, isInEditor, jsse, jsseReact, parserPlain, parserTs, pluginAntfu, pluginDeMorgan, pluginEslintComments, pluginImport, pluginN, pluginPerfectionist, pluginPnpm, pluginTs, pluginUnicorn, pluginUnusedImports, renameRules, turnOffRules, uniqueStrings, warn2error };
15371
+ export { Awaitable, Config, EslintConfigFn, LanguageOptions, OptionsCommon, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsHasTypeScript, OptionsIsInEditor, OptionsOverrides, OptionsPrefix, OptionsReact, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, RenamePefix, RuleName, SLOW_RULES, StylisticConfig, TailwindEslintSettings, TailwindOptions, TypedFlatConfigItemWithId, UnPromise, VERSION, changeRuleEntrySeverity, combine, combineAsync, jsse as default, defineConfig, error2warn, globs_d_exports as globs, importJsoncLibs, importParserJsonc, importPluginJsdoc, importPluginJsonc, importPluginMarkdown, importPluginReact, importPluginReactHooks, importPluginReactRefresh, importPluginStylistic, importPluginTsdoc, importPluginUnicorn, importReactPlugins, importYmlLibs, interopDefault, isCI, isInEditor, jsse, jsseReact, parserPlain, parserTs, pluginAntfu, pluginDeMorgan, pluginEslintComments, pluginImportLite, pluginN, pluginPerfectionist, pluginPnpm, pluginTs, pluginUnicorn, pluginUnusedImports, renameRules, turnOffRules, uniqueStrings, warn2error };