-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonar-project.properties
16 lines (13 loc) · 1.46 KB
/
sonar-project.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
sonar.projectKey=Sales-Go
sonar.projectName=Sales-Go
sonar.projectVersion=1.0
# source of program
sonar.sources=.
# source of program that will not be scanned by sonnar scanner
sonar.exclusions=**/config/**, **/db/**, **main.go, **/docs/**, **/helpers/**, **/helpers-mocks/***, **/publisher/**, **/publisher-mock/**, **/reports/**, **/repository-mocks/**, **/usecase-mocks/**, **/sql/**, **/handler/product/product_cli.go, **handler/voucher/voucher_cli.go, **/repository/product/product_cli.go, **/repository/transaction/transaction_cli.go, **/repository/voucher/voucher_cli.go, **/repository/product/product_http_json_impl.go, **repository/transaction/transaction_http_json_impl.go, **repository/voucher/voucher_http_json_impl.go
sonar.ts.tslint.configPath=tslint.json
sonar.typescript.lcov.reportPaths=coverage/lcov.info
# testing needs config
sonar.test.inclusions=**/*_test.go
sonar.test.exclusions=**/config/**, **/db/**, **main.go, **/docs/**, **/helpers/**, **/helpers-mocks/**, **/publisher/**, **/publisher-mock/**, **/reports/**, **/repository-mocks/**, **/usecase-mocks/**, **/sql/**, **/handler/product/product_cli.go, **handler/voucher/voucher_cli.go, **/repository/product/product_cli.go, **/repository/transaction/transaction_cli.go, **/repository/voucher/voucher_cli.go, **/repository/product/product_http_json_impl.go, **repository/transaction/transaction_http_json_impl.go, **repository/voucher/voucher_http_json_impl.go
sonar.go.coverage.reportPaths=reports/result.out