github Nick2bad4u/eslint-plugin-typefest v1.2.0

latest releases: v1.2.9, v1.2.8, v1.2.7...
one month ago

[1.2.0] - 2026-04-14

4b4d501...6166e67

✨ Features

  • 76f2cda — ✨ [feat] Add site contract configuration files to ESLint ignore and project service

  • Include docs/docusaurus/site-contract.config.d.mts and docs/docusaurus/site-contract.config.mjs in the ESLint ignore list

  • Remove these files from the default project service allow list

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

  • a6b2ae7 — ✨ [feat] Update CI and Codecov configurations for improved reporting

  • Refactor Codecov flags to remove redundant 'unit,' prefix

  • Enhance coverage reporting for multiple OS environments in codecov.yml

  • Add new CSS module for GitHub stats component

  • Update GitHubStats component to use new CSS module

  • Remove deprecated styles from index.module.css

  • Add ESLint plugin for Docusaurus 2 support

  • Update dependencies in package.json and package-lock.json

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

  • 5408f71 — ✨ [feat] Enhance RuleTester with timed Vitest case execution

  • Introduce shared timeout for RuleTester-generated Vitest cases.

  • Implement runTimedRuleTesterCase to manage timeout injection for Vitest hooks.

  • Update RuleTester.it and RuleTester.itOnly to utilize the new timed execution logic.

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

  • e5f4c24 — ✨ [feat] (docusaurus-site-contract) Enhance site contract validation and documentation

  • Introduced new types for structured validation failures and expectations in the Docusaurus site contract.

  • Added detailed JSDoc comments for better understanding of the contract types and their usage.

  • Updated the manifest template to ensure correct ordering of properties.

  • Refactored the contract validation functions to improve clarity and maintainability.
    🧪 [test] (docusaurus-site-contract) Improve test assertions for site contract validation

  • Updated test cases to use more descriptive assertions for undefined script checks.

  • Ensured consistency in test output and improved readability of test results.

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

  • 5f4cf5a — ✨ [feat] (docusaurus-site-contract) Introduce repository-local script wrappers and manifest template

  • Implement repository-local script wrappers for the Docusaurus site contract, allowing manual execution without package.json wiring.

  • Create init-docusaurus-site-contract.mjs and validate-docusaurus-site-contract.mjs for initialization and validation tasks.

  • Update docusaurus-site-contract.mjs to re-export the vendored implementation.

  • Add a new manifest.template.json for package metadata, including dependencies and scripts.

  • Refactor the init command to utilize the new script wrappers, enhancing usability in template-derived repositories.

  • Update tests to validate the new structure and ensure proper functionality of the wrappers and scripts.

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

  • e329ce5 — ✨ [feat] (workflow) Enhance dependency review and release workflows

  • Add permissions for dependency review action

  • Introduce rebuild step for manual version bump in release workflow

  • Create release archives and include them in GitHub release
    📝 [docs] (manifest) Update documentation manifest with improved descriptions and categories

  • Revise app description and add relevant categories

  • Enhance icon references for better clarity

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

  • 4b4d501 — ✨ [feat] Add 'prefer-no-bin' rule to npm package JSON linting configuration

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

🛠️ Bug Fixes

  • 70e207e — 🔥 [fix] eslint hang

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

  • 08f0148 — 🔥 [fix] eslint hang

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

  • 01671b6 — 🔥 [fix] eslint hang

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

  • 05238f1 — 🔥 [fix] Change Runner

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

  • 7af13ea — 🔥 [fix] Change Runner

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

  • b0f53ea — 🔥 [fix] Change Runner

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

  • 1b253fd — 🔥 [fix] Add debug logging to verify script to find out where hang is coming from

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

  • 8f045d1 — 🔥 [fix] Change Runner to Windows

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

  • a16b5fd — 🔥 [fix] Add Stylelint disables to each css file manually

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

  • ecfd4ea — 🔥 [fix] Remove deprecated array find functions and tests

  • Deleted the arrayFind and arrayFindLast functions from the codebase as they are no longer needed.

  • Removed associated valid and invalid test fixtures for both functions to clean up the test suite.

  • Updated the plugin source configurations to reflect the removal of these rules.

  • Ensured that all references to the removed functions in tests were cleaned up, maintaining the integrity of the test suite.

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

