forked from gchq/Bailo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsonar-project.properties
More file actions
25 lines (19 loc) · 1001 Bytes
/
sonar-project.properties
File metadata and controls
25 lines (19 loc) · 1001 Bytes
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
sonar.issue.ignore.multicriteria=e1,e2,e3,e4,e5
# allow await to be used during a return
sonar.issue.ignore.multicriteria.e1.ruleKey=typescript:S4326
sonar.issue.ignore.multicriteria.e1.resourceKey=**/*.ts
# allow our yaml configuration to be more than 80 chars per line
sonar.issue.ignore.multicriteria.e2.ruleKey=yaml:LineLengthCheck
sonar.issue.ignore.multicriteria.e2.resourceKey=**/*.yml
# next.js pathing does not allow us to conform to this rule
sonar.issue.ignore.multicriteria.e3.ruleKey=typescript:S3317
sonar.issue.ignore.multicriteria.e3.resourceKey=**/*.ts
sonar.issue.ignore.multicriteria.e4.ruleKey=typescript:S3317
sonar.issue.ignore.multicriteria.e4.resourceKey=**/*.tsx
# sonarqube mistakenly thinks all mongoose calls are non-promise returning
sonar.issue.ignore.multicriteria.e5.ruleKey=typescript:S4123
sonar.issue.ignore.multicriteria.e5.resourceKey=**/*.ts
# improve sonarscanner speed
sonar.sourceEncoding=UTF-8
sonar.javascript.node.maxspace=8192
sonar.cpd.exclusions=**