fix: exclude React components from SonarQube coverage analysis
React components/pages are tested with E2E tests, not unit tests. Focus coverage requirements on utility code (utils, services, hooks). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
a31999a037
commit
830b810c9d
|
|
@ -10,6 +10,9 @@ sonar.sources=app,components,contexts,hooks,lib,services,types,utils
|
||||||
# Exclusions
|
# Exclusions
|
||||||
sonar.exclusions=**/node_modules/**,**/*.spec.ts,**/*.test.ts,**/*.spec.tsx,**/*.test.tsx,**/coverage/**,**/.next/**,**/public/**,**/*.config.js,**/*.config.ts,**/dist/**,**/build/**
|
sonar.exclusions=**/node_modules/**,**/*.spec.ts,**/*.test.ts,**/*.spec.tsx,**/*.test.tsx,**/coverage/**,**/.next/**,**/public/**,**/*.config.js,**/*.config.ts,**/dist/**,**/build/**
|
||||||
|
|
||||||
|
# Coverage exclusions (React components/pages tested with E2E, not unit tests)
|
||||||
|
sonar.coverage.exclusions=app/**/*.tsx,components/**/*.tsx,contexts/**/*.tsx,types/**/*.ts,**/*.d.ts
|
||||||
|
|
||||||
# Encodage des fichiers
|
# Encodage des fichiers
|
||||||
sonar.sourceEncoding=UTF-8
|
sonar.sourceEncoding=UTF-8
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user