-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsonar-project.properties
More file actions
32 lines (23 loc) · 1.45 KB
/
sonar-project.properties
File metadata and controls
32 lines (23 loc) · 1.45 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
sonar.projectKey=oss-mfbtech_mfbtech-changelog-generator
sonar.organization=oss-mfbtech
# Display name (kept in sync with package.json "name")
sonar.projectName=@mfbtech/changelog-generator
sonar.projectVersion=1.0.1
# Relative paths to sources (only production code). Jest tests live under __tests__ and are excluded below.
sonar.sources=src
# Exclude test, mock, and generated build output. (Rollup builds to out/ but we only analyze TS sources.)
sonar.exclusions=**/__tests__/**/*,**/__mocks__/**/*,out/**/*
# Encoding (explicit for portability)
sonar.sourceEncoding=UTF-8
# Coverage report produced by: npm run test:ci (jest --collectCoverage) -> default lcov path
sonar.javascript.lcov.reportPaths=coverage/lcov.info
sonar.typescript.lcov.reportPaths=coverage/lcov.info
# Optional: Narrow down file suffixes if needed (Sonar auto-detects TS/JS). Left commented for now.
# sonar.typescript.file.suffixes=.ts,.tsx
# PR / Branch analysis (values auto-provided by GitHub Action environment; no need to set manually):
# sonar.pullrequest.provider=GitHub
# sonar.pullrequest.github.repository=MFB-Technologies-Inc/changelog-generator
# Housekeeping: reduce noise from config or meta files (still appear in repo but not analyzed for code smells)
sonar.exclusions=**/__tests__/**/*,**/__mocks__/**/*,out/**/*
sonar.test.exclusions=**/__tests__/**/*,**/__mocks__/**/*
# (If you later add integration tests with coverage, ensure they also feed into lcov.info or add another path.)