Skip to content

Commit feed3e5

Browse files
authored
Add default Codeclimate config file
1 parent 1f8baa7 commit feed3e5

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

.codeclimate.yml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
version: "2" # required to adjust maintainability checks
2+
3+
checks:
4+
argument-count:
5+
enabled: true
6+
config:
7+
threshold: 4
8+
complex-logic:
9+
enabled: true
10+
config:
11+
threshold: 4
12+
file-lines:
13+
enabled: true
14+
config:
15+
threshold: 250
16+
method-complexity:
17+
enabled: true
18+
config:
19+
threshold: 5
20+
method-count:
21+
enabled: true
22+
config:
23+
threshold: 20
24+
method-lines:
25+
enabled: true
26+
config:
27+
threshold: 100
28+
nested-control-flow:
29+
enabled: true
30+
config:
31+
threshold: 4
32+
return-statements:
33+
enabled: true
34+
config:
35+
threshold: 4
36+
similar-code:
37+
enabled: true
38+
config:
39+
threshold: #language-specific defaults. overrides affect all languages.
40+
identical-code:
41+
enabled: true
42+
config:
43+
threshold: #language-specific defaults. overrides affect all languages.
44+
45+
# plugins:
46+
# eslint:
47+
# enabled: true
48+
# channel: "eslint-6"
49+
# rubocop:
50+
# enabled: true
51+
# channel: "rubocop-0-79"
52+
53+
exclude_patterns:
54+
- "config/"
55+
- "db/"
56+
- "dist/"
57+
- "features/"
58+
- "**/node_modules/"
59+
- "script/"
60+
- "**/spec/"
61+
- "**/test/"
62+
- "**/tests/"
63+
- "Tests/"
64+
- "**/vendor/"
65+
- "**/*_test.go"
66+
- "**/*.d.ts"

0 commit comments

Comments
 (0)