Skip to content

Commit 3363afe

Browse files
committed
Sonar props added
1 parent cae4148 commit 3363afe

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.sonarcloud.properties

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Path to sources
2+
sonar.sources=src
3+
sonar.exclusions=src/__tests__/**
4+
#sonar.inclusions=
5+
6+
# Path to tests
7+
sonar.tests=src/__tests__
8+
#sonar.test.exclusions=
9+
#sonar.test.inclusions=
10+
11+
# Source encoding
12+
sonar.sourceEncoding=UTF-8
13+
14+
# Exclusions for copy-paste detection
15+
#sonar.cpd.exclusions=

.vscode/settings.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
"editor.trimAutoWhitespace": true,
66
"editor.formatOnSave": true,
77

8+
"sonarlint.connectedMode.project": {
9+
"serverId": "sf_sonar",
10+
"projectKey": "sourcefuse_loopback4-authorization"
11+
},
12+
813
"files.exclude": {
914
"**/.DS_Store": true,
1015
"**/.git": true,
@@ -16,6 +21,5 @@
1621
"files.insertFinalNewline": true,
1722
"files.trimTrailingWhitespace": true,
1823

19-
"tslint.ignoreDefinitionFiles": true,
2024
"typescript.tsdk": "./node_modules/typescript/lib"
2125
}

0 commit comments

Comments
 (0)