Files
hermes-agent/lefthook.yml
2026-10-10 23:58:48 +02:00

36 lines
845 B
YAML

pre-commit:
jobs:
- name: lint python
glob: "*.py" # glob filter
run: ruff check --config ./ruff.pre-commit.toml {staged_files}
- name: lint web
root: web/
glob: "*.{js,ts,tsx}"
run: npx eslint {staged_files}
- name: lint bootstrap installer
root: apps/bootstrap-installer/
glob: "*.{js,ts,tsx}"
run: npx eslint {staged_files}
- name: lint desktop app
root: apps/desktop/
glob: "*.{js,ts,tsx}"
run: npx eslint {staged_files}
- name: lint tui
root: ui-tui/
glob: "*.{js,ts,tsx}"
run: npx eslint {staged_files}
- name: lint shared
root: apps/shared/
glob: "*.{js,ts,tsx}"
run: npx eslint {staged_files}
- name: lint tests
root: tests-js/
glob: "*.{js,ts,tsx}"
run: npx eslint {staged_files}