-
Notifications
You must be signed in to change notification settings - Fork 16
/
.codeclimate.yml
39 lines (35 loc) · 1000 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
version: '2' # required to adjust maintainability checks
plugins:
checkstyle:
enabled: true
channel: 'checkstyle-10-7-0'
config:
file: '.checkstyle.xml'
checks:
# We 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.
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
# No Checkstyle equivalent, but it keeps reporting false positives because of similar constructors and imports
similar-code:
enabled: false
# No Checkstyle equivalent, so enabled as long as it's not full of false positives
identical-code:
enabled: true
exclude_patterns:
# Don't check test scope
- 'src/test/java/**'