Skip to content

Commit a0e1088

Browse files
committed
ci(sonarqube): update config for sonarqube cloud
1 parent 564a870 commit a0e1088

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
1717
- name: SonarCloud Scan
1818
uses: SonarSource/sonarqube-scan-action@bfd4e558cda28cda6b5defafb9232d191be8c203 # v4.2.1
19+
with:
20+
projectBaseDir: .
1921
env:
2022
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
2123
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

sonar-project.properties

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
sonar.projectKey=Lundalogik_lime-elements
22
sonar.organization=lime
33
sonar.projectVersion=37.81.5
4+
sonar.verbose=true
5+
sonar.sources=./
6+
sonar.tests=./
7+
sonar.test.inclusions=**/*.spec.ts,**/*.spec.tsx,**/*.e2e.ts,**/*.e2e.tsx
48
sonar.typescript.tsconfigPaths=./tsconfig.sonar.json
9+
sonar.rules.typescript.S6747.whitelist=class,tabindex,readonly,autocomplete,innerHTML

0 commit comments

Comments
 (0)