From 9882b4b6ba26aaa035ef631a365f520424308b2a Mon Sep 17 00:00:00 2001 From: chinlinlee Date: Sat, 28 Oct 2023 22:11:58 +0800 Subject: [PATCH] chore: add jscpd config --- .gitignore | 5 ++++- .jscpd.json | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .jscpd.json diff --git a/.gitignore b/.gitignore index 36df3e98..069815de 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,7 @@ /config/logback.xml /pm2log/** !pm2log/.gitkeep -config/ae-prod.properties \ No newline at end of file +config/ae-prod.properties + +# ignore jscpd output report +/report \ No newline at end of file diff --git a/.jscpd.json b/.jscpd.json new file mode 100644 index 00000000..68acee73 --- /dev/null +++ b/.jscpd.json @@ -0,0 +1,14 @@ +{ + "threshold": 0.1, + "reporters": [ + "html", + "console" + ], + "ignore": [ + "**/node_modules/**", + "models/DICOM/dcm4che/wrapper/**/*.ts", + "models/DICOM/dcm4che/wrapper/**/*.js" + ], + "absolute": true, + "gitignore": true +} \ No newline at end of file