-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsonar-project.properties
42 lines (33 loc) · 1.74 KB
/
sonar-project.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Project identification
sonar.projectKey=shaharia-lab_smarty-pants
sonar.organization=shaharia-lab
sonar.projectName=smarty-pants
# Source encoding
sonar.sourceEncoding=UTF-8
# Project structure
sonar.sources=backend,frontend/smarty-pants,frontend/chat_widget
sonar.tests=backend,frontend/smarty-pants,frontend/chat_widget
# Language-specific source directories
sonar.go.sources=backend
sonar.typescript.sources=frontend/smarty-pants,frontend/chat_widget
sonar.javascript.sources=frontend/smarty-pants,frontend/chat_widget
# Backend (Go) specific configurations
sonar.go.coverage.reportPaths=backend/coverage.out
sonar.go.coverage.forceGoPath=true
# Frontend (TypeScript/JavaScript) specific configurations
sonar.typescript.lcov.reportPaths=frontend/smarty-pants/coverage/lcov.info,frontend/chat_widget/coverage/lcov.info
sonar.javascript.lcov.reportPaths=frontend/smarty-pants/coverage/lcov.info,frontend/chat_widget/coverage/lcov.info
# Exclusions
sonar.exclusions=**/*_test.go,**/vendor/**,**/testdata/*,**/*.yaml,**/*.yml,**/*_mock.go,**/node_modules/**,**/*.spec.ts,**/*.spec.tsx,**/*.test.ts,**/*.config.js,**/*.setup.js,**/*.config.mjs,**/*.test.tsx,**/*Dockerfile,**/*.dockerfile
sonar.test.inclusions=**/*_test.go,**/*.spec.ts,**/*.spec.tsx,**/*.test.ts,**/*.test.tsx
sonar.test.exclusions=**/vendor/**,**/node_modules/**,**/migrations/**
# SCM settings
sonar.scm.provider=git
# Links
sonar.links.homepage=https://github.com/shaharia-lab/smarty-pants
sonar.links.issue=https://github.com/shaharia-lab/smarty-pants/issues
sonar.links.ci=https://github.com/shaharia-lab/smarty-pants/actions
sonar.links.scm=https://github.com/shaharia-lab/smarty-pants.git
# Go-specific settings
sonar.go.file.suffixes=.go
sonar.go.exclusions=**/*_test.go,**/vendor/**,**/migrations/**