We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90f89e3 commit 6a52c69Copy full SHA for 6a52c69
.codeclimate.yml
@@ -1,16 +1,32 @@
1
+version: 2
2
engines:
3
golint:
4
enabled: true
5
+ config:
6
+ min_confidence: 0.8 # Ignore very low-confidence style warnings
7
+
8
gofmt:
9
10
11
+ simplify: true # Automatically check for code simplifications
12
13
govet:
14
15
16
+ check_shadowing: true # Detect variable shadowing for cleaner logic
17
18
duplication:
19
20
config:
21
languages:
- - go
22
+ go:
23
+ threshold: 40 # Minimum token threshold before flagging duplication
24
25
ratings:
26
paths:
- - "**.go"
27
+ - "**/*.go"
28
29
+exclude_paths:
30
+ - "vendor/**" # Ignore dependencies
31
+ - "testdata/**" # Ignore test data
32
+ - "mocks/**" # Ignore generated mocks
0 commit comments