mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-27 17:26:11 +00:00
5e151f5604
* Removed local translation files added translations submodule [Enhancement] Add post-merge command to update submodules in lefthook configuration [Enhancement] Add postinstall script to install lefthook after package installation [Enhancement] Update postinstall script to run post-merge command after lefthook installation * Add subproject commit for locales directory * Remove translation team assignments from CODEOWNERS * Add recursive submodule checkout to workflow files and update README for translations * fix: run without locales present (#4539) some code was hard-wired with locales having to be present. This is no longer the case now --------- Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
21 lines
409 B
YAML
21 lines
409 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}
|
|
|
|
post-merge:
|
|
commands:
|
|
update-submodules:
|
|
run: git submodule update --init --recursive |