From fd99e5f3c00d9474281ac251d33efbeb26ad32b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=9C=A8=20Audrey=20=E2=9C=A8?= Date: Mon, 6 Nov 2023 15:48:34 -0500 Subject: [PATCH] disable code duplication check in unit tests (#6773) --- .codescene/code-health-rules.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .codescene/code-health-rules.json diff --git a/.codescene/code-health-rules.json b/.codescene/code-health-rules.json new file mode 100644 index 0000000000..bafdb1188e --- /dev/null +++ b/.codescene/code-health-rules.json @@ -0,0 +1,14 @@ +{ + "usage": "Documentation: https://codescene.io/docs/guides/technical/code-health.html. Template: https://codescene.io/projects/26215/config/codehealth/export/code-health-rules.json", + "rule_sets": [ + { + "matching_content_path": "**/*.spec.ts", + "rules": [ + { + "name": "Code Duplication", + "weight": 0.0 + } + ] + } + ] +}