docs: update quality rails docs for gitleaks migration (#6)

This commit was merged in pull request #6.
This commit is contained in:
2026-02-24 21:33:25 +00:00
parent 38223c8ec2
commit 1fd67b9ec0
3 changed files with 15 additions and 10 deletions

View File

@@ -43,7 +43,7 @@ npx husky install
**TypeScript strict mode** - All type checks enabled
**ESLint blocking `any` types** - no-explicit-any: error
**Pre-commit hooks** - Type check + lint + format before commit
**Secret scanning** - Block hardcoded passwords/API keys
**Secret scanning (gitleaks)** - Block hardcoded passwords/API keys (pre-commit + CI)
**CI/CD templates** - Woodpecker, GitHub Actions, GitLab
**Test coverage enforcement** - 80% threshold
**Security scanning** - npm audit, OWASP checks
@@ -96,11 +96,12 @@ git commit -m "Add feature"
### CI/CD (Remote Enforcement)
```yaml
# Woodpecker pipeline runs:
✓ gitleaks (secret scanning — parallel, no deps)
✓ npm audit (dependency security)
✓ eslint (code quality)
✓ tsc --noEmit (type checking)
✓ jest --coverage (tests + coverage)
✓ npm run build (compilation)
✓ npm run build (compilation — gates on all above)
# If any step fails, merge is blocked
```