forked from aws-solutions/clickstream-analytics-on-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsonar-project.properties
26 lines (19 loc) · 1.04 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
# Customize sonar.sources, sonar.exclusions, sonar.coverage.exclusions, sonar.tests and sonar
# unit test coverage reports based on your solutions
# Refer to https://docs.sonarqube.org/latest/project-administration/narrowing-the-focus/
# for details on sources and exclusions. Note also .gitignore
#
sonar.sources=src/
sonar.tests=test/
# Focusing sonarqube analysis on non test code first and reducing noise from analysis of test code. Projects
# can customize the exclusions to include analyzing of test code if desired
sonar.exclusions=src/data-pipeline/spark-etl/**/*, src/control-plane/backend/lambda/api/test/**/*, \
*-ln.ts, \
src/common/constant.ts, \
src/control-plane/backend/lambda/api/middle-ware/authorizer.ts, \
src/control-plane/backend/lambda/api/common/stack-params-valid.ts
# Code coverage Specific Properties
sonar.coverage.exclusions=src/data-pipeline/spark-etl/**/*, deployment/**, examples/**, frontend/**, docs/**, **/test/**/*
sonar.javascript.lcov.reportPaths=coverage/lcov.info
# Encoding of the source files
sonar.sourceEncoding=UTF-8