📦 Dependencies

  • c4ff9f8 — [dependency] Update follow-redirects in the npm_and_yarn group across 1 directory

[dependency] Updates the npm_and_yarn group with 1 update in the / directory: follow-redirects.

Updates follow-redirects from 1.15.11 to 1.16.0


updated-dependencies:

  • dependency-name: follow-redirects
    dependency-version: 1.16.0
    dependency-type: indirect
    dependency-group: npm_and_yarn
    ...

Signed-off-by: dependabot[bot] support@github.com

  • 66ed290 — [dependency] Update basic-ftp in the npm_and_yarn group across 1 directory

[dependency] Updates the npm_and_yarn group with 1 update in the / directory: basic-ftp.

Updates basic-ftp from 5.2.0 to 5.2.2


updated-dependencies:

  • dependency-name: basic-ftp
    dependency-version: 5.2.2
    dependency-type: indirect
    dependency-group: npm_and_yarn
    ...

Signed-off-by: dependabot[bot] support@github.com

  • 25e5dfb — ⬆️ [build] Upgrade dependencies for improved stability and performance

  • [dependency] Update react and react-dom to version 19.2.5

  • Update @eslint/config-helpers to version 0.5.5

  • Upgrade eslint-plugin-typedoc to version 1.1.4

  • Update knip to version 6.3.1

  • Upgrade postcss-sort-media-queries to version 6.4.4

  • Update @typescript-eslint packages to version 8.58.1

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

  • 82b4345 — ⬆️ [build] Upgrade TypeScript ESLint packages to version 8.58.1

  • Updated dependencies for TypeScript ESLint packages:

  • "@typescript-eslint/parser" from "^8.58.0" to "^8.58.1"

  • "@typescript-eslint/type-utils" from "^8.58.0" to "^8.58.1"

  • "@typescript-eslint/utils" from "^8.58.0" to "^8.58.1"

  • "@typescript-eslint/eslint-plugin" from "^8.58.0" to "^8.58.1"

  • "@typescript-eslint/rule-tester" from "^8.58.0" to "^8.58.1"

  • "typescript-eslint" from "^8.58.0" to "^8.58.1"

  • These updates may include bug fixes and improvements that enhance linting capabilities and TypeScript support.

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

📝 Documentation

  • 8b9654c — 📝 [docs] Update README with installation instructions and usage examples

  • Added detailed installation steps for new users

  • Included usage examples for key features

  • Clarified contribution guidelines for better onboarding

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

🎨 Styling

  • ef0fe2d — 🎨 [style] Update favicon path in site contract configuration

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

  • db0d786 — 🎨 [style] Simplify warning type assertion in Webpack suppressor

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

  • fa2f10a — 🎨 [style] Update sonar.exclusions for consistency in path formatting

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

  • f64122b — 🎨 [style] Enhance webpack configuration to suppress critical dependency warnings

  • Improve handling of known webpack warnings emitted by the UMD build of vscode-languageserver-types

  • Refactor alias resolution for vscode-css-languageservice and vscode-languageserver-types

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

  • 6f126c6 — 🎨 [style] Update sonar.cpd.exclusions to include .github directory

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

  • fa3180c — 🎨 [style] Remove unused '*.d.mts' file extension from TypeScript configuration

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

