-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsonar-project.properties
More file actions
36 lines (29 loc) · 1.06 KB
/
sonar-project.properties
File metadata and controls
36 lines (29 loc) · 1.06 KB
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
sonar.projectKey=NHSDigital_hometest-service
sonar.organization=nhsdigital
sonar.projectName=hometest-service
sonar.host.url=https://sonarcloud.io
sonar.qualitygate.wait=true
sonar.sourceEncoding=UTF-8
sonar.sources=lambdas,ui
sonar.tests=lambdas/src,ui/src,tests
sonar.test.inclusions=**/*.test.ts,**/*.spec.ts,**/*.test.js,**/*.spec.js,**/*.test.tsx,**/*.spec.tsx,**/*.test.jsx,**/*.spec.jsx
sonar.exclusions=\
**/node_modules/**,\
**/coverage/**,\
**/dist/**,\
**/build/**,\
**/.next/**,\
**/.swc/**,\
**/public/**,\
**/test-results/**,\
**/*.md,\
ui/content/content.json,\
lambdas/scripts/**,\
lambdas/jest/**
sonar.typescript.tsconfigPaths=lambdas/tsconfig.json,ui/tsconfig.json,tests/tsconfig.json
sonar.javascript.environments=node,browser
sonar.javascript.lcov.reportPaths=lambdas/coverage/lcov.info,ui/coverage/lcov.info
# Duplication - ignore test files
sonar.cpd.exclusions=**/*.test.ts,**/*.spec.ts,**/*.test.js,**/*.spec.js,**/*.test.tsx,**/*.spec.tsx,**/*.test.jsx,**/*.spec.jsx
# New code definition
sonar.newCode.referenceBranch=main