Skip to content

Add pre-commit hooks with husky and lint-staged#35

Open
seroperson wants to merge 1 commit intoentrius:testfrom
seroperson:hooks
Open

Add pre-commit hooks with husky and lint-staged#35
seroperson wants to merge 1 commit intoentrius:testfrom
seroperson:hooks

Conversation

@seroperson
Copy link
Copy Markdown

@seroperson seroperson commented Apr 18, 2026

Summary

  • Add husky + lint-staged for automatic pre-commit hooks that run ESLint and Prettier on staged files
  • ESLint runs on *.{ts,tsx,js,jsx,mjs}, Prettier runs on all supported file types

No additional actions are required, npm install takes care of installing hooks.

The same functionality for gittensor: entrius/gittensor-ui#441

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.

1 participant