Skip to content

Commit a99c85f

Browse files
authored
Update to use app directory
1 parent 2bf3503 commit a99c85f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sonar-project.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ sonarqubeScanner(
66
//serverUrl: 'http://sonarqube.dev-tools:9000',
77
//serverUrl: 'http://localhost:9000',
88
options : {
9-
'sonar.sources': 'src',
10-
'sonar.tests': 'src',
9+
'sonar.sources': 'app',
10+
'sonar.tests': 'app',
1111
'sonar.inclusions' : '**', // Entry point of your code
12-
'sonar.test.inclusions': 'src/**/*.spec.js,src/**/*.spec.jsx,src/**/*.test.js,src/**/*.test.jsx',
12+
'sonar.test.inclusions': 'app/**/*.spec.js,app/**/*.spec.jsx,app/**/*.test.js,app/**/*.test.jsx',
1313
'sonar.javascript.lcov.reportPaths': 'coverage/lcov.info',
1414
'sonar.dependencyCheck.jsonReportPath': 'reports/dependency-check/dependency-check-report.json',
1515
'sonar.dependencyCheck.htmlReportPath': 'reports/dependency-check/dependency-check-report.html'

0 commit comments

Comments
 (0)