Files
drop/package.json
John SmithandClaude Opus 5 4aaf756b47 chore: add lefthook git hooks and polyglot static analysis toolchain
- lefthook (pnpm devDep, auto-installed via prepare script): pre-commit
  runs prettier + eslint --fix on staged files, ast-grep structural scan,
  gitleaks secret scan; pre-push runs server typecheck, per-crate clippy,
  golangci-lint (--new-from-rev rollout mode), knip report-only
- knip.json workspace config; baseline recorded in CLAUDE.md
- sgconfig.yml + starter rules (no-console-log TS/Vue, no-fmt-println Go)
- backend/.golangci.yml v2 with gosec; golangci-lint job added to CI
- security.yml: gitleaks history scan, cargo-audit matrix over all 7 Rust
  crates, weekly scheduled semgrep SARIF upload (semgrep-scheduled.yml)
- root .prettierrc.json shared across the workspace
- server-ci.yml: non-blocking knip report artifact job

Co-Authored-By: Claude Opus 5 <[email protected]>
2026-08-26 01:07:01 -04:00

16 lines
444 B
JSON

{
"name": "drop",
"private": true,
"packageManager": "[email protected]+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
"devDependencies": {
"@ast-grep/cli": "^0.45.2",
"knip": "^6.32.2",
"lefthook": "^2.1.10",
"prettier": "^3.9.6",
"prettier-plugin-sort-json": "^4.2.0"
},
"scripts": {
"prepare": "lefthook install"
}
}