From 88ea2a44d3787b8713aa327382ed11aa7d298acd Mon Sep 17 00:00:00 2001 From: Paul Bienkowski Date: Mon, 29 Nov 2021 00:51:40 +0100 Subject: [PATCH] Add sonar settings to ignore some warnings --- sonar-project.properties | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sonar-project.properties diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..87ee5b9 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,7 @@ +sonar.python.version=3.6, 3.8 + +sonar.issue.ignore.multicriteria=e1 + +# Ignore nested ternary operations in JS, specifically JSX +sonar.issue.ignore.multicriteria.e1.ruleKey=javascript:S3358 +sonar.issue.ignore.multicriteria.e1.resourceKey=frontend/**