-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsonar-project.properties
More file actions
35 lines (27 loc) · 1.08 KB
/
sonar-project.properties
File metadata and controls
35 lines (27 loc) · 1.08 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
33
34
35
# Project identification
sonar.projectKey=celonis_content-cli
sonar.organization=celonis
sonar.projectName=Content CLI
# Source code location
sonar.sources=src
# Test location
sonar.tests=tests
# Encoding
sonar.sourceEncoding=UTF-8
# Coverage reporting (from Jest / ts-jest)
sonar.javascript.lcov.reportPaths=coverage/lcov.info
# Build output and generated artifacts — excluded from all analysis
sonar.exclusions=dist/**, dist-bundle/**, node_modules/**, coverage/**, **/*.d.ts
# Excluded from coverage only — still scanned for bugs and code smells.
# These files contain no executable logic that unit tests can meaningfully cover:
# - *.interface.ts / *.interfaces.ts : type-only declarations
# - *.constants.ts : enum / constant maps
# - src/content-cli.ts : CLI entry point (top-level execution)
sonar.coverage.exclusions=src/content-cli.ts, \
**/*.interface.ts, \
**/*.interfaces.ts, \
**/*.constants.ts
# Test file inclusions (only .spec.ts is used in this repo)
sonar.test.inclusions=**/*.spec.ts
# Report verbose output
sonar.verbose=true