Skip to content

Commit

Permalink
use lefthook with pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
feledori authored Sep 4, 2024
1 parent 3f42d3b commit 244d503
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ pre-commit:
commands:
lint:
glob: '*.{js,ts,jsx,tsx}'
run: npx eslint --cache --fix {staged_files}
run: pnpm eslint --cache --fix "{staged_files}"
format:
glob: '*.{js,ts,jsx,tsx,css,scss,md}'
run: npx prettier --write {staged_files}
run: pnpm prettier --write "{staged_files}"

post-merge:
commands:
update-env:
run: npx vc env pull
run: pnpx vc env pull

1 comment on commit 244d503

@github-actions
Copy link

Choose a reason for hiding this comment

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

"⚡️ Lighthouse report for the changes in this commit:

🔴 Performance: 46
🟢 Accessibility: 90
🟢 Best practices: 96
🟠 SEO: 63

Lighthouse ran on https://satus-jzwxorlhn-darkroom-engineering.vercel.app/"

Please sign in to comment.