Skip to content

Commit 99cfe89

Browse files
authored
Merge pull request #813 from companieshouse/feat/cc-2938/update-to-v24
chore/cc-2938: update sonar and project config options
2 parents 5981fdf + 63cf1ca commit 99cfe89

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "0.0.0",
44
"main": "./dist/index.js",
55
"types": "./dist/index.d.ts",
6+
"type": "module",
67
"files": [
78
"dist"
89
],
@@ -53,7 +54,7 @@
5354
"nyc": "^15.1.0",
5455
"sinon": "^9.2.4",
5556
"sinon-chai": "~3.5.0",
56-
"sonarqube-scanner": "^2.8.1",
57+
"sonarqube-scanner": "^3.5.0",
5758
"ts-node": "9.1.1",
5859
"typescript": "4.1.6"
5960
},

sonar-project.properties

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
sonar.projectKey=api-sdk-node
1+
sonar.projectKey=uk.gov.companieshouse:api-sdk-node
22

33
sonar.host.url=${env.CODE_ANALYSIS_HOST_URL}
4-
sonar.login=${env.CODE_ANALYSIS_LOGIN}
5-
sonar.password=${env.CODE_ANALYSIS_PASSWORD}
4+
sonar.token=${env.CODE_ANALYSIS_TOKEN}
65

76
sonar.sources=src
87
sonar.tests=test

0 commit comments

Comments
 (0)