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