Skip to content

Commit

Permalink
chore: update hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
bytemain committed Sep 27, 2024
1 parent 7dec6dd commit d361b6e
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 @@ -3,11 +3,11 @@ pre-commit:
commands:
lint:
glob: '*.{js,ts,jsx,tsx}'
run: yarn lint {staged_files}
prettier:
run: yarn lint --diagnostic-level=error {staged_files}
format:
glob: '*.{js,ts,jsx,tsx,css,less,scss,vue,json,gql,md}'
run: |
yarn lint:fix {staged_files}
yarn lint:fix --diagnostic-level=error {staged_files}
git update-index --again
commit-msg:
Expand Down

0 comments on commit d361b6e

Please sign in to comment.