Skip to content

Commit a0b6909

Browse files
authored
Update sonar-project.properties for new directory structure
1 parent 796c92d commit a0b6909

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

sonar-project.properties

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
1-
# --- Required identifiers (take org/key from SonarCloud project "Administration → Update key" if needed)
21
sonar.organization=<your-sonarcloud-org-key>
32
sonar.projectKey=hammadhttps_HealVista-hospital-System-react-node-express-sqlserver-app
43
sonar.projectName=HealVista Hospital System
54

6-
# --- Sources & tests
7-
sonar.sources=frontend/src,backend/src
5+
# Sources & tests
6+
sonar.sources=front_end/src,back_end
87
sonar.exclusions=**/node_modules/**,**/dist/**,**/build/**,**/*.min.js
9-
sonar.tests=frontend/src,backend/src
8+
sonar.tests=front_end/src,back_end
109
sonar.test.inclusions=**/*.test.js,**/*.spec.js,**/*.test.ts,**/*.spec.ts
1110

12-
# --- Coverage (optional but nice for the dashboard)
13-
# Jest will produce these files if you run tests with coverage enabled
14-
sonar.javascript.lcov.reportPaths=frontend/coverage/lcov.info,backend/coverage/lcov.info
15-
16-
# --- Housekeeping: ignore generated files
17-
sonar.coverage.exclusions=**/*.config.js,**/*.config.cjs,**/*.config.mjs,**/webpack*/**,**/vite*/**,**/*.stories.*,
11+
# Coverage reports produced by the workflow steps above
12+
sonar.javascript.lcov.reportPaths=front_end/coverage/lcov.info,back_end/coverage/lcov.info

0 commit comments

Comments
 (0)