Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
npx lint-staged
if [ ! -x ./node_modules/.bin/lint-staged ]; then
echo "lint-staged is not installed locally. Run 'npm install' before committing." >&2
exit 1
fi

./node_modules/.bin/lint-staged
Loading