mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-20 15:22:19 +02:00
Make lefthook use biome
This commit is contained in:
parent
ecfc7b59a3
commit
480be88508
@ -3,7 +3,7 @@ pre-commit:
|
||||
commands:
|
||||
eslint:
|
||||
glob: "*.{js,jsx,ts,tsx}"
|
||||
run: npx eslint --fix {staged_files}
|
||||
run: npx @biomejs/biome lint --write {staged_files}
|
||||
stage_fixed: true
|
||||
skip:
|
||||
- merge
|
||||
@ -13,7 +13,7 @@ pre-push:
|
||||
commands:
|
||||
eslint:
|
||||
glob: "*.{js,ts,jsx,tsx}"
|
||||
run: npx eslint --fix {push_files}
|
||||
run: npx @biomejs/biome lint --write {push_files}
|
||||
|
||||
post-merge:
|
||||
commands:
|
||||
|
Loading…
Reference in New Issue
Block a user