github Nick2bad4u/eslint-plugin-typefest v1.0.6

latest releases: v1.2.6, v1.2.5, v1.2.4...
one month ago

[1.0.6] - 2026-03-21

aa783ba...807b137

✨ Features

  • 625b185 — ✨ [feat] (config) Update Knip rules and enhance TypeDoc CLI output parsing

  • Change classMembers rule to catalog with error severity

  • Add namespaceMembers rule with warning severity

  • Refactor getSubstMappings function for improved readability and performance

  • Simplify line parsing and error handling in TypeDoc CLI output

Signed-off-by: Nick2bad4u 20943337+Nick2bad4u@users.noreply.github.com

  • a48dd4e — ✨ [feat] (test) Add fixture validity tests for prefer-type-fest-except rule

  • Introduced fixtureSafePatternsValidCase to validate fixture-safe patterns

  • Implemented warmTypedParserServices for enhanced parsing

  • Added new test suite for fixture validity with timeout configuration

Signed-off-by: Nick2bad4u 20943337+Nick2bad4u@users.noreply.github.com

  • 5e9fad8 — ✨ [feat] (docs) Enhance TypeDoc script with Windows path normalization and subst mapping management

  • Introduced normalizeWindowsPath function for case-insensitive path comparisons.

  • Added getSubstMappings to list active subst mappings.

  • Implemented removeSubstDrive to delete existing subst mappings.

  • Created removeStaleRepositorySubstMappings to clean up old mappings.

  • Registered cleanup handlers for temporary subst drives on process termination.

🧹 [chore] (dependencies) Update package dependencies

  • Upgraded @eslint/json to version 1.2.0.

  • Updated multiple @secretlint rules to version 11.4.0.

  • [dependency] Updateed eslint to version 10.1.0.

  • Increased eslint-plugin-typefest to version 1.0.5.

  • Updated knip to version 6.0.1.

  • Upgraded secretlint to version 11.4.0.

  • Updated stylelint-config-inspector to version 2.0.2.

  • [dependency] Updateed stylelint-define-config to version 17.5.0.

  • Updated stylelint-plugin-use-baseline to version 1.4.0.

📝 [docs] (sonar) Exclude non-production code from SonarQube analysis

  • Added exclusions for duplication analysis in sonar-project.properties.

  • Updated test inclusions to include tests directory.

Signed-off-by: Nick2bad4u 20943337+Nick2bad4u@users.noreply.github.com

  • c12aa13 — ✨ [feat] Add increase-test-coverage prompt for systematic test coverage improvement

Signed-off-by: Nick2bad4u 20943337+Nick2bad4u@users.noreply.github.com

  • 0302315 — ✨ [feat] Update ESLint plugins and improve bootstrap script

  • Added new ESLint plugins: eslint-plugin-copilot, eslint-plugin-immutable-2, and eslint-plugin-sdl-2.

  • Updated versions of existing plugins: eslint-plugin-etc-misc (1.0.4), eslint-plugin-tsdoc-require-2 (1.0.6), and eslint-plugin-write-good-comments-2 (1.0.4).

  • Refactored bootstrap-eslint-repo.mjs to use spawnSync for command execution, improving error handling and output logging.

  • Enhanced command execution with better argument handling and structured output.

  • Updated dependency installation commands to use the new command structure.

🧪 [test] Refactor runtime execution tests for better async handling

  • Refactored executeRuntimeIsDefinedSourceText and executeRuntimeLooseNullSourceText to use dynamic module imports for execution.

  • Updated tests in prefer-ts-extras-is-defined.test.ts and prefer-ts-extras-is-present.test.ts to support async assertions with fast-check.

  • Ensured that runtime behavior is preserved across autofix operations in tests, maintaining second-pass stability.

🧹 [chore] Clean up unused imports and improve test structure

  • Removed unused vm import from runtime harness tests.

  • Improved type safety in test functions by using Readonly for options.

  • Enhanced readability and maintainability of test cases by restructuring assertions and error handling.

Signed-off-by: Nick2bad4u 20943337+Nick2bad4u@users.noreply.github.com

  • aa783ba — ✨ [feat] (rules) Add requireRuleCatalogId option and corresponding validation

  • Introduce requireRuleCatalogId option to enforce rule catalog ID presence in documentation.

  • Implement validation logic to check for missing or duplicate rule catalog ID lines.
    🧪 [test] Add tests for requireRuleCatalogId functionality

  • Create tests to verify behavior when requireRuleCatalogId is enabled or disabled.

Signed-off-by: Nick2bad4u 20943337+Nick2bad4u@users.noreply.github.com

🧹 Chores

Don't miss a new eslint-plugin-typefest release

NewReleases is sending notifications on new releases.