Commit Graph
3 Commits
Author SHA1 Message Date
popertotsandSisyphus cbede4c267 hooks: add staticcheck, gosec, go mod tidy, and gitleaks to pre-commit
CI / Nginx config check (push) Failing after 5s
CI / Env docs check (push) Failing after 6s
CI / Docker compose check (push) Failing after 6s
CI / Secrets scan (push) Failing after 7s
CI / Frontend deps check (push) Failing after 21s
CI / Knip (push) Has been skipped
CI / Frontend a11y check (push) Has been skipped
CI / Go build (push) Successful in 31s
CI / Frontend build (push) Successful in 53s
CI / go mod tidy (push) Successful in 18s
CI / Svelte strict check (push) Has been skipped
CI / Frontend QC (audit) (push) Has been skipped
CI / Frontend QC (typecheck) (push) Has been skipped
CI / Frontend QC (lint) (push) Has been skipped
CI / Go vulnerabilities (push) Successful in 1m0s
CI / Go vet (push) Successful in 1m40s
CI / Staticcheck (push) Failing after 1m54s
CI / golangci-lint (push) Successful in 2m6s
CI / Security scan (gosec) (push) Failing after 2m45s
CI / Tests (prod) (push) Has been skipped
CI / Tests (dev) (push) Has been skipped
CI / Race (prod) (push) Has been skipped
CI / Race (dev) (push) Has been skipped
Pre-commit now runs: prettier, eslint, go vet, staticcheck, gosec, go mod tidy check, and gitleaks (if installed). Matches the expanded CI pipeline. gitleaks is optional locally (skips gracefully if not installed).

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-07-10 09:58:44 +01:00
popertotsandSisyphus 1c09e4220b fix: run eslint on every commit and restore gdpr navigation eslint-disable
CI / Go vulnerabilities (push) Successful in 29s
CI / Frontend lint & types (push) Successful in 1m37s
CI / Tests (push) Successful in 1m50s
CI / Race detector (push) Successful in 3m48s
Pre-commit hook now runs eslint on all frontend files regardless of what's staged, catching pre-existing issues. Restore the necessary eslint-disable in gdpr page for the async goto call.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-07-05 22:43:48 +01:00
popertotsandSisyphus 27f1f6f5cc chore: add pre-commit hook with auto-format and lint checks
CI / Go vulnerabilities (push) Successful in 32s
CI / Tests (push) Successful in 1m34s
CI / Frontend lint & types (push) Failing after 1m46s
CI / Race detector (push) Successful in 4m4s
Pre-commit hook runs prettier --write on staged frontend files, re-stages them, then checks eslint and go vet. Blocks the commit if eslint or vet fails. Stored in .githooks/ (version controlled) — enable with: git config core.hooksPath .githooks

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-07-05 22:37:08 +01:00