Skip to content

Commit

Permalink
chore: switch from pretty-quick to lint-staged (#266)
Browse files Browse the repository at this point in the history
pretty-quick was broken by version 3 of prettier in July, but has had no update.
Switch to using lint-staged as the runner to lint staged changes based on the
docs at https://prettier.io/docs/en/precommit.html.

Signed-off-by: Will Murphy <will.murphy@anchore.com>
  • Loading branch information
willmurphyscode committed Jan 8, 2024
1 parent 7e33e3c commit b24ddc2
Show file tree
Hide file tree
Showing 3 changed files with 1,054 additions and 285 deletions.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
npm run precommit

0 comments on commit b24ddc2

Please sign in to comment.