mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
feat!: replace husky/lint-staged with lefthook v2
Migrate from husky + lint-staged to lefthook v2 for git hooks. Migrate prettier config from CJS to ESM. Remove commitizen/cz-conventional- changelog (release-please handles conventional commits).
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
pre-commit:
|
||||
parallel: true
|
||||
jobs:
|
||||
- name: prettier
|
||||
run: npx prettier --write --ignore-unknown {staged_files}
|
||||
stage_fixed: true
|
||||
|
||||
pre-push:
|
||||
jobs:
|
||||
- name: test
|
||||
run: npm test
|
||||
Reference in New Issue
Block a user