🧹 Chores

  • 6166e67 — Release v1.2.0

  • 0af0141 — Release v1.1.0

  • d0780ee — 🔧 [chore] Update eslint-plugin-file-progress-2 to version 5.0.0 in package.json and package-lock.json

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

  • c41eca9 — 🧹 [chore] Clean up empty code change sections in commit history

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

  • f3083ec — 🔧 [chore] Update dependencies in package.json

  • Upgrade @stryker-mutator/core, @stryker-mutator/typescript-checker, and @stryker-mutator/vitest-runner to version 9.6.1 for improved stability and features.

  • Update @types/node to version 25.6.0 for better type definitions.

  • Upgrade @vitest/coverage-v8, @vitest/eslint-plugin, and @vitest/ui to version 4.1.4 for enhanced functionality.

  • Update jscpd to version 4.0.9 for better code duplication detection.

  • Upgrade knip to version 6.4.0 for improved dependency analysis.

  • Update npm-check-updates to version 20.0.1 for better package management.

  • Upgrade prettier to version 3.8.2 for improved formatting capabilities.

  • Update stylelint-plugin-defensive-css to version 2.9.0 for better CSS linting.

  • Upgrade vite to version 8.0.8 for enhanced build performance.

  • Update vitest to version 4.1.4 for improved testing capabilities.

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

  • f4e1f62 — 🔥 [chore] Remove deprecated GitHub hooks and scripts

  • Deleted obsolete hook configuration in .github/hooks/hooks.json

  • Removed PowerShell script for logging prompts in .github/hooks/scripts/log-prompt.ps1

  • Removed Bash script for logging prompts in .github/hooks/scripts/log-prompt.sh

  • Deleted PowerShell script for removing temporary files in .github/hooks/scripts/remove-temp.ps1

  • Removed Bash script for removing temporary files in .github/hooks/scripts/remove-temp.sh
    📝 [docs] Update .secretlintignore to exclude logs directory

  • Excluded .github/hooks/logs/ from secret linting checks

✨ [feat] Update TypeScript configuration to support new file types

  • Added support for *.d.mts files in tsconfig.eslint.json
  • Added support for *.d.mts files in tsconfig.js.json

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

[1.0.10] - 2026-04-04

d904d24...e281889

✨ Features

  • b5b702b — ✨ [feat] Enhance rule metadata injection and default options handling

  • Update createTypedRule to centrally inject ruleId and ruleNumber for cataloged rules

  • Refactor default options validation in smoke tests for improved clarity and reliability

  • Document changes in typed-paths.md to reflect new metadata handling practices

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

🧪 Testing

  • 4325ae5 — 🧪 [test] Refactor rule-tester cases for prefer-ts-extras rules

  • 🎨 Update test descriptions for clarity and consistency across multiple test files.

  • ⚡️ Increase timeout for rule-tester cases to 120 seconds to accommodate longer-running tests.

  • 🧹 Refactor invalid and valid test cases for prefer-ts-extras-key-in, prefer-ts-extras-safe-cast-to, prefer-ts-extras-set-has, and prefer-ts-extras-string-split to improve readability and maintainability.

  • ✨ Ensure all invalid cases include appropriate output expectations for autofixes where applicable.

  • 📝 Maintain existing functionality while enhancing the structure of test cases for better organization.

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

  • 6598595 — 🧪 [test] Enhance timeout handling and documentation for prefer-type-fest-iterable-element tests

  • Increase timeout to 120s for tests involving fast-check properties to ensure CI stability

  • Add detailed comments explaining timeout implications and optimization suggestions

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

🧹 Chores

  • e281889 — Release v1.0.10

  • 394dd4b — 🧹 [chore] Remove defaultOptions from TypeFest rule definitions

  • Eliminated the defaultOptions property from multiple TypeFest rule files to streamline configuration.

  • Updated related tests to check for undefined defaultOptions instead of empty arrays.

  • Adjusted metadata integrity tests to accommodate the removal of defaultOptions.

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

  • d904d24 — 🔧 [chore] Update dependencies in package.json and package-lock.json

  • Upgrade "@eslint/config-helpers" to version 0.5.4

  • Upgrade "@types/node" to version 25.5.2

  • Upgrade "eslint" to version 10.2.0

  • Upgrade "knip" to version 6.3.0

  • Upgrade "typedoc-plugin-missing-exports" to version 4.1.3

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

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

NewReleases is sending notifications on new releases.