mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
* CB-6263 migrate to lefthook * CB-6263 remove old pre-commit * CB-6263 specify how to execute lefthook * CB-6263 add config file * CB-6263 get license from configuration file * CB-6263 remove old script * CB-6263 remove old license * CB-6263 add locales check * CB-6283 fix vscode commit msg * CB-6263 filter staged files on lib level * CB-6263 do not run hooks sync in CI * CB-6263 change script * CB-6263 revert postinstall --------- Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
13 lines
236 B
YAML
13 lines
236 B
YAML
lefthook: |
|
|
cd webapp
|
|
yarn lefthook
|
|
output: false
|
|
pre-commit:
|
|
commands:
|
|
check-license:
|
|
root: webapp
|
|
glob: "*.{ts,tsx}"
|
|
exclude:
|
|
- "**/locales/**"
|
|
run: yarn core-cli-check-license {staged_files}
|