2024-07-25 15:15:04 +02:00
|
|
|
# Define the same root directory for sources and tests
|
|
|
|
|
sonar.sources = src/
|
|
|
|
|
sonar.tests = src/
|
|
|
|
|
|
|
|
|
|
# Include test files in the test scope
|
|
|
|
|
sonar.test.inclusions = src/**/*.test.ts
|
|
|
|
|
|
2024-07-25 16:12:00 +02:00
|
|
|
# Exclude test, stories, icon, lang, and generated files from the source scope
|
|
|
|
|
sonar.exclusions = src/**/*.test.ts, src/**/*.stories.ts, src/packages/core/icon-registry/**, src/assets/**, src/external/backend-api/**
|