build: Add jscpd config for local and CI duplication scans (#39198)

Co-authored-by: Claude Sonnet 5 <[email protected]>
This commit is contained in:
Emilia
2026-10-07 07:37:00 +00:00
committed by GitHub
co-authored by Claude Sonnet 5
parent e882e8a483
commit e500386a54
4 changed files with 116 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
{
"threshold": 10.5,
"reporters": ["json", "html"],
"gitignore": true,
"ignore": [
"**/__snapshots__/**",
"**/*.snap",
"**/fixtures/**",
"**/locales/**",
"**/i18n/**",
"**/*.generated.*",
"**/__schema__/**",
"**/cassettes/**",
"packages/@n8n/typeorm/test/**",
"docs/generated/**",
"**/test/**/*.workflow.json",
"**/tests/**/*.workflow.json",
"**/__tests__/**/*.workflow.json",
"**/test/**/workflow.*.json",
"**/tests/**/workflow.*.json",
"**/__tests__/**/workflow.*.json",
"**/test/**/workflows/**/*.json",
"**/tests/**/workflows/**/*.json",
"**/__tests__/**/workflows/**/*.json"
]
}