Skip to content

Commit 2cdcd3a

Browse files
authored
Add sonar-project.properties for SonarCloud configuration
1 parent fd818f6 commit 2cdcd3a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

sonar-project.properties

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# --- Required identifiers (take org/key from SonarCloud project "Administration → Update key" if needed)
2+
sonar.organization=<your-sonarcloud-org-key>
3+
sonar.projectKey=hammadhttps_HealVista-hospital-System-react-node-express-sqlserver-app
4+
sonar.projectName=HealVista Hospital System
5+
6+
# --- Sources & tests
7+
sonar.sources=frontend/src,backend/src
8+
sonar.exclusions=**/node_modules/**,**/dist/**,**/build/**,**/*.min.js
9+
sonar.tests=frontend/src,backend/src
10+
sonar.test.inclusions=**/*.test.js,**/*.spec.js,**/*.test.ts,**/*.spec.ts
11+
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.*,

0 commit comments

Comments
 (0)