Skip to content

fix: restore lint-staged pre-commit hook#298

Merged
hydai merged 1 commit into
WasmEdge:mainfrom
aruhis10:fix/lint-staged-precommit
May 28, 2026
Merged

fix: restore lint-staged pre-commit hook#298
hydai merged 1 commit into
WasmEdge:mainfrom
aruhis10:fix/lint-staged-precommit

Conversation

@aruhis10
Copy link
Copy Markdown
Contributor

Explanation

Fixes the Husky pre-commit hook by adding the missing lint-staged npm script and removing the cspell step from lint-staged config (cspell is not installed/configured in this repo, which caused commits to fail).

Related issue

Closes #99

What type of PR is this

/kind bug

Proposed Changes

  • Add "lint-staged": "lint-staged" to package.json scripts (required by .husky/pre-commit).
  • Remove cspell from .lintstagedrc.json so pre-commit does not fail on a missing dependency.

Signed-off-by: Aruhi <aruhi10sharma@gmail.com>
@hydai hydai merged commit 7f5607e into WasmEdge:main May 28, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: lint-staged script missing for husky pre-commit-hook

2 participants