mirror of
https://github.com/Heretek-AI/drop.git
synced 2026-10-12 02:03:36 +00:00
- 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]>
32 lines
688 B
JSON
32 lines
688 B
JSON
{
|
|
"$schema": "./node_modules/knip/schema.json",
|
|
"workspaces": {
|
|
".": {
|
|
"entry": ["lefthook.yml"],
|
|
"ignoreDependencies": [
|
|
"lefthook",
|
|
"knip",
|
|
"@ast-grep/cli",
|
|
"prettier",
|
|
"prettier-plugin-sort-json"
|
|
]
|
|
},
|
|
"desktop": {},
|
|
"libraries/base": {},
|
|
"server": {
|
|
"entry": [
|
|
"app.vue",
|
|
"error.vue",
|
|
"nuxt.config.ts",
|
|
"plugins/**/*.{ts,js}",
|
|
"middleware/**/*.{ts,js}",
|
|
"layouts/**/*.vue"
|
|
],
|
|
"ignore": [".nuxt/**", ".output/**", ".data/**", "build/**"],
|
|
"project": ["**/*.{ts,js,mjs,vue}"]
|
|
},
|
|
"sites/docs": {},
|
|
"sites/promo": {}
|
|
}
|
|
}
|