Files
Scriberr/lefthook.yml
rishikanthc 7fc7619ee6 fix: tests for upstream changes
fix: new tests for chat and user management flows

fix: resolve lint errors

fix: configured lefthook to check entire project
2025-12-16 18:21:36 -08:00

19 lines
359 B
YAML

# lefthook.yml
pre-commit:
parallel: true
commands:
go-lint:
glob: "**/*.go"
run: golangci-lint run ./...
frontend-lint:
root: "web/frontend/"
glob: "**/*.{js,jsx,ts,tsx}"
run: npx eslint {staged_files}
frontend-type-check:
root: "web/frontend/"
glob: "**/*.{ts,tsx}"
run: npm run type-check