feat: Integrate Staticcheck Pre-Commit Hook and Update QA Report

- Updated current specification to reflect the integration of Staticcheck into pre-commit hooks.
- Added problem statement, success criteria, and implementation plan for Staticcheck integration.
- Enhanced QA validation report to confirm successful implementation of Staticcheck pre-commit blocking.
- Created new Playwright configuration and example test cases for frontend testing.
- Updated package.json and package-lock.json to include Playwright and related dependencies.
- Archived previous QA report for CI workflow documentation updates.
This commit is contained in:
GitHub Actions
2026-01-11 05:33:01 +00:00
parent 5674280c65
commit a895bde4e9
21 changed files with 2812 additions and 456 deletions

View File

@@ -31,6 +31,17 @@ repos:
language: system
files: '\.go$'
pass_filenames: false
- id: golangci-lint-fast
name: golangci-lint (Fast Linters - BLOCKING)
entry: >
bash -c 'command -v golangci-lint >/dev/null 2>&1 ||
{ echo "ERROR: golangci-lint not found. Install: https://golangci-lint.run/usage/install/"; exit 1; };
cd backend && golangci-lint run --config .golangci-fast.yml ./...'
language: system
files: '\.go$'
exclude: '_test\.go$'
pass_filenames: false
description: "Runs fast, essential linters (staticcheck, govet, errcheck, ineffassign, unused) - BLOCKS commits on failure"
- id: check-version-match
name: Check .version matches latest Git tag
entry: bash -c 'scripts/check-version-match-tag.sh'