@jsse/eslint-config 0.4.2 → 0.4.4

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,4 +1,3 @@
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";
@@ -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,233 +3236,238 @@ 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.1/docs/rules/consistent-type-specifier-style.md
3239
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/consistent-type-specifier-style.md
3240
3240
  */
3241
3241
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle$1>;
3242
3242
  /**
3243
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.1/docs/rules/default.md
3244
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/default.md
3245
3245
  */
3246
3246
  "import/default"?: Linter.RuleEntry<[]>;
3247
3247
  /**
3248
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.1/docs/rules/dynamic-import-chunkname.md
3249
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/dynamic-import-chunkname.md
3250
3250
  */
3251
3251
  "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname$1>;
3252
3252
  /**
3253
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.1/docs/rules/export.md
3254
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/export.md
3255
3255
  */
3256
3256
  "import/export"?: Linter.RuleEntry<[]>;
3257
3257
  /**
3258
3258
  * Ensure all exports appear after other statements.
3259
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/exports-last.md
3259
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/exports-last.md
3260
3260
  */
3261
3261
  "import/exports-last"?: Linter.RuleEntry<[]>;
3262
3262
  /**
3263
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.1/docs/rules/extensions.md
3264
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/extensions.md
3265
3265
  */
3266
3266
  "import/extensions"?: Linter.RuleEntry<ImportExtensions$1>;
3267
3267
  /**
3268
3268
  * Ensure all imports appear before other statements.
3269
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/first.md
3269
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/first.md
3270
3270
  */
3271
3271
  "import/first"?: Linter.RuleEntry<ImportFirst$1>;
3272
3272
  /**
3273
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.1/docs/rules/group-exports.md
3274
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/group-exports.md
3275
3275
  */
3276
3276
  "import/group-exports"?: Linter.RuleEntry<[]>;
3277
3277
  /**
3278
3278
  * Replaced by `import-x/first`.
3279
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/imports-first.md
3279
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/imports-first.md
3280
3280
  * @deprecated
3281
3281
  */
3282
3282
  "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst$1>;
3283
3283
  /**
3284
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.1/docs/rules/max-dependencies.md
3285
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/max-dependencies.md
3286
3286
  */
3287
3287
  "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies$1>;
3288
3288
  /**
3289
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.1/docs/rules/named.md
3290
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/named.md
3291
3291
  */
3292
3292
  "import/named"?: Linter.RuleEntry<ImportNamed$1>;
3293
3293
  /**
3294
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.1/docs/rules/namespace.md
3295
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/namespace.md
3296
3296
  */
3297
3297
  "import/namespace"?: Linter.RuleEntry<ImportNamespace$1>;
3298
3298
  /**
3299
3299
  * Enforce a newline after import statements.
3300
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/newline-after-import.md
3300
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/newline-after-import.md
3301
3301
  */
3302
3302
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport$1>;
3303
3303
  /**
3304
3304
  * Forbid import of modules using absolute paths.
3305
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-absolute-path.md
3305
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-absolute-path.md
3306
3306
  */
3307
3307
  "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath$1>;
3308
3308
  /**
3309
3309
  * Forbid AMD `require` and `define` calls.
3310
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-amd.md
3310
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-amd.md
3311
3311
  */
3312
3312
  "import/no-amd"?: Linter.RuleEntry<[]>;
3313
3313
  /**
3314
3314
  * Forbid anonymous values as default exports.
3315
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-anonymous-default-export.md
3315
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-anonymous-default-export.md
3316
3316
  */
3317
3317
  "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport$1>;
3318
3318
  /**
3319
3319
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
3320
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-commonjs.md
3320
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-commonjs.md
3321
3321
  */
3322
3322
  "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs$1>;
3323
3323
  /**
3324
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.1/docs/rules/no-cycle.md
3325
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-cycle.md
3326
3326
  */
3327
3327
  "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle$1>;
3328
3328
  /**
3329
3329
  * Forbid default exports.
3330
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-default-export.md
3330
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-default-export.md
3331
3331
  */
3332
3332
  "import/no-default-export"?: Linter.RuleEntry<[]>;
3333
3333
  /**
3334
3334
  * Forbid imported names marked with `@deprecated` documentation tag.
3335
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-deprecated.md
3335
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-deprecated.md
3336
3336
  */
3337
3337
  "import/no-deprecated"?: Linter.RuleEntry<[]>;
3338
3338
  /**
3339
3339
  * Forbid repeated import of the same module in multiple places.
3340
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-duplicates.md
3340
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-duplicates.md
3341
3341
  */
3342
3342
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates$1>;
3343
3343
  /**
3344
3344
  * Forbid `require()` calls with expressions.
3345
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-dynamic-require.md
3345
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-dynamic-require.md
3346
3346
  */
3347
3347
  "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire$1>;
3348
3348
  /**
3349
3349
  * Forbid empty named import blocks.
3350
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-empty-named-blocks.md
3350
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-empty-named-blocks.md
3351
3351
  */
3352
3352
  "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
3353
3353
  /**
3354
3354
  * Forbid the use of extraneous packages.
3355
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-extraneous-dependencies.md
3355
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-extraneous-dependencies.md
3356
3356
  */
3357
3357
  "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies$1>;
3358
3358
  /**
3359
3359
  * Forbid import statements with CommonJS module.exports.
3360
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-import-module-exports.md
3360
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-import-module-exports.md
3361
3361
  */
3362
3362
  "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports$1>;
3363
3363
  /**
3364
3364
  * Forbid importing the submodules of other modules.
3365
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-internal-modules.md
3365
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-internal-modules.md
3366
3366
  */
3367
3367
  "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules$1>;
3368
3368
  /**
3369
3369
  * Forbid the use of mutable exports with `var` or `let`.
3370
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-mutable-exports.md
3370
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-mutable-exports.md
3371
3371
  */
3372
3372
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
3373
3373
  /**
3374
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.1/docs/rules/no-named-as-default.md
3375
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default.md
3376
3376
  */
3377
3377
  "import/no-named-as-default"?: Linter.RuleEntry<[]>;
3378
3378
  /**
3379
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.1/docs/rules/no-named-as-default-member.md
3380
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default-member.md
3381
3381
  */
3382
3382
  "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
3383
3383
  /**
3384
3384
  * Forbid named default exports.
3385
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-named-default.md
3385
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-default.md
3386
3386
  */
3387
3387
  "import/no-named-default"?: Linter.RuleEntry<[]>;
3388
3388
  /**
3389
3389
  * Forbid named exports.
3390
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-named-export.md
3390
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-export.md
3391
3391
  */
3392
3392
  "import/no-named-export"?: Linter.RuleEntry<[]>;
3393
3393
  /**
3394
3394
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
3395
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-namespace.md
3395
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-namespace.md
3396
3396
  */
3397
3397
  "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace$1>;
3398
3398
  /**
3399
3399
  * Forbid Node.js builtin modules.
3400
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-nodejs-modules.md
3400
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-nodejs-modules.md
3401
3401
  */
3402
3402
  "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules$1>;
3403
3403
  /**
3404
3404
  * Forbid importing packages through relative paths.
3405
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-relative-packages.md
3405
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-packages.md
3406
3406
  */
3407
3407
  "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages$1>;
3408
3408
  /**
3409
3409
  * Forbid importing modules from parent directories.
3410
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-relative-parent-imports.md
3410
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-parent-imports.md
3411
3411
  */
3412
3412
  "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports$1>;
3413
3413
  /**
3414
3414
  * Forbid importing a default export by a different name.
3415
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-rename-default.md
3415
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-rename-default.md
3416
3416
  */
3417
3417
  "import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault$1>;
3418
3418
  /**
3419
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.1/docs/rules/no-restricted-paths.md
3420
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-restricted-paths.md
3421
3421
  */
3422
3422
  "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths$1>;
3423
3423
  /**
3424
3424
  * Forbid a module from importing itself.
3425
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-self-import.md
3425
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-self-import.md
3426
3426
  */
3427
3427
  "import/no-self-import"?: Linter.RuleEntry<[]>;
3428
3428
  /**
3429
3429
  * Forbid unassigned imports.
3430
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-unassigned-import.md
3430
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unassigned-import.md
3431
3431
  */
3432
3432
  "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport$1>;
3433
3433
  /**
3434
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.1/docs/rules/no-unresolved.md
3435
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unresolved.md
3436
3436
  */
3437
3437
  "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved$1>;
3438
3438
  /**
3439
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.1/docs/rules/no-unused-modules.md
3440
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unused-modules.md
3441
3441
  */
3442
3442
  "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules$1>;
3443
3443
  /**
3444
3444
  * Forbid unnecessary path segments in import and require statements.
3445
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-useless-path-segments.md
3445
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-useless-path-segments.md
3446
3446
  */
3447
3447
  "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments$1>;
3448
3448
  /**
3449
3449
  * Forbid webpack loader syntax in imports.
3450
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-webpack-loader-syntax.md
3450
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-webpack-loader-syntax.md
3451
3451
  */
3452
3452
  "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
3453
3453
  /**
3454
3454
  * Enforce a convention in module import order.
3455
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/order.md
3455
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/order.md
3456
3456
  */
3457
3457
  "import/order"?: Linter.RuleEntry<ImportOrder$1>;
3458
3458
  /**
3459
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.1/docs/rules/prefer-default-export.md
3460
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-default-export.md
3461
3461
  */
3462
3462
  "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport$1>;
3463
+ /**
3464
+ * Enforce using namespace imports for specific modules, like `react`/`react-dom`, etc.
3465
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-namespace-import.md
3466
+ */
3467
+ "import/prefer-namespace-import"?: Linter.RuleEntry<ImportPreferNamespaceImport$1>;
3463
3468
  /**
3464
3469
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
3465
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/unambiguous.md
3470
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/unambiguous.md
3466
3471
  */
3467
3472
  "import/unambiguous"?: Linter.RuleEntry<[]>;
3468
3473
  }
