-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonar-project.properties
60 lines (47 loc) · 2.14 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# INFO, DEBUG, TRACE
sonar.log.level=INFO
sonar.verbose=false
sonar.showProfiling=false
# Default source code encoding
sonar.sourceEncoding=UTF-8
# SonarCloud mandatory properties
sonar.projectKey=kc-workspace_kcws-js
sonar.organization=kc-workspace
# SonarCloud UI settings.
sonar.projectName=kcws-js
sonar.projectVersion=v0.0.0-development
sonar.links.homepage=https://js.kcws.kamontat.net/
sonar.links.ci=https://github.com/kc-workspace/kcws-js/actions
sonar.links.issue=https://github.com/kc-workspace/kcws-js/issues
sonar.links.scm=https://github.com/kc-workspace/kcws-js
# Use for sonar cloud server
sonar.host.url=https://sonarcloud.io
# For Github repository
sonar.pullrequest.provider=Github
sonar.pullrequest.github.summary_comment=true
sonar.pullrequest.github.repository=kc-workspace/kcws-js
# Project scope
sonar.sources=.
sonar.projectBaseDir=.
# editorconfig-checker-disable
sonar.inclusions=**/*.js,**/*.jsx,**/*.ts,**/*.tsx,**/*.json,**/*.yml,**/*.yaml,**/*.md
sonar.exclusions=**/node_modules/**/*,**/scripts/**/*,**/.heft/**/*,**/.stryker-tmp/**/*,**/prettier-config/**/*
# Javascript/Typescript settings
sonar.typescript.file.suffixes=.ts,.tsx,.cts,.mts
sonar.javascript.file.suffixes=.js,.jsx,.cjs,.mjs
# 2048 Kilobytes
sonar.javascript.maxFileSize=2048
sonar.javascript.ignoreHeaderComments=true
# Javascript/Typescript testing settings
sonar.test.inclusions=**/*.test.js,**/*.test.jsx,**/*.test.ts,**/*.test.tsx
sonar.test.exclusions=**/.stryker-tmp/**/*,scripts/**/*,**/*.type.js,**/*.type.ts
# List of reason why we ignore following files/directories:
# 1. `common` - contains internal common tools (no tests)
# 2. `packages-type` - contains typescript definitions (the tests is not coverage)
sonar.coverage.exclusions=common/**/*,packages-type/**/*
# List of reason why we ignore following files/directories:
# 1. commitlint.config.js - SonarQube list this as duplicates because it contains a lot of similar settings
sonar.cpd.exclusions=common/autoinstallers/rush-commitlint/commitlint.config.js
sonar.javascript.lcov.reportPaths=**/temp/coverage/lcov.info
sonar.junit.reportPaths=**/temp/test/junit.xml
# editorconfig-checker-enable