-
Notifications
You must be signed in to change notification settings - Fork 1
/
.codeclimate.yml
45 lines (44 loc) · 950 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
41
42
43
44
45
version: "2" # required to adjust maintainability checks
checks:
argument-count:
enabled: false
complex-logic:
enabled: false
method-lines:
config:
threshold: 300
file-lines:
config:
threshold: 1000
method-complexity:
config:
threshold: 30
return-statements:
enabled: false
similar-code:
enabled: false
identical-code:
enabled: false
exclude_patterns:
############################################
## Code Climate's default exclude patterns
############################################
- config/
- db/
- dist/
- features/
- "**/node_modules/"
- script/
- "**/spec/"
- "**/test/"
- "**/tests/"
- Tests/
- "**/vendor/"
- "**/*_test.go"
- "**/*.d.ts"
############################################
############################################
## Additional exclude patterns
- src/assets
- examples/*
############################################