chore: gate TypeScript duplication in CI

This commit is contained in:
Tianyi Cui
2026-07-13 23:42:54 +08:00
parent 62eba83f4f
commit 661504b3ec
11 changed files with 244 additions and 71 deletions

14
.jscpd.json Normal file
View File

@@ -0,0 +1,14 @@
{
"minTokens": 100,
"minLines": 10,
"mode": "mild",
"format": ["typescript"],
"pattern": "**/src/**/*.ts",
"ignorePattern": [
"(?s)/\\* jscpd:ignore-start \\*/.*?/\\* jscpd:ignore-end \\*/"
],
"reporters": ["console"],
"exitCode": 1,
"noColors": true,
"noTips": true
}