-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonar-project.properties
48 lines (37 loc) · 1.83 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
# must be unique in a given SonarQube instance
sonar.projectKey=liflab:beepbeep-3-excel-palette
# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1.
sonar.projectName=Excel Palette for BeepBeep 3
sonar.projectVersion=1.0
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
# Since SonarQube 4.2, this property is optional if sonar.modules is set.
# If not set, SonarQube starts looking for source code from the directory containing
# the sonar-project.properties file.
sonar.sources=Source
# Encoding of the source code. Default is default system encoding
#sonar.sourceEncoding=UTF-8
# We write Java 6 code
sonar.java.source=1.6
# Configure Sonar to use JaCoCo
sonar.jacoco.reportPath=jacoco.exec
# http://stackoverflow.com/a/27782177
sonar.java.binaries=Source/bin
# Ignore a few rules
sonar.issue.ignore.multicriteria=e1,e2,e3,e4,e5
# Field names should comply with a naming convention
sonar.issue.ignore.multicriteria.e1.ruleKey=squid:S00116
sonar.issue.ignore.multicriteria.e1.resourceKey=**/*.java
# Variable names should comply with a naming convention
sonar.issue.ignore.multicriteria.e2.ruleKey=squid:S00117
sonar.issue.ignore.multicriteria.e2.resourceKey=**/*.java
# Constants should comply with a naming convention
sonar.issue.ignore.multicriteria.e3.ruleKey=squid:S00115
sonar.issue.ignore.multicriteria.e3.resourceKey=**/*.java
# Static fields should comply with a naming convention
sonar.issue.ignore.multicriteria.e4.ruleKey=squid:S3008
sonar.issue.ignore.multicriteria.e4.resourceKey=**/*.java
# Don't use transient keyword if you don't implement Serializable
sonar.issue.ignore.multicriteria.e5.ruleKey=squid:S2065
sonar.issue.ignore.multicriteria.e5.resourceKey=**/*.java
# Do not analyze test and example files
sonar.exclusions=**/examples/*.java,**/*Test.java