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,34 @@ This project follows a Code of Conduct that all contributors are expected to adh
- Git for version control
- A GitHub account
### Development Tools
Install golangci-lint for pre-commit hooks (required for Go development):
```bash
# Option 1: Homebrew (macOS/Linux)
brew install golangci-lint
# Option 2: Go install (any platform)
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
# Option 3: Binary installation (see https://golangci-lint.run/usage/install/)
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin
```
Ensure `$GOPATH/bin` is in your `PATH`:
```bash
export PATH="$PATH:$(go env GOPATH)/bin"
```
Verify installation:
```bash
golangci-lint --version
# Should output: golangci-lint has version 1.xx.x ...
```
**Note:** Pre-commit hooks will **BLOCK commits** if golangci-lint finds issues. This is intentional - fix the issues before committing.
### Fork and Clone
1. Fork the repository on GitHub