-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.codeclimate.yml
41 lines (38 loc) · 919 Bytes
/
.codeclimate.yml
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
version: '2' # required to adjust maintainability checks
plugins:
checkstyle:
enabled: true
channel: 'checkstyle-10-7-0'
config:
file: '.checkstyle.xml'
sonar-java:
enabled: true
config:
sonar.java.source: "8"
# Disable all the following CodeClimate checks: Checkstyle already checks for these things and has the advantage
# that the Checkstyle config can also be used in one's IDE.
checks:
argument-count:
enabled: false
complex-logic:
enabled: false
file-lines:
enabled: false
method-complexity:
enabled: false
method-count:
enabled: false
method-lines:
enabled: false
nested-control-flow:
enabled: false
return-statements:
enabled: false
# Enable these as there's no Checkstyle equivalent
similar-code:
enabled: false
identical-code:
enabled: true
exclude_patterns:
# Don't check test scope
- 'src/test/java/**'