mirror of
https://github.com/rishikanthc/Scriberr.git
synced 2026-03-03 03:57:01 +00:00
fix: new tests for chat and user management flows fix: resolve lint errors fix: configured lefthook to check entire project
19 lines
359 B
YAML
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
|