@ivanmaxlogiudice/eslint-config 3.0.4 → 3.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -11,7 +11,7 @@ import c from "picocolors";
11
11
  // package.json
12
12
  var package_default = {
13
13
  name: "@ivanmaxlogiudice/eslint-config",
14
- version: "3.0.4",
14
+ version: "3.0.5",
15
15
  packageManager: "bun@1.1.29",
16
16
  description: "Personal ESLint config",
17
17
  type: "module",
@@ -87,19 +87,19 @@ var package_default = {
87
87
  "@eslint/markdown": "^6.1.1",
88
88
  "@ivanmaxlogiudice/gitignore": "^0.0.2",
89
89
  "@stylistic/eslint-plugin": "^2.8.0",
90
- "@typescript-eslint/eslint-plugin": "^8.7.0",
91
- "@typescript-eslint/parser": "^8.7.0",
92
- "@vitest/eslint-plugin": "^1.1.4",
90
+ "@typescript-eslint/eslint-plugin": "^8.8.0",
91
+ "@typescript-eslint/parser": "^8.8.0",
92
+ "@vitest/eslint-plugin": "^1.1.5",
93
93
  "eslint-plugin-antfu": "^2.7.0",
94
- "eslint-plugin-import-x": "^4.3.0",
95
- "eslint-plugin-jsdoc": "^50.3.0",
94
+ "eslint-plugin-import-x": "^4.3.1",
95
+ "eslint-plugin-jsdoc": "^50.3.1",
96
96
  "eslint-plugin-jsonc": "^2.16.0",
97
97
  "eslint-plugin-n": "^17.10.3",
98
98
  "eslint-plugin-no-only-tests": "^3.3.0",
99
- "eslint-plugin-perfectionist": "^3.7.0",
100
- "eslint-plugin-unicorn": "^55.0.0",
99
+ "eslint-plugin-perfectionist": "^3.8.0",
100
+ "eslint-plugin-unicorn": "^56.0.0",
101
101
  "eslint-plugin-unused-imports": "^4.1.4",
102
- globals: "^15.9.0",
102
+ globals: "^15.10.0",
103
103
  "jsonc-eslint-parser": "^2.4.0",
104
104
  "local-pkg": "^0.5.0",
105
105
  picocolors: "^1.1.0",
@@ -110,7 +110,7 @@ var package_default = {
110
110
  "@stylistic/eslint-plugin-migrate": "^2.8.0",
111
111
  "@types/node": "^22.7.4",
112
112
  "@types/yargs": "^17.0.33",
113
- "@unocss/eslint-plugin": "^0.63.1",
113
+ "@unocss/eslint-plugin": "^0.63.3",
114
114
  bumpp: "^9.6.1",
115
115
  "bun-types": "^1.1.29",
116
116
  eslint: "^9.11.1",
@@ -124,7 +124,7 @@ var package_default = {
124
124
  tsup: "^8.3.0",
125
125
  typescript: "^5.6.2",
126
126
  unbuild: "^2.0.0",
127
- vitest: "^2.1.1",
127
+ vitest: "^2.1.2",
128
128
  "vue-eslint-parser": "^9.4.3",
129
129
  "yaml-eslint-parser": "^1.2.3"
130
130
  },
package/dist/index.d.ts CHANGED
@@ -376,233 +376,233 @@ interface RuleOptions {
376
376
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
377
377
  /**
378
378
  * Enforce or ban the use of inline type-only markers for named imports.
379
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/consistent-type-specifier-style.md
379
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/consistent-type-specifier-style.md
380
380
  */
381
381
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
382
382
  /**
383
383
  * Ensure a default export is present, given a default import.
384
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/default.md
384
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/default.md
385
385
  */
386
386
  'import/default'?: Linter.RuleEntry<[]>
387
387
  /**
388
388
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
389
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/dynamic-import-chunkname.md
389
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/dynamic-import-chunkname.md
390
390
  */
391
391
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
392
392
  /**
393
393
  * Forbid any invalid exports, i.e. re-export of the same name.
394
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/export.md
394
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/export.md
395
395
  */
396
396
  'import/export'?: Linter.RuleEntry<[]>
397
397
  /**
398
398
  * Ensure all exports appear after other statements.
399
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/exports-last.md
399
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/exports-last.md
400
400
  */
401
401
  'import/exports-last'?: Linter.RuleEntry<[]>
402
402
  /**
403
403
  * Ensure consistent use of file extension within the import path.
404
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/extensions.md
404
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/extensions.md
405
405
  */
406
406
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>
407
407
  /**
408
408
  * Ensure all imports appear before other statements.
409
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/first.md
409
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/first.md
410
410
  */
411
411
  'import/first'?: Linter.RuleEntry<ImportFirst>
412
412
  /**
413
413
  * Prefer named exports to be grouped together in a single export declaration.
414
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/group-exports.md
414
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/group-exports.md
415
415
  */
416
416
  'import/group-exports'?: Linter.RuleEntry<[]>
417
417
  /**
418
418
  * Replaced by `import-x/first`.
419
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/imports-first.md
419
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/imports-first.md
420
420
  * @deprecated
421
421
  */
422
422
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
423
423
  /**
424
424
  * Enforce the maximum number of dependencies a module can have.
425
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/max-dependencies.md
425
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/max-dependencies.md
426
426
  */
427
427
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
428
428
  /**
429
429
  * Ensure named imports correspond to a named export in the remote file.
430
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/named.md
430
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/named.md
431
431
  */
432
432
  'import/named'?: Linter.RuleEntry<ImportNamed>
433
433
  /**
434
434
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
435
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/namespace.md
435
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/namespace.md
436
436
  */
437
437
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>
438
438
  /**
439
439
  * Enforce a newline after import statements.
440
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/newline-after-import.md
440
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/newline-after-import.md
441
441
  */
442
442
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
443
443
  /**
444
444
  * Forbid import of modules using absolute paths.
445
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-absolute-path.md
445
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-absolute-path.md
446
446
  */
447
447
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
448
448
  /**
449
449
  * Forbid AMD `require` and `define` calls.
450
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-amd.md
450
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-amd.md
451
451
  */
452
452
  'import/no-amd'?: Linter.RuleEntry<[]>
453
453
  /**
454
454
  * Forbid anonymous values as default exports.
455
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-anonymous-default-export.md
455
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-anonymous-default-export.md
456
456
  */
457
457
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
458
458
  /**
459
459
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
460
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-commonjs.md
460
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-commonjs.md
461
461
  */
462
462
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
463
463
  /**
464
464
  * Forbid a module from importing a module with a dependency path back to itself.
465
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-cycle.md
465
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-cycle.md
466
466
  */
467
467
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
468
468
  /**
469
469
  * Forbid default exports.
470
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-default-export.md
470
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-default-export.md
471
471
  */
472
472
  'import/no-default-export'?: Linter.RuleEntry<[]>
473
473
  /**
474
474
  * Forbid imported names marked with `@deprecated` documentation tag.
475
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-deprecated.md
475
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-deprecated.md
476
476
  */
477
477
  'import/no-deprecated'?: Linter.RuleEntry<[]>
478
478
  /**
479
479
  * Forbid repeated import of the same module in multiple places.
480
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-duplicates.md
480
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-duplicates.md
481
481
  */
482
482
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
483
483
  /**
484
484
  * Forbid `require()` calls with expressions.
485
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-dynamic-require.md
485
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-dynamic-require.md
486
486
  */
487
487
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
488
488
  /**
489
489
  * Forbid empty named import blocks.
490
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-empty-named-blocks.md
490
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-empty-named-blocks.md
491
491
  */
492
492
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
493
493
  /**
494
494
  * Forbid the use of extraneous packages.
495
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-extraneous-dependencies.md
495
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-extraneous-dependencies.md
496
496
  */
497
497
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
498
498
  /**
499
499
  * Forbid import statements with CommonJS module.exports.
500
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-import-module-exports.md
500
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-import-module-exports.md
501
501
  */
502
502
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
503
503
  /**
504
504
  * Forbid importing the submodules of other modules.
505
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-internal-modules.md
505
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-internal-modules.md
506
506
  */
507
507
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
508
508
  /**
509
509
  * Forbid the use of mutable exports with `var` or `let`.
510
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-mutable-exports.md
510
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-mutable-exports.md
511
511
  */
512
512
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>
513
513
  /**
514
514
  * Forbid use of exported name as identifier of default export.
515
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-named-as-default.md
515
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-as-default.md
516
516
  */
517
517
  'import/no-named-as-default'?: Linter.RuleEntry<[]>
518
518
  /**
519
519
  * Forbid use of exported name as property of default export.
520
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-named-as-default-member.md
520
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-as-default-member.md
521
521
  */
522
522
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
523
523
  /**
524
524
  * Forbid named default exports.
525
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-named-default.md
525
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-default.md
526
526
  */
527
527
  'import/no-named-default'?: Linter.RuleEntry<[]>
528
528
  /**
529
529
  * Forbid named exports.
530
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-named-export.md
530
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-export.md
531
531
  */
532
532
  'import/no-named-export'?: Linter.RuleEntry<[]>
533
533
  /**
534
534
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
535
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-namespace.md
535
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-namespace.md
536
536
  */
537
537
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
538
538
  /**
539
539
  * Forbid Node.js builtin modules.
540
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-nodejs-modules.md
540
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-nodejs-modules.md
541
541
  */
542
542
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
543
543
  /**
544
544
  * Forbid importing packages through relative paths.
545
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-relative-packages.md
545
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-relative-packages.md
546
546
  */
547
547
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
548
548
  /**
549
549
  * Forbid importing modules from parent directories.
550
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-relative-parent-imports.md
550
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-relative-parent-imports.md
551
551
  */
552
552
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
553
553
  /**
554
554
  * Forbid importing a default export by a different name.
555
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-rename-default.md
555
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-rename-default.md
556
556
  */
557
557
  'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
558
558
  /**
559
559
  * Enforce which files can be imported in a given folder.
560
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-restricted-paths.md
560
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-restricted-paths.md
561
561
  */
562
562
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
563
563
  /**
564
564
  * Forbid a module from importing itself.
565
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-self-import.md
565
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-self-import.md
566
566
  */
567
567
  'import/no-self-import'?: Linter.RuleEntry<[]>
568
568
  /**
569
569
  * Forbid unassigned imports.
570
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-unassigned-import.md
570
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-unassigned-import.md
571
571
  */
572
572
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
573
573
  /**
574
574
  * Ensure imports point to a file/module that can be resolved.
575
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-unresolved.md
575
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-unresolved.md
576
576
  */
577
577
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
578
578
  /**
579
579
  * Forbid modules without exports, or exports without matching import in another module.
580
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-unused-modules.md
580
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-unused-modules.md
581
581
  */
582
582
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
583
583
  /**
584
584
  * Forbid unnecessary path segments in import and require statements.
585
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-useless-path-segments.md
585
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-useless-path-segments.md
586
586
  */
587
587
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
588
588
  /**
589
589
  * Forbid webpack loader syntax in imports.
590
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/no-webpack-loader-syntax.md
590
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-webpack-loader-syntax.md
591
591
  */
592
592
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
593
593
  /**
594
594
  * Enforce a convention in module import order.
595
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/order.md
595
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/order.md
596
596
  */
597
597
  'import/order'?: Linter.RuleEntry<ImportOrder>
598
598
  /**
599
599
  * Prefer a default export if module exports a single name or multiple names.
600
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/prefer-default-export.md
600
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/prefer-default-export.md
601
601
  */
602
602
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
603
603
  /**
604
604
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
605
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.0/docs/rules/unambiguous.md
605
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/unambiguous.md
606
606
  */
607
607
  'import/unambiguous'?: Linter.RuleEntry<[]>
608
608
  /**
@@ -7509,6 +7509,7 @@ type JsdocRequireParam = []|[{
7509
7509
  enableRestElementFixer?: boolean
7510
7510
  enableRootFixer?: boolean
7511
7511
  exemptedBy?: string[]
7512
+ ignoreWhenAllParamsMissing?: boolean
7512
7513
  unnamedRootBase?: string[]
7513
7514
  useDefaultObjectProperties?: boolean
7514
7515
  }]
@@ -9156,9 +9157,15 @@ type PerfectionistSortArrayIncludes = []|[{
9156
9157
 
9157
9158
  order?: ("asc" | "desc")
9158
9159
 
9160
+ matcher?: ("minimatch" | "regex")
9161
+
9159
9162
  ignoreCase?: boolean
9160
9163
 
9161
9164
  groupKind?: ("mixed" | "literals-first" | "spreads-first")
9165
+
9166
+ partitionByComment?: (string[] | boolean | string)
9167
+
9168
+ partitionByNewLine?: boolean
9162
9169
  }]
9163
9170
  // ----- perfectionist/sort-astro-attributes -----
9164
9171
  type PerfectionistSortAstroAttributes = []|[{
@@ -9167,6 +9174,8 @@ type PerfectionistSortAstroAttributes = []|[{
9167
9174
 
9168
9175
  order?: ("asc" | "desc")
9169
9176
 
9177
+ matcher?: ("minimatch" | "regex")
9178
+
9170
9179
  ignoreCase?: boolean
9171
9180
 
9172
9181
  groups?: (string | string[])[]
@@ -9182,6 +9191,8 @@ type PerfectionistSortClasses = []|[{
9182
9191
 
9183
9192
  order?: ("asc" | "desc")
9184
9193
 
9194
+ matcher?: ("minimatch" | "regex")
9195
+
9185
9196
  ignoreCase?: boolean
9186
9197
 
9187
9198
  partitionByComment?: (string[] | boolean | string)
@@ -9231,6 +9242,8 @@ type PerfectionistSortEnums = []|[{
9231
9242
 
9232
9243
  order?: ("asc" | "desc")
9233
9244
 
9245
+ matcher?: ("minimatch" | "regex")
9246
+
9234
9247
  ignoreCase?: boolean
9235
9248
 
9236
9249
  sortByValue?: boolean
@@ -9238,6 +9251,8 @@ type PerfectionistSortEnums = []|[{
9238
9251
  forceNumericSort?: boolean
9239
9252
 
9240
9253
  partitionByComment?: (string[] | boolean | string)
9254
+
9255
+ partitionByNewLine?: boolean
9241
9256
  }]
9242
9257
  // ----- perfectionist/sort-exports -----
9243
9258
  type PerfectionistSortExports = []|[{
@@ -9246,7 +9261,15 @@ type PerfectionistSortExports = []|[{
9246
9261
 
9247
9262
  order?: ("asc" | "desc")
9248
9263
 
9264
+ matcher?: ("minimatch" | "regex")
9265
+
9249
9266
  ignoreCase?: boolean
9267
+
9268
+ partitionByComment?: (string[] | boolean | string)
9269
+
9270
+ partitionByNewLine?: boolean
9271
+
9272
+ groupKind?: ("mixed" | "values-first" | "types-first")
9250
9273
  }]
9251
9274
  // ----- perfectionist/sort-imports -----
9252
9275
  type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
@@ -9256,6 +9279,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
9256
9279
 
9257
9280
  order?: ("asc" | "desc")
9258
9281
 
9282
+ matcher?: ("minimatch" | "regex")
9283
+
9259
9284
  ignoreCase?: boolean
9260
9285
 
9261
9286
  internalPattern?: string[]
@@ -9293,10 +9318,14 @@ type PerfectionistSortInterfaces = []|[{
9293
9318
 
9294
9319
  order?: ("asc" | "desc")
9295
9320
 
9321
+ matcher?: ("minimatch" | "regex")
9322
+
9296
9323
  ignoreCase?: boolean
9297
9324
 
9298
9325
  ignorePattern?: string[]
9299
9326
 
9327
+ partitionByComment?: (boolean | string | string[])
9328
+
9300
9329
  partitionByNewLine?: boolean
9301
9330
 
9302
9331
  groupKind?: ("mixed" | "optional-first" | "required-first")
@@ -9314,9 +9343,15 @@ type PerfectionistSortIntersectionTypes = []|[{
9314
9343
 
9315
9344
  order?: ("asc" | "desc")
9316
9345
 
9346
+ matcher?: ("minimatch" | "regex")
9347
+
9317
9348
  ignoreCase?: boolean
9318
9349
 
9319
9350
  groups?: (string | string[])[]
9351
+
9352
+ partitionByComment?: (string[] | boolean | string)
9353
+
9354
+ partitionByNewLine?: boolean
9320
9355
  }]
9321
9356
  // ----- perfectionist/sort-jsx-props -----
9322
9357
  type PerfectionistSortJsxProps = []|[{
@@ -9325,6 +9360,8 @@ type PerfectionistSortJsxProps = []|[{
9325
9360
 
9326
9361
  order?: ("asc" | "desc")
9327
9362
 
9363
+ matcher?: ("minimatch" | "regex")
9364
+
9328
9365
  ignoreCase?: boolean
9329
9366
 
9330
9367
  ignorePattern?: string[]
@@ -9342,7 +9379,13 @@ type PerfectionistSortMaps = []|[{
9342
9379
 
9343
9380
  order?: ("asc" | "desc")
9344
9381
 
9382
+ matcher?: ("minimatch" | "regex")
9383
+
9345
9384
  ignoreCase?: boolean
9385
+
9386
+ partitionByComment?: (string[] | boolean | string)
9387
+
9388
+ partitionByNewLine?: boolean
9346
9389
  }]
9347
9390
  // ----- perfectionist/sort-named-exports -----
9348
9391
  type PerfectionistSortNamedExports = []|[{
@@ -9351,9 +9394,15 @@ type PerfectionistSortNamedExports = []|[{
9351
9394
 
9352
9395
  order?: ("asc" | "desc")
9353
9396
 
9397
+ matcher?: ("minimatch" | "regex")
9398
+
9354
9399
  ignoreCase?: boolean
9355
9400
 
9356
9401
  groupKind?: ("mixed" | "values-first" | "types-first")
9402
+
9403
+ partitionByComment?: (string[] | boolean | string)
9404
+
9405
+ partitionByNewLine?: boolean
9357
9406
  }]
9358
9407
  // ----- perfectionist/sort-named-imports -----
9359
9408
  type PerfectionistSortNamedImports = []|[{
@@ -9362,11 +9411,17 @@ type PerfectionistSortNamedImports = []|[{
9362
9411
 
9363
9412
  order?: ("asc" | "desc")
9364
9413
 
9414
+ matcher?: ("minimatch" | "regex")
9415
+
9365
9416
  ignoreCase?: boolean
9366
9417
 
9367
9418
  ignoreAlias?: boolean
9368
9419
 
9369
9420
  groupKind?: ("mixed" | "values-first" | "types-first")
9421
+
9422
+ partitionByComment?: (string[] | boolean | string)
9423
+
9424
+ partitionByNewLine?: boolean
9370
9425
  }]
9371
9426
  // ----- perfectionist/sort-object-types -----
9372
9427
  type PerfectionistSortObjectTypes = []|[{
@@ -9375,8 +9430,12 @@ type PerfectionistSortObjectTypes = []|[{
9375
9430
 
9376
9431
  order?: ("asc" | "desc")
9377
9432
 
9433
+ matcher?: ("minimatch" | "regex")
9434
+
9378
9435
  ignoreCase?: boolean
9379
9436
 
9437
+ partitionByComment?: (string[] | boolean | string)
9438
+
9380
9439
  partitionByNewLine?: boolean
9381
9440
 
9382
9441
  groupKind?: ("mixed" | "required-first" | "optional-first")
@@ -9394,6 +9453,8 @@ type PerfectionistSortObjects = []|[{
9394
9453
 
9395
9454
  order?: ("asc" | "desc")
9396
9455
 
9456
+ matcher?: ("minimatch" | "regex")
9457
+
9397
9458
  ignoreCase?: boolean
9398
9459
 
9399
9460
  partitionByComment?: (string[] | boolean | string)
@@ -9419,9 +9480,15 @@ type PerfectionistSortSets = []|[{
9419
9480
 
9420
9481
  order?: ("asc" | "desc")
9421
9482
 
9483
+ matcher?: ("minimatch" | "regex")
9484
+
9422
9485
  ignoreCase?: boolean
9423
9486
 
9424
9487
  groupKind?: ("mixed" | "literals-first" | "spreads-first")
9488
+
9489
+ partitionByComment?: (string[] | boolean | string)
9490
+
9491
+ partitionByNewLine?: boolean
9425
9492
  }]
9426
9493
  // ----- perfectionist/sort-svelte-attributes -----
9427
9494
  type PerfectionistSortSvelteAttributes = []|[{
@@ -9430,6 +9497,8 @@ type PerfectionistSortSvelteAttributes = []|[{
9430
9497
 
9431
9498
  order?: ("asc" | "desc")
9432
9499
 
9500
+ matcher?: ("minimatch" | "regex")
9501
+
9433
9502
  ignoreCase?: boolean
9434
9503
 
9435
9504
  groups?: (string | string[])[]
@@ -9454,9 +9523,15 @@ type PerfectionistSortUnionTypes = []|[{
9454
9523
 
9455
9524
  order?: ("asc" | "desc")
9456
9525
 
9526
+ matcher?: ("minimatch" | "regex")
9527
+
9457
9528
  ignoreCase?: boolean
9458
9529
 
9459
9530
  groups?: (string | string[])[]
9531
+
9532
+ partitionByComment?: (string[] | boolean | string)
9533
+
9534
+ partitionByNewLine?: boolean
9460
9535
  }]
9461
9536
  // ----- perfectionist/sort-variable-declarations -----
9462
9537
  type PerfectionistSortVariableDeclarations = []|[{
@@ -9465,7 +9540,13 @@ type PerfectionistSortVariableDeclarations = []|[{
9465
9540
 
9466
9541
  order?: ("asc" | "desc")
9467
9542
 
9543
+ matcher?: ("minimatch" | "regex")
9544
+
9468
9545
  ignoreCase?: boolean
9546
+
9547
+ partitionByComment?: (string[] | boolean | string)
9548
+
9549
+ partitionByNewLine?: boolean
9469
9550
  }]
9470
9551
  // ----- perfectionist/sort-vue-attributes -----
9471
9552
  type PerfectionistSortVueAttributes = []|[{
@@ -9474,6 +9555,8 @@ type PerfectionistSortVueAttributes = []|[{
9474
9555
 
9475
9556
  order?: ("asc" | "desc")
9476
9557
 
9558
+ matcher?: ("minimatch" | "regex")
9559
+
9477
9560
  ignoreCase?: boolean
9478
9561
 
9479
9562
  groups?: (string | string[])[]
@@ -11627,6 +11710,8 @@ type TsNoUnnecessaryCondition = []|[{
11627
11710
  allowConstantLoopConditions?: boolean
11628
11711
 
11629
11712
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
11713
+
11714
+ checkTypePredicates?: boolean
11630
11715
  }]
11631
11716
  // ----- ts/no-unnecessary-type-assertion -----
11632
11717
  type TsNoUnnecessaryTypeAssertion = []|[{
@@ -13632,6 +13717,7 @@ interface OptionsFiles {
13632
13717
  */
13633
13718
  files?: string[];
13634
13719
  }
13720
+ type OptionsTypescript = (OptionsTypeScriptWithTypes & OptionsOverrides) | (OptionsTypeScriptParserOptions & OptionsOverrides);
13635
13721
  interface OptionsComponentExts {
13636
13722
  /**
13637
13723
  * Additional extensions for components.
@@ -13709,7 +13795,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
13709
13795
  *
13710
13796
  * @default auto-detect based on the dependencies
13711
13797
  */
13712
- typescript?: boolean | OptionsOverrides;
13798
+ typescript?: boolean | OptionsTypescript;
13713
13799
  /**
13714
13800
  * Enable test support.
13715
13801
  *
package/dist/index.js CHANGED
@@ -1321,6 +1321,7 @@ async function vue(options = {}) {
1321
1321
  "vue/no-restricted-v-bind": ["error", "/^v-/"],
1322
1322
  "vue/no-setup-props-reactivity-loss": "off",
1323
1323
  "vue/no-sparse-arrays": "error",
1324
+ "vue/no-undef-components": "error",
1324
1325
  "vue/no-unused-refs": "error",
1325
1326
  "vue/no-useless-v-bind": "error",
1326
1327
  "vue/no-v-html": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ivanmaxlogiudice/eslint-config",
3
- "version": "3.0.4",
3
+ "version": "3.0.5",
4
4
  "packageManager": "bun@1.1.29",
5
5
  "description": "Personal ESLint config",
6
6
  "type": "module",
@@ -76,19 +76,19 @@
76
76
  "@eslint/markdown": "^6.1.1",
77
77
  "@ivanmaxlogiudice/gitignore": "^0.0.2",
78
78
  "@stylistic/eslint-plugin": "^2.8.0",
79
- "@typescript-eslint/eslint-plugin": "^8.7.0",
80
- "@typescript-eslint/parser": "^8.7.0",
81
- "@vitest/eslint-plugin": "^1.1.4",
79
+ "@typescript-eslint/eslint-plugin": "^8.8.0",
80
+ "@typescript-eslint/parser": "^8.8.0",
81
+ "@vitest/eslint-plugin": "^1.1.5",
82
82
  "eslint-plugin-antfu": "^2.7.0",
83
- "eslint-plugin-import-x": "^4.3.0",
84
- "eslint-plugin-jsdoc": "^50.3.0",
83
+ "eslint-plugin-import-x": "^4.3.1",
84
+ "eslint-plugin-jsdoc": "^50.3.1",
85
85
  "eslint-plugin-jsonc": "^2.16.0",
86
86
  "eslint-plugin-n": "^17.10.3",
87
87
  "eslint-plugin-no-only-tests": "^3.3.0",
88
- "eslint-plugin-perfectionist": "^3.7.0",
89
- "eslint-plugin-unicorn": "^55.0.0",
88
+ "eslint-plugin-perfectionist": "^3.8.0",
89
+ "eslint-plugin-unicorn": "^56.0.0",
90
90
  "eslint-plugin-unused-imports": "^4.1.4",
91
- "globals": "^15.9.0",
91
+ "globals": "^15.10.0",
92
92
  "jsonc-eslint-parser": "^2.4.0",
93
93
  "local-pkg": "^0.5.0",
94
94
  "picocolors": "^1.1.0",
@@ -99,7 +99,7 @@
99
99
  "@stylistic/eslint-plugin-migrate": "^2.8.0",
100
100
  "@types/node": "^22.7.4",
101
101
  "@types/yargs": "^17.0.33",
102
- "@unocss/eslint-plugin": "^0.63.1",
102
+ "@unocss/eslint-plugin": "^0.63.3",
103
103
  "bumpp": "^9.6.1",
104
104
  "bun-types": "^1.1.29",
105
105
  "eslint": "^9.11.1",
@@ -113,7 +113,7 @@
113
113
  "tsup": "^8.3.0",
114
114
  "typescript": "^5.6.2",
115
115
  "unbuild": "^2.0.0",
116
- "vitest": "^2.1.1",
116
+ "vitest": "^2.1.2",
117
117
  "vue-eslint-parser": "^9.4.3",
118
118
  "yaml-eslint-parser": "^1.2.3"
119
119
  },