Skip to content

Commit

Permalink
test hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
hobbes7878 committed Sep 3, 2022
1 parent d5be7ea commit 8bb63e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ pre-commit:
'precheck-file-size.sh':
runner: bash
commands:
checkSize:
run:
eslint:
glob: '*.js'
run: npx eslint --cache --fix {staged_files}
prettier:
glob: '*.{js,css,md,svelte}'
run: npx prettier --write {staged_files}
addChanged:
run: git add .

0 comments on commit 8bb63e9

Please sign in to comment.