Skip to content

Commit

Permalink
chore: fix lefthook.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-sa authored Nov 21, 2023
1 parent 2e388a0 commit 463a4fb
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 @@ -2,7 +2,7 @@
commit-msg:
commands:
commitlint:
run: yarn commitlint --edit {1}
run: pnpm commitlint --edit {1}
pre-commit:
commands:
github-actions:
Expand All @@ -11,7 +11,7 @@ pre-commit:
run: echo {staged_files} && actionlint
eslint:
glob: '*.{js,ts,jsx,tsx}'
run: yarn eslint --quiet --fix {staged_files} && git add {staged_files}
run: pnpm eslint --quiet --fix {staged_files} && git add {staged_files}
prettier:
glob: '*.{json,yml,yaml,html,graphql}'
run: yarn prettier --write {staged_files} && git add {staged_files}
run: pnpm prettier --write {staged_files} && git add {staged_files}

0 comments on commit 463a4fb

Please sign in to comment.