Skip to content

Commit

Permalink
closes #90
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbes7878 committed Sep 3, 2022
1 parent 8bb63e9 commit 464459b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ pre-commit:
commands:
eslint:
glob: '*.js'
run: npx eslint --cache --fix {staged_files}
run: npx eslint --cache --fix {staged_files} && git add .
prettier:
glob: '*.{js,css,md,svelte}'
run: npx prettier --write {staged_files}
addChanged:
run: git add .
run: npx prettier --write {staged_files} && git add .

0 comments on commit 464459b

Please sign in to comment.