@@ -3709,6 +3714,10 @@ type ImportOrder$1 = [] | [{
3709
3714
  type ImportPreferDefaultExport$1 = [] | [{
3710
3715
  target?: "single" | "any";
3711
3716
  }];
3717
+ // ----- import/prefer-namespace-import -----
3718
+ type ImportPreferNamespaceImport$1 = [] | [{
3719
+ patterns?: string[];
3720
+ }];
3712
3721
  //#endregion
3713
3722
  //#region src/generated/dts/javascript.d.ts
3714
3723
  interface JavascriptRuleOptions {
@@ -4163,6 +4172,7 @@ type JsdocLinesBeforeBlock = [] | [{
4163
4172
  checkBlockStarts?: boolean;
4164
4173
  excludedTags?: string[];
4165
4174
  ignoreSameLine?: boolean;
4175
+ ignoreSingleLines?: boolean;
4166
4176
  lines?: number;
4167
4177
  }];
4168
4178
  // ----- jsdoc/match-description -----
@@ -4206,6 +4216,7 @@ type JsdocMultilineBlocks = [] | [{
4206
4216
  noMultilineBlocks?: boolean;
4207
4217
  noSingleLineBlocks?: boolean;
4208
4218
  noZeroLineText?: boolean;
4219
+ requireSingleLineUnderCount?: number;
4209
4220
  singleLineTags?: string[];
4210
4221
  }];
4211
4222
  // ----- jsdoc/no-bad-blocks -----
@@ -5006,6 +5017,11 @@ interface MarkdownRuleOptions {
5006
5017
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
5007
5018
  */
5008
5019
  "markdown/heading-increment"?: Linter.RuleEntry<[]>;
5020
+ /**
5021
+ * Disallow bare URLs
5022
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-bare-urls.md
5023
+ */
5024
+ "markdown/no-bare-urls"?: Linter.RuleEntry<[]>;
5009
5025
  /**
5010
5026
  * Disallow duplicate definitions
5011
5027
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-definitions.md
@@ -5015,7 +5031,7 @@ interface MarkdownRuleOptions {
5015
5031
  * Disallow duplicate headings in the same document
5016
5032
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md
5017
5033
  */
5018
- "markdown/no-duplicate-headings"?: Linter.RuleEntry<[]>;
5034
+ "markdown/no-duplicate-headings"?: Linter.RuleEntry<MarkdownNoDuplicateHeadings>;
5019
5035
  /**
5020
5036
  * Disallow empty definitions
5021
5037
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-definitions.md
@@ -5051,11 +5067,21 @@ interface MarkdownRuleOptions {
5051
5067
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
5052
5068
  */
5053
5069
  "markdown/no-missing-label-refs"?: Linter.RuleEntry<[]>;
5070
+ /**
5071
+ * Disallow link fragments that do not reference valid headings
5072
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-link-fragments.md
5073
+ */
5074
+ "markdown/no-missing-link-fragments"?: Linter.RuleEntry<MarkdownNoMissingLinkFragments>;
5054
5075
  /**
5055
5076
  * Disallow multiple H1 headings in the same document
5056
5077
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-multiple-h1.md
5057
5078
  */
5058
5079
  "markdown/no-multiple-h1"?: Linter.RuleEntry<MarkdownNoMultipleH1>;
5080
+ /**
5081
+ * Disallow reversed link and image syntax
5082
+ * @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reversed-media-syntax.md
5083
+ */
5084
+ "markdown/no-reversed-media-syntax"?: Linter.RuleEntry<[]>;
5059
5085
  /**
5060
5086
  * Require alternative text for images
5061
5087
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/require-alt-text.md
@@ -5078,10 +5104,19 @@ type MarkdownNoDuplicateDefinitions = [] | [{
5078
5104
  allowDefinitions?: string[];
5079
5105
  allowFootnoteDefinitions?: string[];
5080
5106
  }];
5107
+ // ----- markdown/no-duplicate-headings -----
5108
+ type MarkdownNoDuplicateHeadings = [] | [{
5109
+ checkSiblingsOnly?: boolean;
5110
+ }];
5081
5111
  // ----- markdown/no-html -----
5082
5112
  type MarkdownNoHtml = [] | [{
5083
5113
  allowed?: string[];
5084
5114
  }];
5115
+ // ----- markdown/no-missing-link-fragments -----
5116
+ type MarkdownNoMissingLinkFragments = [] | [{
5117
+ ignoreCase?: boolean;
5118
+ allowPattern?: string;
5119
+ }];
5085
5120
  // ----- markdown/no-multiple-h1 -----
5086
5121
  type MarkdownNoMultipleH1 = [] | [{
5087
5122
  frontmatterTitle?: string;
@@ -5704,7 +5739,7 @@ type PerfectionistSortArrayIncludes = {
5704
5739
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
5705
5740
  groupKind?: "mixed" | "literals-first" | "spreads-first";
5706
5741
  customGroups?: ({
5707
- newlinesInside?: "always" | "never";
5742
+ newlinesInside?: ("always" | "never") | number;
5708
5743
  fallbackSort?: {
5709
5744
  order?: "asc" | "desc";
5710
5745
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -5723,7 +5758,7 @@ type PerfectionistSortArrayIncludes = {
5723
5758
  } | string);
5724
5759
  }[];
5725
5760
  } | {
5726
- newlinesInside?: "always" | "never";
5761
+ newlinesInside?: ("always" | "never") | number;
5727
5762
  fallbackSort?: {
5728
5763
  order?: "asc" | "desc";
5729
5764
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -5772,9 +5807,9 @@ type PerfectionistSortArrayIncludes = {
5772
5807
  } | string));
5773
5808
  };
5774
5809
  partitionByNewLine?: boolean;
5775
- newlinesBetween?: "ignore" | "always" | "never";
5810
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
5776
5811
  groups?: (string | string[] | {
5777
- newlinesBetween?: "ignore" | "always" | "never";
5812
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
5778
5813
  commentAbove?: string;
5779
5814
  })[];
5780
5815
  }[];
@@ -5791,7 +5826,7 @@ type PerfectionistSortClasses = [] | [{
5791
5826
  order?: "asc" | "desc";
5792
5827
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
5793
5828
  customGroups?: ({
5794
- newlinesInside?: "always" | "never";
5829
+ newlinesInside?: ("always" | "never") | number;
5795
5830
  fallbackSort?: {
5796
5831
  order?: "asc" | "desc";
5797
5832
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -5825,7 +5860,7 @@ type PerfectionistSortClasses = [] | [{
5825
5860
  } | string);
5826
5861
  }[];
5827
5862
  } | {
5828
- newlinesInside?: "always" | "never";
5863
+ newlinesInside?: ("always" | "never") | number;
5829
5864
  fallbackSort?: {
5830
5865
  order?: "asc" | "desc";
5831
5866
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -5887,9 +5922,9 @@ type PerfectionistSortClasses = [] | [{
5887
5922
  } | string));
5888
5923
  };
5889
5924
  partitionByNewLine?: boolean;
5890
- newlinesBetween?: "ignore" | "always" | "never";
5925
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
5891
5926
  groups?: (string | string[] | {
5892
- newlinesBetween?: "ignore" | "always" | "never";
5927
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
5893
5928
  commentAbove?: string;
5894
5929
  })[];
5895
5930
  }];
@@ -5936,7 +5971,7 @@ type PerfectionistSortDecorators = [] | [{
5936
5971
  [k: string]: (string | string[]) | undefined;
5937
5972
  };
5938
5973
  groups?: (string | string[] | {
5939
- newlinesBetween?: "ignore" | "always" | "never";
5974
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
5940
5975
  commentAbove?: string;
5941
5976
  })[];
5942
5977
  }];
@@ -5955,7 +5990,7 @@ type PerfectionistSortEnums = [] | [{
5955
5990
  customGroups?: {
5956
5991
  [k: string]: (string | string[]) | undefined;
5957
5992
  } | ({
5958
- newlinesInside?: "always" | "never";
5993
+ newlinesInside?: ("always" | "never") | number;
5959
5994
  fallbackSort?: {
5960
5995
  order?: "asc" | "desc";
5961
5996
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -5980,7 +6015,7 @@ type PerfectionistSortEnums = [] | [{
5980
6015
  } | string);
5981
6016
  }[];
5982
6017
  } | {
5983
- newlinesInside?: "always" | "never";
6018
+ newlinesInside?: ("always" | "never") | number;
5984
6019
  fallbackSort?: {
5985
6020
  order?: "asc" | "desc";
5986
6021
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6028,9 +6063,9 @@ type PerfectionistSortEnums = [] | [{
6028
6063
  } | string));
6029
6064
  };
6030
6065
  partitionByNewLine?: boolean;
6031
- newlinesBetween?: "ignore" | "always" | "never";
6066
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6032
6067
  groups?: (string | string[] | {
6033
- newlinesBetween?: "ignore" | "always" | "never";
6068
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6034
6069
  commentAbove?: string;
6035
6070
  })[];
6036
6071
  }];
@@ -6048,7 +6083,7 @@ type PerfectionistSortExports = {
6048
6083
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
6049
6084
  groupKind?: "mixed" | "values-first" | "types-first";
6050
6085
  customGroups?: ({
6051
- newlinesInside?: "always" | "never";
6086
+ newlinesInside?: ("always" | "never") | number;
6052
6087
  fallbackSort?: {
6053
6088
  order?: "asc" | "desc";
6054
6089
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6068,7 +6103,7 @@ type PerfectionistSortExports = {
6068
6103
  } | string);
6069
6104
  }[];
6070
6105
  } | {
6071
- newlinesInside?: "always" | "never";
6106
+ newlinesInside?: ("always" | "never") | number;
6072
6107
  fallbackSort?: {
6073
6108
  order?: "asc" | "desc";
6074
6109
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6109,9 +6144,9 @@ type PerfectionistSortExports = {
6109
6144
  } | string));
6110
6145
  };
6111
6146
  partitionByNewLine?: boolean;
6112
- newlinesBetween?: "ignore" | "always" | "never";
6147
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6113
6148
  groups?: (string | string[] | {
6114
- newlinesBetween?: "ignore" | "always" | "never";
6149
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6115
6150
  commentAbove?: string;
6116
6151
  })[];
6117
6152
  }[];
@@ -6131,7 +6166,7 @@ type PerfectionistSortHeritageClauses = [] | [{
6131
6166
  [k: string]: (string | string[]) | undefined;
6132
6167
  };
6133
6168
  groups?: (string | string[] | {
6134
- newlinesBetween?: "ignore" | "always" | "never";
6169
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6135
6170
  commentAbove?: string;
6136
6171
  })[];
6137
6172
  }];
@@ -6155,7 +6190,7 @@ type PerfectionistSortImports = {
6155
6190
  [k: string]: (string | string[]) | undefined;
6156
6191
  };
6157
6192
  } | ({
6158
- newlinesInside?: "always" | "never";
6193
+ newlinesInside?: ("always" | "never") | number;
6159
6194
  fallbackSort?: {
6160
6195
  order?: "asc" | "desc";
6161
6196
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6182,7 +6217,7 @@ type PerfectionistSortImports = {
6182
6217
  } | string);
6183
6218
  }[];
6184
6219
  } | {
6185
- newlinesInside?: "always" | "never";
6220
+ newlinesInside?: ("always" | "never") | number;
6186
6221
  fallbackSort?: {
6187
6222
  order?: "asc" | "desc";
6188
6223
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6238,7 +6273,7 @@ type PerfectionistSortImports = {
6238
6273
  } | string));
6239
6274
  };
6240
6275
  partitionByNewLine?: boolean;
6241
- newlinesBetween?: "ignore" | "always" | "never";
6276
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6242
6277
  internalPattern?: ({
6243
6278
  pattern: string;
6244
6279
  flags?: string;
@@ -6247,7 +6282,7 @@ type PerfectionistSortImports = {
6247
6282
  flags?: string;
6248
6283
  } | string);
6249
6284
  groups?: (string | string[] | {
6250
- newlinesBetween?: "ignore" | "always" | "never";
6285
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6251
6286
  commentAbove?: string;
6252
6287
  })[];
6253
6288
  }[];
@@ -6267,7 +6302,7 @@ type PerfectionistSortInterfaces = {
6267
6302
  customGroups?: {
6268
6303
  [k: string]: (string | string[]) | undefined;
6269
6304
  } | ({
6270
- newlinesInside?: "always" | "never";
6305
+ newlinesInside?: ("always" | "never") | number;
6271
6306
  fallbackSort?: {
6272
6307
  order?: "asc" | "desc";
6273
6308
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6296,7 +6331,7 @@ type PerfectionistSortInterfaces = {
6296
6331
  sortBy?: "name" | "value";
6297
6332
  }[];
6298
6333
  } | {
6299
- newlinesInside?: "always" | "never";
6334
+ newlinesInside?: ("always" | "never") | number;
6300
6335
  fallbackSort?: {
6301
6336
  order?: "asc" | "desc";
6302
6337
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6363,7 +6398,7 @@ type PerfectionistSortInterfaces = {
6363
6398
  } | string));
6364
6399
  };
6365
6400
  partitionByNewLine?: boolean;
6366
- newlinesBetween?: "ignore" | "always" | "never";
6401
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6367
6402
  ignorePattern?: ({
6368
6403
  pattern: string;
6369
6404
  flags?: string;
@@ -6373,7 +6408,7 @@ type PerfectionistSortInterfaces = {
6373
6408
  } | string);
6374
6409
  sortBy?: "name" | "value";
6375
6410
  groups?: (string | string[] | {
6376
- newlinesBetween?: "ignore" | "always" | "never";
6411
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6377
6412
  commentAbove?: string;
6378
6413
  })[];
6379
6414
  }[];
@@ -6390,7 +6425,7 @@ type PerfectionistSortIntersectionTypes = {
6390
6425
  order?: "asc" | "desc";
6391
6426
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
6392
6427
  customGroups?: ({
6393
- newlinesInside?: "always" | "never";
6428
+ newlinesInside?: ("always" | "never") | number;
6394
6429
  fallbackSort?: {
6395
6430
  order?: "asc" | "desc";
6396
6431
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6409,7 +6444,7 @@ type PerfectionistSortIntersectionTypes = {
6409
6444
  } | string);
6410
6445
  }[];
6411
6446
  } | {
6412
- newlinesInside?: "always" | "never";
6447
+ newlinesInside?: ("always" | "never") | number;
6413
6448
  fallbackSort?: {
6414
6449
  order?: "asc" | "desc";
6415
6450
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6449,9 +6484,9 @@ type PerfectionistSortIntersectionTypes = {
6449
6484
  } | string));
6450
6485
  };
6451
6486
  partitionByNewLine?: boolean;
6452
- newlinesBetween?: "ignore" | "always" | "never";
6487
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6453
6488
  groups?: (string | string[] | {
6454
- newlinesBetween?: "ignore" | "always" | "never";
6489
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6455
6490
  commentAbove?: string;
6456
6491
  })[];
6457
6492
  }[];
@@ -6470,7 +6505,7 @@ type PerfectionistSortJsxProps = {
6470
6505
  customGroups?: {
6471
6506
  [k: string]: (string | string[]) | undefined;
6472
6507
  } | ({
6473
- newlinesInside?: "always" | "never";
6508
+ newlinesInside?: ("always" | "never") | number;
6474
6509
  fallbackSort?: {
6475
6510
  order?: "asc" | "desc";
6476
6511
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6497,7 +6532,7 @@ type PerfectionistSortJsxProps = {
6497
6532
  } | string);
6498
6533
  }[];
6499
6534
  } | {
6500
- newlinesInside?: "always" | "never";
6535
+ newlinesInside?: ("always" | "never") | number;
6501
6536
  fallbackSort?: {
6502
6537
  order?: "asc" | "desc";
6503
6538
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6539,7 +6574,7 @@ type PerfectionistSortJsxProps = {
6539
6574
  } | string);
6540
6575
  };
6541
6576
  partitionByNewLine?: boolean;
6542
- newlinesBetween?: "ignore" | "always" | "never";
6577
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6543
6578
  ignorePattern?: ({
6544
6579
  pattern: string;
6545
6580
  flags?: string;
@@ -6548,7 +6583,7 @@ type PerfectionistSortJsxProps = {
6548
6583
  flags?: string;
6549
6584
  } | string);
6550
6585
  groups?: (string | string[] | {
6551
- newlinesBetween?: "ignore" | "always" | "never";
6586
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6552
6587
  commentAbove?: string;
6553
6588
  })[];
6554
6589
  }[];
@@ -6565,7 +6600,7 @@ type PerfectionistSortMaps = {
6565
6600
  order?: "asc" | "desc";
6566
6601
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
6567
6602
  customGroups?: ({
6568
- newlinesInside?: "always" | "never";
6603
+ newlinesInside?: ("always" | "never") | number;
6569
6604
  fallbackSort?: {
6570
6605
  order?: "asc" | "desc";
6571
6606
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6583,7 +6618,7 @@ type PerfectionistSortMaps = {
6583
6618
  } | string);
6584
6619
  }[];
6585
6620
  } | {
6586
- newlinesInside?: "always" | "never";
6621
+ newlinesInside?: ("always" | "never") | number;
6587
6622
  fallbackSort?: {
6588
6623
  order?: "asc" | "desc";
6589
6624
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6631,9 +6666,9 @@ type PerfectionistSortMaps = {
6631
6666
  } | string));
6632
6667
  };
6633
6668
  partitionByNewLine?: boolean;
6634
- newlinesBetween?: "ignore" | "always" | "never";
6669
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6635
6670
  groups?: (string | string[] | {
6636
- newlinesBetween?: "ignore" | "always" | "never";
6671
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6637
6672
  commentAbove?: string;
6638
6673
  })[];
6639
6674
  }[];
@@ -6650,7 +6685,7 @@ type PerfectionistSortModules = [] | [{
6650
6685
  order?: "asc" | "desc";
6651
6686
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
6652
6687
  customGroups?: ({
6653
- newlinesInside?: "always" | "never";
6688
+ newlinesInside?: ("always" | "never") | number;
6654
6689
  fallbackSort?: {
6655
6690
  order?: "asc" | "desc";
6656
6691
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6677,7 +6712,7 @@ type PerfectionistSortModules = [] | [{
6677
6712
  } | string);
6678
6713
  }[];
6679
6714
  } | {
6680
- newlinesInside?: "always" | "never";
6715
+ newlinesInside?: ("always" | "never") | number;
6681
6716
  fallbackSort?: {
6682
6717
  order?: "asc" | "desc";
6683
6718
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6725,9 +6760,9 @@ type PerfectionistSortModules = [] | [{
6725
6760
  } | string));
6726
6761
  };
6727
6762
  partitionByNewLine?: boolean;
6728
- newlinesBetween?: "ignore" | "always" | "never";
6763
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6729
6764
  groups?: (string | string[] | {
6730
- newlinesBetween?: "ignore" | "always" | "never";
6765
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6731
6766
  commentAbove?: string;
6732
6767
  })[];
6733
6768
  }];
@@ -6746,7 +6781,7 @@ type PerfectionistSortNamedExports = {
6746
6781
  groupKind?: "mixed" | "values-first" | "types-first";
6747
6782
  ignoreAlias?: boolean;
6748
6783
  customGroups?: ({
6749
- newlinesInside?: "always" | "never";
6784
+ newlinesInside?: ("always" | "never") | number;
6750
6785
  fallbackSort?: {
6751
6786
  order?: "asc" | "desc";
6752
6787
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6766,7 +6801,7 @@ type PerfectionistSortNamedExports = {
6766
6801
  } | string);
6767
6802
  }[];
6768
6803
  } | {
6769
- newlinesInside?: "always" | "never";
6804
+ newlinesInside?: ("always" | "never") | number;
6770
6805
  fallbackSort?: {
6771
6806
  order?: "asc" | "desc";
6772
6807
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6807,9 +6842,9 @@ type PerfectionistSortNamedExports = {
6807
6842
  } | string));
6808
6843
  };
6809
6844
  partitionByNewLine?: boolean;
6810
- newlinesBetween?: "ignore" | "always" | "never";
6845
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6811
6846
  groups?: (string | string[] | {
6812
- newlinesBetween?: "ignore" | "always" | "never";
6847
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6813
6848
  commentAbove?: string;
6814
6849
  })[];
6815
6850
  }[];
@@ -6828,7 +6863,7 @@ type PerfectionistSortNamedImports = {
6828
6863
  groupKind?: "mixed" | "values-first" | "types-first";
6829
6864
  ignoreAlias?: boolean;
6830
6865
  customGroups?: ({
6831
- newlinesInside?: "always" | "never";
6866
+ newlinesInside?: ("always" | "never") | number;
6832
6867
  fallbackSort?: {
6833
6868
  order?: "asc" | "desc";
6834
6869
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6848,7 +6883,7 @@ type PerfectionistSortNamedImports = {
6848
6883
  } | string);
6849
6884
  }[];
6850
6885
  } | {
6851
- newlinesInside?: "always" | "never";
6886
+ newlinesInside?: ("always" | "never") | number;
6852
6887
  fallbackSort?: {
6853
6888
  order?: "asc" | "desc";
6854
6889
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6889,9 +6924,9 @@ type PerfectionistSortNamedImports = {
6889
6924
  } | string));
6890
6925
  };
6891
6926
  partitionByNewLine?: boolean;
6892
- newlinesBetween?: "ignore" | "always" | "never";
6927
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6893
6928
  groups?: (string | string[] | {
6894
- newlinesBetween?: "ignore" | "always" | "never";
6929
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
6895
6930
  commentAbove?: string;
6896
6931
  })[];
6897
6932
  }[];
@@ -6911,7 +6946,7 @@ type PerfectionistSortObjectTypes = {
6911
6946
  customGroups?: {
6912
6947
  [k: string]: (string | string[]) | undefined;
6913
6948
  } | ({
6914
- newlinesInside?: "always" | "never";
6949
+ newlinesInside?: ("always" | "never") | number;
6915
6950
  fallbackSort?: {
6916
6951
  order?: "asc" | "desc";
6917
6952
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -6940,7 +6975,7 @@ type PerfectionistSortObjectTypes = {
6940
6975
  sortBy?: "name" | "value";
6941
6976
  }[];
6942
6977
  } | {
6943
- newlinesInside?: "always" | "never";
6978
+ newlinesInside?: ("always" | "never") | number;
6944
6979
  fallbackSort?: {
6945
6980
  order?: "asc" | "desc";
6946
6981
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -7007,7 +7042,7 @@ type PerfectionistSortObjectTypes = {
7007
7042
  } | string));
7008
7043
  };
7009
7044
  partitionByNewLine?: boolean;
7010
- newlinesBetween?: "ignore" | "always" | "never";
7045
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
7011
7046
  ignorePattern?: ({
7012
7047
  pattern: string;
7013
7048
  flags?: string;
@@ -7017,7 +7052,7 @@ type PerfectionistSortObjectTypes = {
7017
7052
  } | string);
7018
7053
  sortBy?: "name" | "value";
7019
7054
  groups?: (string | string[] | {
7020
- newlinesBetween?: "ignore" | "always" | "never";
7055
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
7021
7056
  commentAbove?: string;
7022
7057
  })[];
7023
7058
  }[];
@@ -7039,7 +7074,7 @@ type PerfectionistSortObjects = {
7039
7074
  customGroups?: {
7040
7075
  [k: string]: (string | string[]) | undefined;
7041
7076
  } | ({
7042
- newlinesInside?: "always" | "never";
7077
+ newlinesInside?: ("always" | "never") | number;
7043
7078
  fallbackSort?: {
7044
7079
  order?: "asc" | "desc";
7045
7080
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -7066,7 +7101,7 @@ type PerfectionistSortObjects = {
7066
7101
  } | string);
7067
7102
  }[];
7068
7103
  } | {
7069
- newlinesInside?: "always" | "never";
7104
+ newlinesInside?: ("always" | "never") | number;
7070
7105
  fallbackSort?: {
7071
7106
  order?: "asc" | "desc";
7072
7107
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -7133,7 +7168,7 @@ type PerfectionistSortObjects = {
7133
7168
  } | string));
7134
7169
  };
7135
7170
  partitionByNewLine?: boolean;
7136
- newlinesBetween?: "ignore" | "always" | "never";
7171
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
7137
7172
  ignorePattern?: ({
7138
7173
  pattern: string;
7139
7174
  flags?: string;
@@ -7142,7 +7177,7 @@ type PerfectionistSortObjects = {
7142
7177
  flags?: string;
7143
7178
  } | string);
7144
7179
  groups?: (string | string[] | {
7145
- newlinesBetween?: "ignore" | "always" | "never";
7180
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
7146
7181
  commentAbove?: string;
7147
7182
  })[];
7148
7183
  }[];
@@ -7160,7 +7195,7 @@ type PerfectionistSortSets = {
7160
7195
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
7161
7196
  groupKind?: "mixed" | "literals-first" | "spreads-first";
7162
7197
  customGroups?: ({
7163
- newlinesInside?: "always" | "never";
7198
+ newlinesInside?: ("always" | "never") | number;
7164
7199
  fallbackSort?: {
7165
7200
  order?: "asc" | "desc";
7166
7201
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -7179,7 +7214,7 @@ type PerfectionistSortSets = {
7179
7214
  } | string);
7180
7215
  }[];
7181
7216
  } | {
7182
- newlinesInside?: "always" | "never";
7217
+ newlinesInside?: ("always" | "never") | number;
7183
7218
  fallbackSort?: {
7184
7219
  order?: "asc" | "desc";
7185
7220
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -7228,9 +7263,9 @@ type PerfectionistSortSets = {
7228
7263
  } | string));
7229
7264
  };
7230
7265
  partitionByNewLine?: boolean;
7231
- newlinesBetween?: "ignore" | "always" | "never";
7266
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
7232
7267
  groups?: (string | string[] | {
7233
- newlinesBetween?: "ignore" | "always" | "never";
7268
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
7234
7269
  commentAbove?: string;
7235
7270
  })[];
7236
7271
  }[];
@@ -7260,7 +7295,7 @@ type PerfectionistSortUnionTypes = {
7260
7295
  order?: "asc" | "desc";
7261
7296
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
7262
7297
  customGroups?: ({
7263
- newlinesInside?: "always" | "never";
7298
+ newlinesInside?: ("always" | "never") | number;
7264
7299
  fallbackSort?: {
7265
7300
  order?: "asc" | "desc";
7266
7301
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -7279,7 +7314,7 @@ type PerfectionistSortUnionTypes = {
7279
7314
  } | string);
7280
7315
  }[];
7281
7316
  } | {
7282
- newlinesInside?: "always" | "never";
7317
+ newlinesInside?: ("always" | "never") | number;
7283
7318
  fallbackSort?: {
7284
7319
  order?: "asc" | "desc";
7285
7320
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -7319,9 +7354,9 @@ type PerfectionistSortUnionTypes = {
7319
7354
  } | string));
7320
7355
  };
7321
7356
  partitionByNewLine?: boolean;
7322
- newlinesBetween?: "ignore" | "always" | "never";
7357
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
7323
7358
  groups?: (string | string[] | {
7324
- newlinesBetween?: "ignore" | "always" | "never";
7359
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
7325
7360
  commentAbove?: string;
7326
7361
  })[];
7327
7362
  }[];
@@ -7338,7 +7373,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
7338
7373
  order?: "asc" | "desc";
7339
7374
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
7340
7375
  customGroups?: ({
7341
- newlinesInside?: "always" | "never";
7376
+ newlinesInside?: ("always" | "never") | number;
7342
7377
  fallbackSort?: {
7343
7378
  order?: "asc" | "desc";
7344
7379
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -7357,7 +7392,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
7357
7392
  } | string);
7358
7393
  }[];
7359
7394
  } | {
7360
- newlinesInside?: "always" | "never";
7395
+ newlinesInside?: ("always" | "never") | number;
7361
7396
  fallbackSort?: {
7362
7397
  order?: "asc" | "desc";
7363
7398
  type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted";
@@ -7397,9 +7432,9 @@ type PerfectionistSortVariableDeclarations = [] | [{
7397
7432
  } | string));
7398
7433
  };
7399
7434
  partitionByNewLine?: boolean;
7400
- newlinesBetween?: "ignore" | "always" | "never";
7435
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
7401
7436
  groups?: (string | string[] | {
7402
- newlinesBetween?: "ignore" | "always" | "never";
7437
+ newlinesBetween?: ("ignore" | "always" | "never") | number;
7403
7438
  commentAbove?: string;
7404
7439
  })[];
7405
7440
  }];
@@ -7408,27 +7443,27 @@ type PerfectionistSortVariableDeclarations = [] | [{
7408
7443
  interface PnpmRuleOptions {
7409
7444
  /**
7410
7445
  * Enforce using "catalog:" in `package.json`
7411
- * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/json-enforce-catalog.test.ts
7446
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-enforce-catalog.test.ts
7412
7447
  */
7413
7448
  "pnpm/json-enforce-catalog"?: Linter.RuleEntry<PnpmJsonEnforceCatalog>;
7414
7449
  /**
7415
7450
  * 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
7451
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-prefer-workspace-settings.test.ts
7417
7452
  */
7418
7453
  "pnpm/json-prefer-workspace-settings"?: Linter.RuleEntry<PnpmJsonPreferWorkspaceSettings>;
7419
7454
  /**
7420
7455
  * 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
7456
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-valid-catalog.test.ts
7422
7457
  */
7423
7458
  "pnpm/json-valid-catalog"?: Linter.RuleEntry<PnpmJsonValidCatalog>;
7424
7459
  /**
7425
7460
  * 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
7461
+ * @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
7462
  */
7428
7463
  "pnpm/yaml-no-duplicate-catalog-item"?: Linter.RuleEntry<PnpmYamlNoDuplicateCatalogItem>;
7429
7464
  /**
7430
7465
  * 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
7466
+ * @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
7467
  */
7433
7468
  "pnpm/yaml-no-unused-catalog-item"?: Linter.RuleEntry<[]>;
7434
7469
  }
@@ -8507,483 +8542,478 @@ interface SortTsconfigRuleOptions {}
8507
8542
  interface StylisticRuleOptions {
8508
8543
  /**
8509
8544
  * Enforce linebreaks after opening and before closing array brackets
8510
- * @see https://eslint.style/rules/js/array-bracket-newline
8545
+ * @see https://eslint.style/rules/array-bracket-newline
8511
8546
  */
8512
8547
  "@stylistic/array-bracket-newline"?: Linter.RuleEntry<StylisticArrayBracketNewline>;
8513
8548
  /**
8514
8549
  * Enforce consistent spacing inside array brackets
8515
- * @see https://eslint.style/rules/js/array-bracket-spacing
8550
+ * @see https://eslint.style/rules/array-bracket-spacing
8516
8551
  */
8517
8552
  "@stylistic/array-bracket-spacing"?: Linter.RuleEntry<StylisticArrayBracketSpacing>;
8518
8553
  /**
8519
8554
  * Enforce line breaks after each array element
8520
- * @see https://eslint.style/rules/js/array-element-newline
8555
+ * @see https://eslint.style/rules/array-element-newline
8521
8556
  */
8522
8557
  "@stylistic/array-element-newline"?: Linter.RuleEntry<StylisticArrayElementNewline>;
8523
8558
  /**
8524
8559
  * Require parentheses around arrow function arguments
8525
- * @see https://eslint.style/rules/js/arrow-parens
8560
+ * @see https://eslint.style/rules/arrow-parens
8526
8561
  */
8527
8562
  "@stylistic/arrow-parens"?: Linter.RuleEntry<StylisticArrowParens>;
8528
8563
  /**
8529
8564
  * Enforce consistent spacing before and after the arrow in arrow functions
8530
- * @see https://eslint.style/rules/js/arrow-spacing
8565
+ * @see https://eslint.style/rules/arrow-spacing
8531
8566
  */
8532
8567
  "@stylistic/arrow-spacing"?: Linter.RuleEntry<StylisticArrowSpacing>;
8533
8568
  /**
8534
8569
  * Disallow or enforce spaces inside of blocks after opening block and before closing block
8535
- * @see https://eslint.style/rules/ts/block-spacing
8570
+ * @see https://eslint.style/rules/block-spacing
8536
8571
  */
8537
8572
  "@stylistic/block-spacing"?: Linter.RuleEntry<StylisticBlockSpacing>;
8538
8573
  /**
8539
8574
  * Enforce consistent brace style for blocks
8540
- * @see https://eslint.style/rules/ts/brace-style
8575
+ * @see https://eslint.style/rules/brace-style
8541
8576
  */
8542
8577
  "@stylistic/brace-style"?: Linter.RuleEntry<StylisticBraceStyle>;
8543
8578
  /**
8544
8579
  * Require or disallow trailing commas
8545
- * @see https://eslint.style/rules/ts/comma-dangle
8580
+ * @see https://eslint.style/rules/comma-dangle
8546
8581
  */
8547
8582
  "@stylistic/comma-dangle"?: Linter.RuleEntry<StylisticCommaDangle>;
8548
8583
  /**
8549
8584
  * Enforce consistent spacing before and after commas
8550
- * @see https://eslint.style/rules/ts/comma-spacing
8585
+ * @see https://eslint.style/rules/comma-spacing
8551
8586
  */
8552
8587
  "@stylistic/comma-spacing"?: Linter.RuleEntry<StylisticCommaSpacing>;
8553
8588
  /**
8554
8589
  * Enforce consistent comma style
8555
- * @see https://eslint.style/rules/js/comma-style
8590
+ * @see https://eslint.style/rules/comma-style
8556
8591
  */
8557
8592
  "@stylistic/comma-style"?: Linter.RuleEntry<StylisticCommaStyle>;
8558
8593
  /**
8559
8594
  * Enforce consistent spacing inside computed property brackets
8560
- * @see https://eslint.style/rules/js/computed-property-spacing
8595
+ * @see https://eslint.style/rules/computed-property-spacing
8561
8596
  */
8562
8597
  "@stylistic/computed-property-spacing"?: Linter.RuleEntry<StylisticComputedPropertySpacing>;
8563
8598
  /**
8564
8599
  * Enforce consistent line breaks after opening and before closing braces
8565
- * @see https://eslint.style/rules/plus/curly-newline
8600
+ * @see https://eslint.style/rules/curly-newline
8566
8601
  */
8567
8602
  "@stylistic/curly-newline"?: Linter.RuleEntry<StylisticCurlyNewline>;
8568
8603
  /**
8569
8604
  * Enforce consistent newlines before and after dots
8570
- * @see https://eslint.style/rules/js/dot-location
8605
+ * @see https://eslint.style/rules/dot-location
8571
8606
  */
8572
8607
  "@stylistic/dot-location"?: Linter.RuleEntry<StylisticDotLocation>;
8573
8608
  /**
8574
8609
  * Require or disallow newline at the end of files
8575
- * @see https://eslint.style/rules/js/eol-last
8610
+ * @see https://eslint.style/rules/eol-last
8576
8611
  */
8577
8612
  "@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
8613
  /**
8584
8614
  * Enforce line breaks between arguments of a function call
8585
- * @see https://eslint.style/rules/js/function-call-argument-newline
8615
+ * @see https://eslint.style/rules/function-call-argument-newline
8586
8616
  */
8587
8617
  "@stylistic/function-call-argument-newline"?: Linter.RuleEntry<StylisticFunctionCallArgumentNewline>;
8588
8618
  /**
8589
8619
  * Require or disallow spacing between function identifiers and their invocations
8590
- * @see https://eslint.style/rules/ts/function-call-spacing
8620
+ * @see https://eslint.style/rules/function-call-spacing
8591
8621
  */
8592
8622
  "@stylistic/function-call-spacing"?: Linter.RuleEntry<StylisticFunctionCallSpacing>;
8593
8623
  /**
8594
8624
  * Enforce consistent line breaks inside function parentheses
8595
- * @see https://eslint.style/rules/js/function-paren-newline
8625
+ * @see https://eslint.style/rules/function-paren-newline
8596
8626
  */
8597
8627
  "@stylistic/function-paren-newline"?: Linter.RuleEntry<StylisticFunctionParenNewline>;
8598
8628
  /**
8599
8629
  * Enforce consistent spacing around `*` operators in generator functions
8600
- * @see https://eslint.style/rules/js/generator-star-spacing
8630
+ * @see https://eslint.style/rules/generator-star-spacing
8601
8631
  */
8602
8632
  "@stylistic/generator-star-spacing"?: Linter.RuleEntry<StylisticGeneratorStarSpacing>;
8603
8633
  /**
8604
8634
  * Enforce the location of arrow function bodies
8605
- * @see https://eslint.style/rules/js/implicit-arrow-linebreak
8635
+ * @see https://eslint.style/rules/implicit-arrow-linebreak
8606
8636
  */
8607
8637
  "@stylistic/implicit-arrow-linebreak"?: Linter.RuleEntry<StylisticImplicitArrowLinebreak>;
8608
8638
  /**
8609
8639
  * Enforce consistent indentation
8610
- * @see https://eslint.style/rules/ts/indent
8640
+ * @see https://eslint.style/rules/indent
8611
8641
  */
8612
8642
  "@stylistic/indent"?: Linter.RuleEntry<StylisticIndent>;
8613
8643
  /**
8614
8644
  * Indentation for binary operators
8615
- * @see https://eslint.style/rules/plus/indent-binary-ops
8645
+ * @see https://eslint.style/rules/indent-binary-ops
8616
8646
  */
8617
8647
  "@stylistic/indent-binary-ops"?: Linter.RuleEntry<StylisticIndentBinaryOps>;
8618
8648
  /**
8619
8649
  * Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
8620
- * @see https://eslint.style/rules/jsx/jsx-child-element-spacing
8650
+ * @see https://eslint.style/rules/jsx-child-element-spacing
8621
8651
  */
8622
8652
  "@stylistic/jsx-child-element-spacing"?: Linter.RuleEntry<[]>;
8623
8653
  /**
8624
8654
  * Enforce closing bracket location in JSX
8625
- * @see https://eslint.style/rules/jsx/jsx-closing-bracket-location
8655
+ * @see https://eslint.style/rules/jsx-closing-bracket-location
8626
8656
  */
8627
8657
  "@stylistic/jsx-closing-bracket-location"?: Linter.RuleEntry<StylisticJsxClosingBracketLocation>;
8628
8658
  /**
8629
8659
  * Enforce closing tag location for multiline JSX
8630
- * @see https://eslint.style/rules/jsx/jsx-closing-tag-location
8660
+ * @see https://eslint.style/rules/jsx-closing-tag-location
8631
8661
  */
8632
8662
  "@stylistic/jsx-closing-tag-location"?: Linter.RuleEntry<StylisticJsxClosingTagLocation>;
8633
8663
  /**
8634
8664
  * 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
8665
+ * @see https://eslint.style/rules/jsx-curly-brace-presence
8636
8666
  */
8637
8667
  "@stylistic/jsx-curly-brace-presence"?: Linter.RuleEntry<StylisticJsxCurlyBracePresence>;
8638
8668
  /**
8639
8669
  * Enforce consistent linebreaks in curly braces in JSX attributes and expressions
8640
- * @see https://eslint.style/rules/jsx/jsx-curly-newline
8670
+ * @see https://eslint.style/rules/jsx-curly-newline
8641
8671
  */
8642
8672
  "@stylistic/jsx-curly-newline"?: Linter.RuleEntry<StylisticJsxCurlyNewline>;
8643
8673
  /**
8644
8674
  * Enforce or disallow spaces inside of curly braces in JSX attributes and expressions
8645
- * @see https://eslint.style/rules/jsx/jsx-curly-spacing
8675
+ * @see https://eslint.style/rules/jsx-curly-spacing
8646
8676
  */
8647
8677
  "@stylistic/jsx-curly-spacing"?: Linter.RuleEntry<StylisticJsxCurlySpacing>;
8648
8678
  /**
8649
8679
  * Enforce or disallow spaces around equal signs in JSX attributes
8650
- * @see https://eslint.style/rules/jsx/jsx-equals-spacing
8680
+ * @see https://eslint.style/rules/jsx-equals-spacing
8651
8681
  */
8652
8682
  "@stylistic/jsx-equals-spacing"?: Linter.RuleEntry<StylisticJsxEqualsSpacing>;
8653
8683
  /**
8654
8684
  * Enforce proper position of the first property in JSX
8655
- * @see https://eslint.style/rules/jsx/jsx-first-prop-new-line
8685
+ * @see https://eslint.style/rules/jsx-first-prop-new-line
8656
8686
  */
8657
8687
  "@stylistic/jsx-first-prop-new-line"?: Linter.RuleEntry<StylisticJsxFirstPropNewLine>;
8658
8688
  /**
8659
8689
  * 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
8690
+ * @see https://eslint.style/rules/jsx-function-call-newline
8661
8691
  */
8662
8692
  "@stylistic/jsx-function-call-newline"?: Linter.RuleEntry<StylisticJsxFunctionCallNewline>;
8663
8693
  /**
8664
8694
  * Enforce JSX indentation. Deprecated, use `indent` rule instead.
8665
- * @see https://eslint.style/rules/jsx/jsx-indent
8695
+ * @see https://eslint.style/rules/jsx-indent
8666
8696
  * @deprecated
8667
8697
  */
8668
8698
  "@stylistic/jsx-indent"?: Linter.RuleEntry<StylisticJsxIndent>;
8669
8699
  /**
8670
8700
  * Enforce props indentation in JSX
8671
- * @see https://eslint.style/rules/jsx/jsx-indent-props
8701
+ * @see https://eslint.style/rules/jsx-indent-props
8672
8702
  */
8673
8703
  "@stylistic/jsx-indent-props"?: Linter.RuleEntry<StylisticJsxIndentProps>;
8674
8704
  /**
8675
8705
  * Enforce maximum of props on a single line in JSX
8676
- * @see https://eslint.style/rules/jsx/jsx-max-props-per-line
8706
+ * @see https://eslint.style/rules/jsx-max-props-per-line
8677
8707
  */
8678
8708
  "@stylistic/jsx-max-props-per-line"?: Linter.RuleEntry<StylisticJsxMaxPropsPerLine>;
8679
8709
  /**
8680
8710
  * Require or prevent a new line after jsx elements and expressions.
8681
- * @see https://eslint.style/rules/jsx/jsx-newline
8711
+ * @see https://eslint.style/rules/jsx-newline
8682
8712
  */
8683
8713
  "@stylistic/jsx-newline"?: Linter.RuleEntry<StylisticJsxNewline>;
8684
8714
  /**
8685
8715
  * Require one JSX element per line
8686
- * @see https://eslint.style/rules/jsx/jsx-one-expression-per-line
8716
+ * @see https://eslint.style/rules/jsx-one-expression-per-line
8687
8717
  */
8688
8718
  "@stylistic/jsx-one-expression-per-line"?: Linter.RuleEntry<StylisticJsxOneExpressionPerLine>;
8689
8719
  /**
8690
8720
  * Enforce PascalCase for user-defined JSX components
8691
- * @see https://eslint.style/rules/jsx/jsx-pascal-case
8721
+ * @see https://eslint.style/rules/jsx-pascal-case
8692
8722
  */
8693
8723
  "@stylistic/jsx-pascal-case"?: Linter.RuleEntry<StylisticJsxPascalCase>;
8694
8724
  /**
8695
8725
  * Disallow multiple spaces between inline JSX props
8696
- * @see https://eslint.style/rules/jsx/jsx-props-no-multi-spaces
8726
+ * @see https://eslint.style/rules/jsx-props-no-multi-spaces
8697
8727
  */
8698
8728
  "@stylistic/jsx-props-no-multi-spaces"?: Linter.RuleEntry<[]>;
8699
8729
  /**
8700
8730
  * Enforce the consistent use of either double or single quotes in JSX attributes
8701
- * @see https://eslint.style/rules/js/jsx-quotes
8731
+ * @see https://eslint.style/rules/jsx-quotes
8702
8732
  */
8703
8733
  "@stylistic/jsx-quotes"?: Linter.RuleEntry<StylisticJsxQuotes>;
8704
8734
  /**
8705
8735
  * Disallow extra closing tags for components without children
8706
- * @see https://eslint.style/rules/jsx/jsx-self-closing-comp
8736
+ * @see https://eslint.style/rules/jsx-self-closing-comp
8707
8737
  */
8708
8738
  "@stylistic/jsx-self-closing-comp"?: Linter.RuleEntry<StylisticJsxSelfClosingComp>;
8709
8739
  /**
8710
8740
  * Enforce props alphabetical sorting
8711
- * @see https://eslint.style/rules/jsx/jsx-sort-props
8741
+ * @see https://eslint.style/rules/jsx-sort-props
8712
8742
  */
8713
8743
  "@stylistic/jsx-sort-props"?: Linter.RuleEntry<StylisticJsxSortProps>;
8714
8744
  /**
8715
8745
  * Enforce whitespace in and around the JSX opening and closing brackets
8716
- * @see https://eslint.style/rules/jsx/jsx-tag-spacing
8746
+ * @see https://eslint.style/rules/jsx-tag-spacing
8717
8747
  */
8718
8748
  "@stylistic/jsx-tag-spacing"?: Linter.RuleEntry<StylisticJsxTagSpacing>;
8719
8749
  /**
8720
8750
  * Disallow missing parentheses around multiline JSX
8721
- * @see https://eslint.style/rules/jsx/jsx-wrap-multilines
8751
+ * @see https://eslint.style/rules/jsx-wrap-multilines
8722
8752
  */
8723
8753
  "@stylistic/jsx-wrap-multilines"?: Linter.RuleEntry<StylisticJsxWrapMultilines>;
8724
8754
  /**
8725
8755
  * Enforce consistent spacing between property names and type annotations in types and interfaces
8726
- * @see https://eslint.style/rules/ts/key-spacing
8756
+ * @see https://eslint.style/rules/key-spacing
8727
8757
  */
8728
8758
  "@stylistic/key-spacing"?: Linter.RuleEntry<StylisticKeySpacing>;
8729
8759
  /**
8730
8760
  * Enforce consistent spacing before and after keywords
8731
- * @see https://eslint.style/rules/ts/keyword-spacing
8761
+ * @see https://eslint.style/rules/keyword-spacing
8732
8762
  */
8733
8763
  "@stylistic/keyword-spacing"?: Linter.RuleEntry<StylisticKeywordSpacing>;
8734
8764
  /**
8735
8765
  * Enforce position of line comments
8736
- * @see https://eslint.style/rules/js/line-comment-position
8766
+ * @see https://eslint.style/rules/line-comment-position
8737
8767
  */
8738
8768
  "@stylistic/line-comment-position"?: Linter.RuleEntry<StylisticLineCommentPosition>;
8739
8769
  /**
8740
8770
  * Enforce consistent linebreak style
8741
- * @see https://eslint.style/rules/js/linebreak-style
8771
+ * @see https://eslint.style/rules/linebreak-style
8742
8772
  */
8743
8773
  "@stylistic/linebreak-style"?: Linter.RuleEntry<StylisticLinebreakStyle>;
8744
8774
  /**
8745
8775
  * Require empty lines around comments
8746
- * @see https://eslint.style/rules/ts/lines-around-comment
8776
+ * @see https://eslint.style/rules/lines-around-comment
8747
8777
  */
8748
8778
  "@stylistic/lines-around-comment"?: Linter.RuleEntry<StylisticLinesAroundComment>;
8749
8779
  /**
8750
8780
  * Require or disallow an empty line between class members
8751
- * @see https://eslint.style/rules/ts/lines-between-class-members
8781
+ * @see https://eslint.style/rules/lines-between-class-members
8752
8782
  */
8753
8783
  "@stylistic/lines-between-class-members"?: Linter.RuleEntry<StylisticLinesBetweenClassMembers>;
8754
8784
  /**
8755
8785
  * Enforce a maximum line length
8756
- * @see https://eslint.style/rules/js/max-len
8786
+ * @see https://eslint.style/rules/max-len
8757
8787
  */
8758
8788
  "@stylistic/max-len"?: Linter.RuleEntry<StylisticMaxLen>;
8759
8789
  /**
8760
8790
  * Enforce a maximum number of statements allowed per line
8761
- * @see https://eslint.style/rules/js/max-statements-per-line
8791
+ * @see https://eslint.style/rules/max-statements-per-line
8762
8792
  */
8763
8793
  "@stylistic/max-statements-per-line"?: Linter.RuleEntry<StylisticMaxStatementsPerLine>;
8764
8794
  /**
8765
8795
  * Require a specific member delimiter style for interfaces and type literals
8766
- * @see https://eslint.style/rules/ts/member-delimiter-style
8796
+ * @see https://eslint.style/rules/member-delimiter-style
8767
8797
  */
8768
8798
  "@stylistic/member-delimiter-style"?: Linter.RuleEntry<StylisticMemberDelimiterStyle>;
8769
8799
  /**
8770
8800
  * Enforce a particular style for multiline comments
8771
- * @see https://eslint.style/rules/js/multiline-comment-style
8801
+ * @see https://eslint.style/rules/multiline-comment-style
8772
8802
  */
8773
8803
  "@stylistic/multiline-comment-style"?: Linter.RuleEntry<StylisticMultilineCommentStyle>;
8774
8804
  /**
8775
8805
  * Enforce newlines between operands of ternary expressions
8776
- * @see https://eslint.style/rules/js/multiline-ternary
8806
+ * @see https://eslint.style/rules/multiline-ternary
8777
8807
  */
8778
8808
  "@stylistic/multiline-ternary"?: Linter.RuleEntry<StylisticMultilineTernary>;
8779
8809
  /**
8780
8810
  * Enforce or disallow parentheses when invoking a constructor with no arguments
8781
- * @see https://eslint.style/rules/js/new-parens
8811
+ * @see https://eslint.style/rules/new-parens
8782
8812
  */
8783
8813
  "@stylistic/new-parens"?: Linter.RuleEntry<StylisticNewParens>;
8784
8814
  /**
8785
8815
  * Require a newline after each call in a method chain
8786
- * @see https://eslint.style/rules/js/newline-per-chained-call
8816
+ * @see https://eslint.style/rules/newline-per-chained-call
8787
8817
  */
8788
8818
  "@stylistic/newline-per-chained-call"?: Linter.RuleEntry<StylisticNewlinePerChainedCall>;
8789
8819
  /**
8790
8820
  * Disallow arrow functions where they could be confused with comparisons
8791
- * @see https://eslint.style/rules/js/no-confusing-arrow
8821
+ * @see https://eslint.style/rules/no-confusing-arrow
8792
8822
  */
8793
8823
  "@stylistic/no-confusing-arrow"?: Linter.RuleEntry<StylisticNoConfusingArrow>;
8794
8824
  /**
8795
8825
  * Disallow unnecessary parentheses
8796
- * @see https://eslint.style/rules/ts/no-extra-parens
8826
+ * @see https://eslint.style/rules/no-extra-parens
8797
8827
  */
8798
8828
  "@stylistic/no-extra-parens"?: Linter.RuleEntry<StylisticNoExtraParens>;
8799
8829
  /**
8800
8830
  * Disallow unnecessary semicolons
8801
- * @see https://eslint.style/rules/ts/no-extra-semi
8831
+ * @see https://eslint.style/rules/no-extra-semi
8802
8832
  */
8803
8833
  "@stylistic/no-extra-semi"?: Linter.RuleEntry<[]>;
8804
8834
  /**
8805
8835
  * Disallow leading or trailing decimal points in numeric literals
8806
- * @see https://eslint.style/rules/js/no-floating-decimal
8836
+ * @see https://eslint.style/rules/no-floating-decimal
8807
8837
  */
8808
8838
  "@stylistic/no-floating-decimal"?: Linter.RuleEntry<[]>;
8809
8839
  /**
8810
8840
  * Disallow mixed binary operators
8811
- * @see https://eslint.style/rules/js/no-mixed-operators
8841
+ * @see https://eslint.style/rules/no-mixed-operators
8812
8842
  */
8813
8843
  "@stylistic/no-mixed-operators"?: Linter.RuleEntry<StylisticNoMixedOperators>;
8814
8844
  /**
8815
8845
  * Disallow mixed spaces and tabs for indentation
8816
- * @see https://eslint.style/rules/js/no-mixed-spaces-and-tabs
8846
+ * @see https://eslint.style/rules/no-mixed-spaces-and-tabs
8817
8847
  */
8818
8848
  "@stylistic/no-mixed-spaces-and-tabs"?: Linter.RuleEntry<StylisticNoMixedSpacesAndTabs>;
8819
8849
  /**
8820
8850
  * Disallow multiple spaces
8821
- * @see https://eslint.style/rules/js/no-multi-spaces
8851
+ * @see https://eslint.style/rules/no-multi-spaces
8822
8852
  */
8823
8853
  "@stylistic/no-multi-spaces"?: Linter.RuleEntry<StylisticNoMultiSpaces>;
8824
8854
  /**
8825
8855
  * Disallow multiple empty lines
8826
- * @see https://eslint.style/rules/js/no-multiple-empty-lines
8856
+ * @see https://eslint.style/rules/no-multiple-empty-lines
8827
8857
  */
8828
8858
  "@stylistic/no-multiple-empty-lines"?: Linter.RuleEntry<StylisticNoMultipleEmptyLines>;
8829
8859
  /**
8830
8860
  * Disallow all tabs
8831
- * @see https://eslint.style/rules/js/no-tabs
8861
+ * @see https://eslint.style/rules/no-tabs
8832
8862
  */
8833
8863
  "@stylistic/no-tabs"?: Linter.RuleEntry<StylisticNoTabs>;
8834
8864
  /**
8835
8865
  * Disallow trailing whitespace at the end of lines
8836
- * @see https://eslint.style/rules/js/no-trailing-spaces
8866
+ * @see https://eslint.style/rules/no-trailing-spaces
8837
8867
  */
8838
8868
  "@stylistic/no-trailing-spaces"?: Linter.RuleEntry<StylisticNoTrailingSpaces>;
8839
8869
  /**
8840
8870
  * Disallow whitespace before properties
8841
- * @see https://eslint.style/rules/js/no-whitespace-before-property
8871
+ * @see https://eslint.style/rules/no-whitespace-before-property
8842
8872
  */
8843
8873
  "@stylistic/no-whitespace-before-property"?: Linter.RuleEntry<[]>;
8844
8874
  /**
8845
8875
  * Enforce the location of single-line statements
8846
- * @see https://eslint.style/rules/js/nonblock-statement-body-position
8876
+ * @see https://eslint.style/rules/nonblock-statement-body-position
8847
8877
  */
8848
8878
  "@stylistic/nonblock-statement-body-position"?: Linter.RuleEntry<StylisticNonblockStatementBodyPosition>;
8849
8879
  /**
8850
8880
  * Enforce consistent line breaks after opening and before closing braces
8851
- * @see https://eslint.style/rules/ts/object-curly-newline
8881
+ * @see https://eslint.style/rules/object-curly-newline
8852
8882
  */
8853
8883
  "@stylistic/object-curly-newline"?: Linter.RuleEntry<StylisticObjectCurlyNewline>;
8854
8884
  /**
8855
8885
  * Enforce consistent spacing inside braces
8856
- * @see https://eslint.style/rules/ts/object-curly-spacing
8886
+ * @see https://eslint.style/rules/object-curly-spacing
8857
8887
  */
8858
8888
  "@stylistic/object-curly-spacing"?: Linter.RuleEntry<StylisticObjectCurlySpacing>;
8859
8889
  /**
8860
8890
  * Enforce placing object properties on separate lines
8861
- * @see https://eslint.style/rules/ts/object-property-newline
8891
+ * @see https://eslint.style/rules/object-property-newline
8862
8892
  */
8863
8893
  "@stylistic/object-property-newline"?: Linter.RuleEntry<StylisticObjectPropertyNewline>;
8864
8894
  /**
8865
8895
  * Require or disallow newlines around variable declarations
8866
- * @see https://eslint.style/rules/js/one-var-declaration-per-line
8896
+ * @see https://eslint.style/rules/one-var-declaration-per-line
8867
8897
  */
8868
8898
  "@stylistic/one-var-declaration-per-line"?: Linter.RuleEntry<StylisticOneVarDeclarationPerLine>;
8869
8899
  /**
8870
8900
  * Enforce consistent linebreak style for operators
8871
- * @see https://eslint.style/rules/js/operator-linebreak
8901
+ * @see https://eslint.style/rules/operator-linebreak
8872
8902
  */
8873
8903
  "@stylistic/operator-linebreak"?: Linter.RuleEntry<StylisticOperatorLinebreak>;
8874
8904
  /**
8875
8905
  * Require or disallow padding within blocks
8876
- * @see https://eslint.style/rules/js/padded-blocks
8906
+ * @see https://eslint.style/rules/padded-blocks
8877
8907
  */
8878
8908
  "@stylistic/padded-blocks"?: Linter.RuleEntry<StylisticPaddedBlocks>;
8879
8909
  /**
8880
8910
  * Require or disallow padding lines between statements
8881
- * @see https://eslint.style/rules/ts/padding-line-between-statements
8911
+ * @see https://eslint.style/rules/padding-line-between-statements
8882
8912
  */
8883
8913
  "@stylistic/padding-line-between-statements"?: Linter.RuleEntry<StylisticPaddingLineBetweenStatements>;
8884
8914
  /**
8885
8915
  * Require quotes around object literal, type literal, interfaces and enums property names
8886
- * @see https://eslint.style/rules/ts/quote-props
8916
+ * @see https://eslint.style/rules/quote-props
8887
8917
  */
8888
8918
  "@stylistic/quote-props"?: Linter.RuleEntry<StylisticQuoteProps>;
8889
8919
  /**
8890
8920
  * Enforce the consistent use of either backticks, double, or single quotes
8891
- * @see https://eslint.style/rules/ts/quotes
8921
+ * @see https://eslint.style/rules/quotes
8892
8922
  */
8893
8923
  "@stylistic/quotes"?: Linter.RuleEntry<StylisticQuotes>;
8894
8924
  /**
8895
8925
  * Enforce spacing between rest and spread operators and their expressions
8896
- * @see https://eslint.style/rules/js/rest-spread-spacing
8926
+ * @see https://eslint.style/rules/rest-spread-spacing
8897
8927
  */
8898
8928
  "@stylistic/rest-spread-spacing"?: Linter.RuleEntry<StylisticRestSpreadSpacing>;
8899
8929
  /**
8900
8930
  * Require or disallow semicolons instead of ASI
8901
- * @see https://eslint.style/rules/ts/semi
8931
+ * @see https://eslint.style/rules/semi
8902
8932
  */
8903
8933
  "@stylistic/semi"?: Linter.RuleEntry<StylisticSemi>;
8904
8934
  /**
8905
8935
  * Enforce consistent spacing before and after semicolons
8906
- * @see https://eslint.style/rules/ts/semi-spacing
8936
+ * @see https://eslint.style/rules/semi-spacing
8907
8937
  */
8908
8938
  "@stylistic/semi-spacing"?: Linter.RuleEntry<StylisticSemiSpacing>;
8909
8939
  /**
8910
8940
  * Enforce location of semicolons
8911
- * @see https://eslint.style/rules/js/semi-style
8941
+ * @see https://eslint.style/rules/semi-style
8912
8942
  */
8913
8943
  "@stylistic/semi-style"?: Linter.RuleEntry<StylisticSemiStyle>;
8914
8944
  /**
8915
8945
  * Enforce consistent spacing before blocks
8916
- * @see https://eslint.style/rules/ts/space-before-blocks
8946
+ * @see https://eslint.style/rules/space-before-blocks
8917
8947
  */
8918
8948
  "@stylistic/space-before-blocks"?: Linter.RuleEntry<StylisticSpaceBeforeBlocks>;
8919
8949
  /**
8920
8950
  * Enforce consistent spacing before function parenthesis
8921
- * @see https://eslint.style/rules/ts/space-before-function-paren
8951
+ * @see https://eslint.style/rules/space-before-function-paren
8922
8952
  */
8923
8953
  "@stylistic/space-before-function-paren"?: Linter.RuleEntry<StylisticSpaceBeforeFunctionParen>;
8924
8954
  /**
8925
8955
  * Enforce consistent spacing inside parentheses
8926
- * @see https://eslint.style/rules/js/space-in-parens
8956
+ * @see https://eslint.style/rules/space-in-parens
8927
8957
  */
8928
8958
  "@stylistic/space-in-parens"?: Linter.RuleEntry<StylisticSpaceInParens>;
8929
8959
  /**
8930
8960
  * Require spacing around infix operators
8931
- * @see https://eslint.style/rules/ts/space-infix-ops
8961
+ * @see https://eslint.style/rules/space-infix-ops
8932
8962
  */
8933
8963
  "@stylistic/space-infix-ops"?: Linter.RuleEntry<StylisticSpaceInfixOps>;
8934
8964
  /**
8935
8965
  * Enforce consistent spacing before or after unary operators
8936
- * @see https://eslint.style/rules/js/space-unary-ops
8966
+ * @see https://eslint.style/rules/space-unary-ops
8937
8967
  */
8938
8968
  "@stylistic/space-unary-ops"?: Linter.RuleEntry<StylisticSpaceUnaryOps>;
8939
8969
  /**
8940
8970
  * Enforce consistent spacing after the `//` or `/*` in a comment
8941
- * @see https://eslint.style/rules/js/spaced-comment
8971
+ * @see https://eslint.style/rules/spaced-comment
8942
8972
  */
8943
8973
  "@stylistic/spaced-comment"?: Linter.RuleEntry<StylisticSpacedComment>;
8944
8974
  /**
8945
8975
  * Enforce spacing around colons of switch statements
8946
- * @see https://eslint.style/rules/js/switch-colon-spacing
8976
+ * @see https://eslint.style/rules/switch-colon-spacing
8947
8977
  */
8948
8978
  "@stylistic/switch-colon-spacing"?: Linter.RuleEntry<StylisticSwitchColonSpacing>;
8949
8979
  /**
8950
8980
  * Require or disallow spacing around embedded expressions of template strings
8951
- * @see https://eslint.style/rules/js/template-curly-spacing
8981
+ * @see https://eslint.style/rules/template-curly-spacing
8952
8982
  */
8953
8983
  "@stylistic/template-curly-spacing"?: Linter.RuleEntry<StylisticTemplateCurlySpacing>;
8954
8984
  /**
8955
8985
  * Require or disallow spacing between template tags and their literals
8956
- * @see https://eslint.style/rules/js/template-tag-spacing
8986
+ * @see https://eslint.style/rules/template-tag-spacing
8957
8987
  */
8958
8988
  "@stylistic/template-tag-spacing"?: Linter.RuleEntry<StylisticTemplateTagSpacing>;
8959
8989
  /**
8960
8990
  * Require consistent spacing around type annotations
8961
- * @see https://eslint.style/rules/ts/type-annotation-spacing
8991
+ * @see https://eslint.style/rules/type-annotation-spacing
8962
8992
  */
8963
8993
  "@stylistic/type-annotation-spacing"?: Linter.RuleEntry<StylisticTypeAnnotationSpacing>;
8964
8994
  /**
8965
8995
  * Enforces consistent spacing inside TypeScript type generics
8966
- * @see https://eslint.style/rules/plus/type-generic-spacing
8996
+ * @see https://eslint.style/rules/type-generic-spacing
8967
8997
  */
8968
8998
  "@stylistic/type-generic-spacing"?: Linter.RuleEntry<[]>;
8969
8999
  /**
8970
9000
  * Expect space before the type declaration in the named tuple
8971
- * @see https://eslint.style/rules/plus/type-named-tuple-spacing
9001
+ * @see https://eslint.style/rules/type-named-tuple-spacing
8972
9002
  */
8973
9003
  "@stylistic/type-named-tuple-spacing"?: Linter.RuleEntry<[]>;
8974
9004
  /**
8975
9005
  * Require parentheses around immediate `function` invocations
8976
- * @see https://eslint.style/rules/js/wrap-iife
9006
+ * @see https://eslint.style/rules/wrap-iife
8977
9007
  */
8978
9008
  "@stylistic/wrap-iife"?: Linter.RuleEntry<StylisticWrapIife>;
8979
9009
  /**
8980
9010
  * Require parenthesis around regex literals
8981
- * @see https://eslint.style/rules/js/wrap-regex
9011
+ * @see https://eslint.style/rules/wrap-regex
8982
9012
  */
8983
9013
  "@stylistic/wrap-regex"?: Linter.RuleEntry<[]>;
8984
9014
  /**
8985
9015
  * Require or disallow spacing around the `*` in `yield*` expressions
8986
- * @see https://eslint.style/rules/js/yield-star-spacing
9016
+ * @see https://eslint.style/rules/yield-star-spacing
8987
9017
  */
8988
9018
  "@stylistic/yield-star-spacing"?: Linter.RuleEntry<StylisticYieldStarSpacing>;
8989
9019
  }
@@ -9157,16 +9187,6 @@ type StylisticCurlyNewline = [] | [("always" | "never") | {
9157
9187
  minElements?: number;
9158
9188
  consistent?: boolean;
9159
9189
  };
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
9190
  TSModuleBlock?: ("always" | "never") | {
9171
9191
  multiline?: boolean;
9172
9192
  minElements?: number;
@@ -9180,14 +9200,6 @@ type StylisticCurlyNewline = [] | [("always" | "never") | {
9180
9200
  type StylisticDotLocation = [] | ["object" | "property"];
9181
9201
  // ----- @stylistic/eol-last -----
9182
9202
  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
9203
  // ----- @stylistic/function-call-argument-newline -----
9192
9204
  type StylisticFunctionCallArgumentNewline = [] | ["always" | "never" | "consistent"];
9193
9205
  // ----- @stylistic/function-call-spacing -----
@@ -9228,6 +9240,7 @@ type StylisticIndent = [] | ["tab" | number] | ["tab" | number, {
9228
9240
  var?: number | ("first" | "off");
9229
9241
  let?: number | ("first" | "off");
9230
9242
  const?: number | ("first" | "off");
9243
+ using?: number | ("first" | "off");
9231
9244
  };
9232
9245
  outerIIFEBody?: number | "off";
9233
9246
  MemberExpression?: number | "off";
@@ -9362,8 +9375,8 @@ type StylisticJsxSortProps = [] | [{
9362
9375
  multiline?: "ignore" | "first" | "last";
9363
9376
  ignoreCase?: boolean;
9364
9377
  noSortAlphabetically?: boolean;
9365
- reservedFirst?: unknown[] | boolean;
9366
- reservedLast?: unknown[];
9378
+ reservedFirst?: string[] | boolean;
9379
+ reservedLast?: string[];
9367
9380
  locale?: string;
9368
9381
  }];
9369
9382
  // ----- @stylistic/jsx-tag-spacing -----
@@ -9708,6 +9721,10 @@ type StylisticKeywordSpacing = [] | [{
9708
9721
  before?: boolean;
9709
9722
  after?: boolean;
9710
9723
  };
9724
+ using?: {
9725
+ before?: boolean;
9726
+ after?: boolean;
9727
+ };
9711
9728
  yield?: {
9712
9729
  before?: boolean;
9713
9730
  after?: boolean;
@@ -9910,6 +9927,11 @@ type StylisticNoExtraParens = [] | ["functions"] | [] | ["all"] | ["all", {
9910
9927
  enforceForFunctionPrototypeMethods?: boolean;
9911
9928
  allowParensAfterCommentPattern?: string;
9912
9929
  nestedConditionalExpressions?: boolean;
9930
+ allowNodesInSpreadElement?: {
9931
+ ConditionalExpression?: boolean;
9932
+ LogicalExpression?: boolean;
9933
+ AwaitExpression?: boolean;
9934
+ };
9913
9935
  }];
9914
9936
  // ----- @stylistic/no-mixed-operators -----
9915
9937
  type StylisticNoMixedOperators = [] | [{
@@ -9987,6 +10009,11 @@ type StylisticObjectCurlyNewline = [] | [(("always" | "never") | {
9987
10009
  minProperties?: number;
9988
10010
  consistent?: boolean;
9989
10011
  };
10012
+ TSEnumBody?: ("always" | "never") | {
10013
+ multiline?: boolean;
10014
+ minProperties?: number;
10015
+ consistent?: boolean;
10016
+ };
9990
10017
  }];
9991
10018
  // ----- @stylistic/object-curly-spacing -----
9992
10019
  type StylisticObjectCurlySpacing = [] | ["always" | "never"] | ["always" | "never", {
@@ -9996,7 +10023,6 @@ type StylisticObjectCurlySpacing = [] | ["always" | "never"] | ["always" | "neve
9996
10023
  // ----- @stylistic/object-property-newline -----
9997
10024
  type StylisticObjectPropertyNewline = [] | [{
9998
10025
  allowAllPropertiesOnSameLine?: boolean;
9999
- allowMultiplePropertiesPerLine?: boolean;
10000
10026
  }];
10001
10027
  // ----- @stylistic/one-var-declaration-per-line -----
10002
10028
  type StylisticOneVarDeclarationPerLine = [] | ["always" | "initializations"];
@@ -10020,7 +10046,7 @@ type StylisticPaddedBlocks = [] | [("always" | "never" | "start" | "end") | {
10020
10046
  }];
10021
10047
  // ----- @stylistic/padding-line-between-statements -----
10022
10048
  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")[]];
10049
+ 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
10050
  type StylisticPaddingLineBetweenStatements = {
10025
10051
  blankLine: _StylisticPaddingLineBetweenStatementsPaddingType;
10026
10052
  prev: _StylisticPaddingLineBetweenStatementsStatementType;
@@ -10059,12 +10085,14 @@ type StylisticSpaceBeforeBlocks = [] | [("always" | "never") | {
10059
10085
  keywords?: "always" | "never" | "off";
10060
10086
  functions?: "always" | "never" | "off";
10061
10087
  classes?: "always" | "never" | "off";
10088
+ modules?: "always" | "never" | "off";
10062
10089
  }];
10063
10090
  // ----- @stylistic/space-before-function-paren -----
10064
10091
  type StylisticSpaceBeforeFunctionParen = [] | [("always" | "never") | {
10065
10092
  anonymous?: "always" | "never" | "ignore";
10066
10093
  named?: "always" | "never" | "ignore";
10067
10094
  asyncArrow?: "always" | "never" | "ignore";
10095
+ catch?: "always" | "never" | "ignore";
10068
10096
  }];
10069
10097
  // ----- @stylistic/space-in-parens -----
10070
10098
  type StylisticSpaceInParens = [] | ["always" | "never"] | ["always" | "never", {
@@ -11051,233 +11079,238 @@ interface TypescriptRuleOptions {
11051
11079
  "@typescript-eslint/use-unknown-in-catch-callback-variable"?: Linter.RuleEntry<[]>;
11052
11080
  /**
11053
11081
  * 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.1/docs/rules/consistent-type-specifier-style.md
11082
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/consistent-type-specifier-style.md
11055
11083
  */
11056
11084
  "import/consistent-type-specifier-style"?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
11057
11085
  /**
11058
11086
  * Ensure a default export is present, given a default import.
11059
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/default.md
11087
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/default.md
11060
11088
  */
11061
11089
  "import/default"?: Linter.RuleEntry<[]>;
11062
11090
  /**
11063
11091
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
11064
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/dynamic-import-chunkname.md
11092
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/dynamic-import-chunkname.md
11065
11093
  */
11066
11094
  "import/dynamic-import-chunkname"?: Linter.RuleEntry<ImportDynamicImportChunkname>;
11067
11095
  /**
11068
11096
  * 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.1/docs/rules/export.md
11097
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/export.md
11070
11098
  */
11071
11099
  "import/export"?: Linter.RuleEntry<[]>;
11072
11100
  /**
11073
11101
  * Ensure all exports appear after other statements.
11074
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/exports-last.md
11102
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/exports-last.md
11075
11103
  */
11076
11104
  "import/exports-last"?: Linter.RuleEntry<[]>;
11077
11105
  /**
11078
11106
  * Ensure consistent use of file extension within the import path.
11079
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/extensions.md
11107
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/extensions.md
11080
11108
  */
11081
11109
  "import/extensions"?: Linter.RuleEntry<ImportExtensions>;
11082
11110
  /**
11083
11111
  * Ensure all imports appear before other statements.
11084
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/first.md
11112
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/first.md
11085
11113
  */
11086
11114
  "import/first"?: Linter.RuleEntry<ImportFirst>;
11087
11115
  /**
11088
11116
  * 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.1/docs/rules/group-exports.md
11117
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/group-exports.md
11090
11118
  */
11091
11119
  "import/group-exports"?: Linter.RuleEntry<[]>;
11092
11120
  /**
11093
11121
  * Replaced by `import-x/first`.
11094
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/imports-first.md
11122
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/imports-first.md
11095
11123
  * @deprecated
11096
11124
  */
11097
11125
  "import/imports-first"?: Linter.RuleEntry<ImportImportsFirst>;
11098
11126
  /**
11099
11127
  * Enforce the maximum number of dependencies a module can have.
11100
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/max-dependencies.md
11128
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/max-dependencies.md
11101
11129
  */
11102
11130
  "import/max-dependencies"?: Linter.RuleEntry<ImportMaxDependencies>;
11103
11131
  /**
11104
11132
  * 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.1/docs/rules/named.md
11133
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/named.md
11106
11134
  */
11107
11135
  "import/named"?: Linter.RuleEntry<ImportNamed>;
11108
11136
  /**
11109
11137
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
11110
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/namespace.md
11138
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/namespace.md
11111
11139
  */
11112
11140
  "import/namespace"?: Linter.RuleEntry<ImportNamespace>;
11113
11141
  /**
11114
11142
  * Enforce a newline after import statements.
11115
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/newline-after-import.md
11143
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/newline-after-import.md
11116
11144
  */
11117
11145
  "import/newline-after-import"?: Linter.RuleEntry<ImportNewlineAfterImport>;
11118
11146
  /**
11119
11147
  * Forbid import of modules using absolute paths.
11120
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-absolute-path.md
11148
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-absolute-path.md
11121
11149
  */
11122
11150
  "import/no-absolute-path"?: Linter.RuleEntry<ImportNoAbsolutePath>;
11123
11151
  /**
11124
11152
  * Forbid AMD `require` and `define` calls.
11125
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-amd.md
11153
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-amd.md
11126
11154
  */
11127
11155
  "import/no-amd"?: Linter.RuleEntry<[]>;
11128
11156
  /**
11129
11157
  * Forbid anonymous values as default exports.
11130
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-anonymous-default-export.md
11158
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-anonymous-default-export.md
11131
11159
  */
11132
11160
  "import/no-anonymous-default-export"?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
11133
11161
  /**
11134
11162
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
11135
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-commonjs.md
11163
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-commonjs.md
11136
11164
  */
11137
11165
  "import/no-commonjs"?: Linter.RuleEntry<ImportNoCommonjs>;
11138
11166
  /**
11139
11167
  * 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.1/docs/rules/no-cycle.md
11168
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-cycle.md
11141
11169
  */
11142
11170
  "import/no-cycle"?: Linter.RuleEntry<ImportNoCycle>;
11143
11171
  /**
11144
11172
  * Forbid default exports.
11145
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-default-export.md
11173
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-default-export.md
11146
11174
  */
11147
11175
  "import/no-default-export"?: Linter.RuleEntry<[]>;
11148
11176
  /**
11149
11177
  * Forbid imported names marked with `@deprecated` documentation tag.
11150
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-deprecated.md
11178
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-deprecated.md
11151
11179
  */
11152
11180
  "import/no-deprecated"?: Linter.RuleEntry<[]>;
11153
11181
  /**
11154
11182
  * Forbid repeated import of the same module in multiple places.
11155
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-duplicates.md
11183
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-duplicates.md
11156
11184
  */
11157
11185
  "import/no-duplicates"?: Linter.RuleEntry<ImportNoDuplicates>;
11158
11186
  /**
11159
11187
  * Forbid `require()` calls with expressions.
11160
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-dynamic-require.md
11188
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-dynamic-require.md
11161
11189
  */
11162
11190
  "import/no-dynamic-require"?: Linter.RuleEntry<ImportNoDynamicRequire>;
11163
11191
  /**
11164
11192
  * Forbid empty named import blocks.
11165
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-empty-named-blocks.md
11193
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-empty-named-blocks.md
11166
11194
  */
11167
11195
  "import/no-empty-named-blocks"?: Linter.RuleEntry<[]>;
11168
11196
  /**
11169
11197
  * Forbid the use of extraneous packages.
11170
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-extraneous-dependencies.md
11198
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-extraneous-dependencies.md
11171
11199
  */
11172
11200
  "import/no-extraneous-dependencies"?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
11173
11201
  /**
11174
11202
  * Forbid import statements with CommonJS module.exports.
11175
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-import-module-exports.md
11203
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-import-module-exports.md
11176
11204
  */
11177
11205
  "import/no-import-module-exports"?: Linter.RuleEntry<ImportNoImportModuleExports>;
11178
11206
  /**
11179
11207
  * Forbid importing the submodules of other modules.
11180
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-internal-modules.md
11208
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-internal-modules.md
11181
11209
  */
11182
11210
  "import/no-internal-modules"?: Linter.RuleEntry<ImportNoInternalModules>;
11183
11211
  /**
11184
11212
  * Forbid the use of mutable exports with `var` or `let`.
11185
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-mutable-exports.md
11213
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-mutable-exports.md
11186
11214
  */
11187
11215
  "import/no-mutable-exports"?: Linter.RuleEntry<[]>;
11188
11216
  /**
11189
11217
  * Forbid use of exported name as identifier of default export.
11190
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-named-as-default.md
11218
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default.md
11191
11219
  */
11192
11220
  "import/no-named-as-default"?: Linter.RuleEntry<[]>;
11193
11221
  /**
11194
11222
  * Forbid use of exported name as property of default export.
11195
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-named-as-default-member.md
11223
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default-member.md
11196
11224
  */
11197
11225
  "import/no-named-as-default-member"?: Linter.RuleEntry<[]>;
11198
11226
  /**
11199
11227
  * Forbid named default exports.
11200
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-named-default.md
11228
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-default.md
11201
11229
  */
11202
11230
  "import/no-named-default"?: Linter.RuleEntry<[]>;
11203
11231
  /**
11204
11232
  * Forbid named exports.
11205
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-named-export.md
11233
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-export.md
11206
11234
  */
11207
11235
  "import/no-named-export"?: Linter.RuleEntry<[]>;
11208
11236
  /**
11209
11237
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
11210
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-namespace.md
11238
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-namespace.md
11211
11239
  */
11212
11240
  "import/no-namespace"?: Linter.RuleEntry<ImportNoNamespace>;
11213
11241
  /**
11214
11242
  * Forbid Node.js builtin modules.
11215
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-nodejs-modules.md
11243
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-nodejs-modules.md
11216
11244
  */
11217
11245
  "import/no-nodejs-modules"?: Linter.RuleEntry<ImportNoNodejsModules>;
11218
11246
  /**
11219
11247
  * Forbid importing packages through relative paths.
11220
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-relative-packages.md
11248
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-packages.md
11221
11249
  */
11222
11250
  "import/no-relative-packages"?: Linter.RuleEntry<ImportNoRelativePackages>;
11223
11251
  /**
11224
11252
  * Forbid importing modules from parent directories.
11225
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-relative-parent-imports.md
11253
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-parent-imports.md
11226
11254
  */
11227
11255
  "import/no-relative-parent-imports"?: Linter.RuleEntry<ImportNoRelativeParentImports>;
11228
11256
  /**
11229
11257
  * Forbid importing a default export by a different name.
11230
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-rename-default.md
11258
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-rename-default.md
11231
11259
  */
11232
11260
  "import/no-rename-default"?: Linter.RuleEntry<ImportNoRenameDefault>;
11233
11261
  /**
11234
11262
  * Enforce which files can be imported in a given folder.
11235
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-restricted-paths.md
11263
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-restricted-paths.md
11236
11264
  */
11237
11265
  "import/no-restricted-paths"?: Linter.RuleEntry<ImportNoRestrictedPaths>;
11238
11266
  /**
11239
11267
  * Forbid a module from importing itself.
11240
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-self-import.md
11268
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-self-import.md
11241
11269
  */
11242
11270
  "import/no-self-import"?: Linter.RuleEntry<[]>;
11243
11271
  /**
11244
11272
  * Forbid unassigned imports.
11245
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-unassigned-import.md
11273
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unassigned-import.md
11246
11274
  */
11247
11275
  "import/no-unassigned-import"?: Linter.RuleEntry<ImportNoUnassignedImport>;
11248
11276
  /**
11249
11277
  * 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.1/docs/rules/no-unresolved.md
11278
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unresolved.md
11251
11279
  */
11252
11280
  "import/no-unresolved"?: Linter.RuleEntry<ImportNoUnresolved>;
11253
11281
  /**
11254
11282
  * 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.1/docs/rules/no-unused-modules.md
11283
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unused-modules.md
11256
11284
  */
11257
11285
  "import/no-unused-modules"?: Linter.RuleEntry<ImportNoUnusedModules>;
11258
11286
  /**
11259
11287
  * Forbid unnecessary path segments in import and require statements.
11260
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-useless-path-segments.md
11288
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-useless-path-segments.md
11261
11289
  */
11262
11290
  "import/no-useless-path-segments"?: Linter.RuleEntry<ImportNoUselessPathSegments>;
11263
11291
  /**
11264
11292
  * Forbid webpack loader syntax in imports.
11265
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-webpack-loader-syntax.md
11293
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-webpack-loader-syntax.md
11266
11294
  */
11267
11295
  "import/no-webpack-loader-syntax"?: Linter.RuleEntry<[]>;
11268
11296
  /**
11269
11297
  * Enforce a convention in module import order.
11270
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/order.md
11298
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/order.md
11271
11299
  */
11272
11300
  "import/order"?: Linter.RuleEntry<ImportOrder>;
11273
11301
  /**
11274
11302
  * 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.1/docs/rules/prefer-default-export.md
11303
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-default-export.md
11276
11304
  */
11277
11305
  "import/prefer-default-export"?: Linter.RuleEntry<ImportPreferDefaultExport>;
11306
+ /**
11307
+ * Enforce using namespace imports for specific modules, like `react`/`react-dom`, etc.
11308
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-namespace-import.md
11309
+ */
11310
+ "import/prefer-namespace-import"?: Linter.RuleEntry<ImportPreferNamespaceImport>;
11278
11311
  /**
11279
11312
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
11280
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/unambiguous.md
11313
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/unambiguous.md
11281
11314
  */
11282
11315
  "import/unambiguous"?: Linter.RuleEntry<[]>;
11283
11316
  }
@@ -11742,6 +11775,7 @@ interface _TypescriptEslintNamingConvention_MatchRegexConfig {
11742
11775
  }
11743
11776
  // ----- @typescript-eslint/no-base-to-string -----
11744
11777
  type TypescriptEslintNoBaseToString = [] | [{
11778
+ checkUnknown?: boolean;
11745
11779
  ignoredTypeNames?: string[];
11746
11780
  }];
11747
11781
  // ----- @typescript-eslint/no-confusing-void-expression -----
@@ -12469,6 +12503,10 @@ type ImportOrder = [] | [{
12469
12503
  type ImportPreferDefaultExport = [] | [{
12470
12504
  target?: "single" | "any";
12471
12505
  }];
12506
+ // ----- import/prefer-namespace-import -----
12507
+ type ImportPreferNamespaceImport = [] | [{
12508
+ patterns?: string[];
12509
+ }];
12472
12510
  //#endregion
12473
12511
  //#region src/generated/dts/unicorn.d.ts
12474
12512
  interface UnicornRuleOptions {
@@ -13366,6 +13404,11 @@ interface VitestRuleOptions {
13366
13404
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-it.md
13367
13405
  */
13368
13406
  "vitest/consistent-test-it"?: Linter.RuleEntry<VitestConsistentTestIt>;
13407
+ /**
13408
+ * enforce using vitest or vi but not both
13409
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-vitest-vi.md
13410
+ */
13411
+ "vitest/consistent-vitest-vi"?: Linter.RuleEntry<VitestConsistentVitestVi>;
13369
13412
  /**
13370
13413
  * enforce having expectation in test body
13371
13414
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
@@ -13442,6 +13485,11 @@ interface VitestRuleOptions {
13442
13485
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-import-node-test.md
13443
13486
  */
13444
13487
  "vitest/no-import-node-test"?: Linter.RuleEntry<[]>;
13488
+ /**
13489
+ * disallow importing Vitest globals
13490
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-importing-vitest-globals.md
13491
+ */
13492
+ "vitest/no-importing-vitest-globals"?: Linter.RuleEntry<[]>;
13445
13493
  /**
13446
13494
  * disallow string interpolation in snapshots
13447
13495
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-interpolation-in-snapshots.md
@@ -13473,7 +13521,7 @@ interface VitestRuleOptions {
13473
13521
  */
13474
13522
  "vitest/no-standalone-expect"?: Linter.RuleEntry<VitestNoStandaloneExpect>;
13475
13523
  /**
13476
- * Disallow using the `f` and `x` prefixes in favour of `.only` and `.skip`
13524
+ * disallow using the `f` and `x` prefixes in favour of `.only` and `.skip`
13477
13525
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-test-prefixes.md
13478
13526
  */
13479
13527
  "vitest/no-test-prefixes"?: Linter.RuleEntry<[]>;
@@ -13522,6 +13570,16 @@ interface VitestRuleOptions {
13522
13570
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
13523
13571
  */
13524
13572
  "vitest/padding-around-test-blocks"?: Linter.RuleEntry<[]>;
13573
+ /**
13574
+ * enforce using `toBeCalledOnce()` or `toHaveBeenCalledOnce()`
13575
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-once.md
13576
+ */
13577
+ "vitest/prefer-called-once"?: Linter.RuleEntry<[]>;
13578
+ /**
13579
+ * enforce using `toBeCalledTimes(1)` or `toHaveBeenCalledTimes(1)`
13580
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-times.md
13581
+ */
13582
+ "vitest/prefer-called-times"?: Linter.RuleEntry<[]>;
13525
13583
  /**
13526
13584
  * enforce using `toBeCalledWith()` or `toHaveBeenCalledWith()`
13527
13585
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-with.md
@@ -13567,6 +13625,11 @@ interface VitestRuleOptions {
13567
13625
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
13568
13626
  */
13569
13627
  "vitest/prefer-hooks-on-top"?: Linter.RuleEntry<[]>;
13628
+ /**
13629
+ * enforce importing Vitest globals
13630
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
13631
+ */
13632
+ "vitest/prefer-importing-vitest-globals"?: Linter.RuleEntry<[]>;
13570
13633
  /**
13571
13634
  * enforce lowercase titles
13572
13635
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-lowercase-title.md
@@ -13682,6 +13745,11 @@ interface VitestRuleOptions {
13682
13745
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
13683
13746
  */
13684
13747
  "vitest/valid-title"?: Linter.RuleEntry<VitestValidTitle>;
13748
+ /**
13749
+ * disallow `.todo` usage
13750
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/warn-todo.md
13751
+ */
13752
+ "vitest/warn-todo"?: Linter.RuleEntry<[]>;
13685
13753
  }
13686
13754
 
13687
13755
  /* ======= Declarations ======= */
@@ -13695,6 +13763,10 @@ type VitestConsistentTestIt = [] | [{
13695
13763
  fn?: "test" | "it";
13696
13764
  withinDescribe?: "test" | "it";
13697
13765
  }];
13766
+ // ----- vitest/consistent-vitest-vi -----
13767
+ type VitestConsistentVitestVi = [] | [{
13768
+ fn?: "vi" | "vitest";
13769
+ }];
13698
13770
  // ----- vitest/expect-expect -----
13699
13771
  type VitestExpectExpect = [] | [{
13700
13772
  assertFunctionNames?: string[];
@@ -14462,7 +14534,7 @@ declare function defineConfig(options?: OptionsConfig & Config, ...userConfigs:
14462
14534
  type DefineConfig = typeof defineConfig;
14463
14535
  //#endregion
14464
14536
  //#region src/generated/version.d.ts
14465
- declare const VERSION = "0.4.2";
14537
+ declare const VERSION = "0.4.4";
14466
14538
  declare namespace globs_d_exports {
14467
14539
  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 };
14468
14540
  }