-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codeclimate.yml
38 lines (38 loc) · 1.13 KB
/
.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
version: "2" # CodeClimate API version is a string, not a number
checks:
argument-count:
config:
threshold: 5 # CodeClimate default
complex-logic:
config:
threshold: 5 # CodeClimate default
file-lines:
config:
threshold: 300 # CodeClimate default
method-complexity:
config:
threshold: 20 # AKA Cognitive Complexity. 5 is CodeClimate default
method-count:
config:
threshold: 20 # CodeClimate default
method-lines:
config:
threshold: 25 # CodeClimate default
nested-control-flow:
config:
threshold: 6 # CodeClimate default
return-statements:
config:
threshold: 6 # CodeClimate default
similar-code:
config:
threshold: 40 # language-specific defaults. an override will affect all languages.
# Java default is documented at 40, but seems smaller
exclude_patterns:
- "**/Bundle.java"
identical-code:
config:
threshold: 40 # language-specific defaults. an override will affect all languages.
# Java default is documented at 40, but seems smaller
exclude_patterns:
- "**/Bundle.java"