Skip to content

chore: migrate from Husky to vp config for git hooks#1001

Open
Arthie wants to merge 2 commits intovoidzero-dev:mainfrom
Arthie:chore--migrate-from-Husky-to-vp-config-for-git-hooks
Open

chore: migrate from Husky to vp config for git hooks#1001
Arthie wants to merge 2 commits intovoidzero-dev:mainfrom
Arthie:chore--migrate-from-Husky-to-vp-config-for-git-hooks

Conversation

@Arthie
Copy link

@Arthie Arthie commented Mar 17, 2026

We thank husky for their service but there is a new tool called vite-plus that can run lint-staged ;)
This way the repo is dogfooding it's git hooks!

Running vp config creates / modifies the .claude/* and CLAUDE.md files automaticly.

  • Replace Husky pre-commit hook with .vite-hooks/pre-commit
  • Move lint-staged config from package.json to vite.config.ts
  • Remove husky and lint-staged dependencies from root package.json
  • 'vp config': Add Claude MCP server configuration for vite-plus
  • 'vp config': Update CLAUDE.md with Vite+ workflow documentation

- Replace Husky pre-commit hook with .vite-hooks/pre-commit
- Move lint-staged config from package.json to vite.config.ts
- Remove husky and lint-staged dependencies
- 'vp config': Add Claude MCP server configuration for vite-plus
- 'vp config': Update CLAUDE.md with Vite+ workflow documentation
@netlify
Copy link

netlify bot commented Mar 17, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 59cfb3e
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/69ba662a28df9e0008ad8d83

Copy link
Member

@fengmk2 fengmk2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Arthie Thanks, I will merge after doing local verification with no issues.

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.

2 participants