# 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 # 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/**