sonar.projectKey=sdks-react
sonar.projectName=SDKs React
sonar.projectVersion=1.0

# SonarQube Server Configuration
sonar.host.url=http://localhost:9000
sonar.login=your-sonarqube-token-here
sonar.organization=your-organization-key-here
sonar.sourceEncoding=UTF-8
sonar.exclusions=**/node_modules/**,**/*.test.tsx,**/*.spec.tsx
sonar.coverage.exclusions=**/*.test.tsx,**/*.spec.tsx
sonar.javascript.lcov.reportPaths=coverage/lcov.info
sonar.sources=src
sonar.language=ts
sonar.sourceEncoding=UTF-8
sonar.exclusions=**/node_modules/**,**/*.test.tsx,**/*.spec.tsx
sonar.coverage.exclusions=**/*.test.tsx,**/*.spec.tsx
sonar.javascript.lcov.reportPaths=coverage/lcov.info

# Quality Profiles
sonar.typescript.tsconfigPath=tsconfig.json
sonar.typescript.lcov.reportPaths=coverage/lcov.info
sonar.typescript.coverage.reportPaths=coverage/lcov.info

# Analysis Settings
sonar.typescript.enableESLint=true
sonar.typescript.eslint.configPath=.eslintrc.json
sonar.typescript.tslint.configPath=tslint.json

# React Specific Settings
sonar.typescript.react=true
sonar.typescript.react.configPath=tsconfig.json

# Quality Gates
sonar.qualitygate.wait=true
sonar.qualitygate.timeout=300
sonar.qualitygate.conditions=
  sonar.coverage.lines.covered>80
  sonar.duplicated.lines.density<5
  sonar.blocker.violations<1
  sonar.critical.violations<10

# Analysis Mode
sonar.analysis.mode=preview
sonar.preview.inclusions=src/**/*.tsx,src/**/*.ts
sonar.preview.exclusions=**/node_modules/**,**/*.test.tsx,**/*.spec.tsx

# Performance Settings
sonar.ce.javaOpts=-Xmx1024m
sonar.scanner.javaOpts=-Xmx1024m

