Skip to content

Commit

Permalink
npm run in lefthook.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
starsep committed Feb 19, 2024
1 parent 51e9cba commit 70ac69a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ pre-commit:
parallel: true
commands:
biome:
run: biome check --apply .
run: npm run lint-fix
stage_fixed: true
test:
run: bun test
run: npm run test

skip_output:
- meta # Skips lefthook version printing
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"lint-fix": "biome lint . --apply",
"format": "biome format . --write",
"check": "biome ci .",
"test": "vitest",
"test": "vitest run",
"coverage": "vitest run --coverage",
"css-build": "sass sass/mystyles.scss src/mystyles.css",
"css-watch": "npm run css-build -- --watch"
Expand Down

0 comments on commit 70ac69a

Please sign in to comment.