mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-25 08:16:04 +00:00
16 lines
304 B
YAML
16 lines
304 B
YAML
pre-commit:
|
|
parallel: true
|
|
commands:
|
|
eslint:
|
|
glob: "*.{js,jsx,ts,tsx}"
|
|
run: npx eslint --fix {staged_files}
|
|
stage_fixed: true
|
|
skip:
|
|
- merge
|
|
- rebase
|
|
|
|
pre-push:
|
|
commands:
|
|
eslint:
|
|
glob: "*.{js,ts,jsx,tsx}"
|
|
run: npx eslint --fix {push_files} |