-
Notifications
You must be signed in to change notification settings - Fork 39
/
sonar-project.properties
40 lines (29 loc) · 1.69 KB
/
sonar-project.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
sonar.projectKey=nrkno_sofie-core
sonar.organization=nrkno
# This is the name and version displayed in the SonarCloud UI.
#sonar.projectName=sofie-core
#sonar.projectVersion=1.0
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
#sonar.sources=.
# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8
sonar.exclusions=meteor/__mocks__/check/**,meteor/eslint-rules/*.js,packages/documentation/**
sonar.issue.ignore.multicriteria=ternary,todo,nullish,redundantalias,switchstatement3cases,preferoptionalchain
# Ternary operators should not be nested
sonar.issue.ignore.multicriteria.ternary.ruleKey=typescript:S3358
sonar.issue.ignore.multicriteria.ternary.resourceKey=**/*
# Track uses of "TODO" tags
sonar.issue.ignore.multicriteria.todo.ruleKey=typescript:S1135
sonar.issue.ignore.multicriteria.todo.resourceKey=**/*
# Prefer using nullish coalescing operator
sonar.issue.ignore.multicriteria.nullish.ruleKey=typescript:S6606
sonar.issue.ignore.multicriteria.nullish.resourceKey=**/*
# Remove this redundant type alias and replace its occurrences with X
sonar.issue.ignore.multicriteria.redundantalias.ruleKey=typescript:S6564
sonar.issue.ignore.multicriteria.redundantalias.resourceKey=**/*
# "switch" statements should have at least 3 "case" clauses
sonar.issue.ignore.multicriteria.switchstatement3cases.ruleKey=typescript:S1301
sonar.issue.ignore.multicriteria.switchstatement3cases.resourceKey=**/*
# Prefer using an optional chain expression instead, as it's more concise and easier to read
sonar.issue.ignore.multicriteria.preferoptionalchain.ruleKey=typescript:S6582
sonar.issue.ignore.multicriteria.preferoptionalchain.resourceKey=**/*