-
Notifications
You must be signed in to change notification settings - Fork 18
/
.codeclimate.yml
54 lines (52 loc) · 1.03 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: "2"
plugins:
# https://en.wikipedia.org/wiki/Rule_of_three_(computer_programming)
duplication:
enabled: true
config:
count_threshold: 3
# java
sonar-java:
config:
minimum_severity: critical
checks:
squid:S3516:
enabled: false
tests_patterns:
- "**/src/test/**"
# python
sonar-python:
enabled: false
# swift
tailor:
enabled: false
# https://docs.codeclimate.com/docs/excluding-files-and-folders
exclude_patterns:
- "**/vendor/"
- "**/3rdparty/"
- "**/*.conf.js"
- "**/*.config.js"
- "**/*.css"
- "visearch-android/src/test/java/"
# https://docs.codeclimate.com/docs/maintainability
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
similar-code:
enabled: false
identical-code:
enabled: true