From 05a527c741e047be7cba1f8fa98cf7a18b1a541d Mon Sep 17 00:00:00 2001 From: davmacario Date: Sun, 6 Oct 2024 18:53:49 +0200 Subject: [PATCH] ci: raise JSCPD threshold for code duplicates --- .jscpd.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .jscpd.json diff --git a/.jscpd.json b/.jscpd.json new file mode 100644 index 0000000..710e813 --- /dev/null +++ b/.jscpd.json @@ -0,0 +1,28 @@ +{ + "threshold": 10, + "reporters": [ + "html", + "markdown" + ], + "ignore": [ + "**/node_modules/**", + "**/.git/**", + "**/.rbenv/**", + "**/.venv/**", + "**/report/**", + "**/megalinter-reports/**", + "**/hardis-report/**", + "**/*cache*/**", + "**/*.json", + "**/*.yaml", + "**/*.yml", + "**/*.md", + "**/*.html", + "**/*.xml", + "**/*.jpg", + "**/*.png", + "**/*.svg", + "**/*.zip", + "**/*.bin" + ] +}