mirror of
https://github.com/olehomelchenko/astrolabe.git
synced 2026-08-08 02:02:33 +00:00
Add ESLint + pre-commit hook and fix the issues it surfaced
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
# Format + lint the staged files, then run the full verify gate.
|
||||
# At this project's size all three finish in ~2s; if the suite grows slow,
|
||||
# move typecheck/test to a pre-push hook and leave lint-staged here.
|
||||
npx lint-staged && npm run typecheck && npm test
|
||||
Reference in New Issue
Block a user