Skip to content

Commit f4de948

Browse files
committed
[workflow/test] Updated sonar config
1 parent 4b61b27 commit f4de948

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

sonar-project.properties

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

44
# Exclude test files from analysis
5-
sonar.exclusions=**/__tests__/**,**/*.test.{js,ts,tsx},**/*.spec.{js,ts,tsx}
6-
sonar.exclusions=**/android/**/*.*,**/ios/**/*.*
5+
sonar.coverage.exclusions=**/android/**/*.*,**/ios/**/*.*,**/*.test.ts,**/*test.ts,**/*.test.tsx,**/*test.tsx,**/tests/**,**/specs/**,**/*styles.ts,**/consts.ts,**/utils.ts,**/config.js
76

8-
# Optionally exclude from coverage calculation
9-
sonar.coverage.exclusions=**/__tests__/**,**/*.test.{js,ts,tsx},**/*.spec.{js,ts,tsx}
7+
sonar.exclusions=**/android/**/*.*,**/ios/**/*.*
108

119
sonar.javascript.file.suffixes=.js,.jsx
1210
sonar.typescript.file.suffixes=.ts,.tsx

0 commit comments

Comments
 (0)