Implement the 015-add-jscpd-gate feature that adds copy-paste detection to the quality gate using jscpd with a 5% duplication threshold integrated into pnpm check

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Lukas
2026-03-06 00:13:32 +01:00
parent 56bced8481
commit 2793a66672
11 changed files with 1183 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
"packageManager": "pnpm@10.6.0",
"devDependencies": {
"@biomejs/biome": "2.0.0",
"jscpd": "^4.0.8",
"knip": "^5.85.0",
"lefthook": "^1.11.0",
"typescript": "^5.8.0",
@@ -18,6 +19,7 @@
"test": "vitest run",
"test:watch": "vitest",
"knip": "knip",
"check": "knip && biome check . && tsc --build && vitest run"
"jscpd": "jscpd",
"check": "knip && biome check . && tsc --build && vitest run && jscpd"
}
}