forked from triplea-game/triplea
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.codeclimate.yml
40 lines (38 loc) · 885 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
version: "2"
# https://docs.codeclimate.com/docs/cognitive-complexity
# https://docs.codeclimate.com/docs/maintainability#section-checks
# https://docs.codeclimate.com/docs/advanced-configuration
checks:
argument-count:
config:
threshold: 5
method-complexity:
config:
threshold: 25
method-lines:
config:
threshold: 50
file-lines:
config:
threshold: 1000
similar-code:
config:
threshold: 80
plugins:
# https://docs.codeclimate.com/docs/git-legal
git-legal:
enabled: true
allow_strong_copyleft: true
# https://docs.codeclimate.com/docs/fixme
fixme:
enabled: true
# https://docs.codeclimate.com/docs/codenarc
codenarc:
enabled: true
# https://docs.codeclimate.com/docs/shellcheck
shellcheck:
enabled: true
exclude_patterns:
- "gradlew"
- ".github/ISSUE_TEMPLATES/*"
- "**/*Test.java"