Skip to content

Commit 3786b18

Browse files
committed
[workflow/test] updated sonar qube config
1 parent 8c8bf38 commit 3786b18

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

sonar-project.properties

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
sonar.projectKey=material-elements_react-native-material-elements
22
sonar.organization=material-elements
33

4-
sonar.coverage.exclusions=**/android/**/*.*,**/ios/**/*.*,**/*.test.ts,**/*test.ts,**/*.test.tsx,**/*test.tsx,**/tests/**,**/specs/**
5-
4+
# Exclude test files from analysis
5+
sonar.exclusions=**/__tests__/**,**/*.test.{js,ts,tsx},**/*.spec.{js,ts,tsx}
66
sonar.exclusions=**/android/**/*.*,**/ios/**/*.*
77

8+
# Optionally exclude from coverage calculation
9+
sonar.coverage.exclusions=**/__tests__/**,**/*.test.{js,ts,tsx},**/*.spec.{js,ts,tsx}
10+
811
sonar.javascript.file.suffixes=.js,.jsx
912
sonar.typescript.file.suffixes=.ts,.tsx
1013

0 commit comments

Comments
 (0)