Skip to content

Commit 46f1bf2

Browse files
authored
ci: Add errorlint configuration to golangci-lint settings (#3743)
1 parent cd80b0a commit 46f1bf2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.golangci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ linters:
88
- copyloopvar
99
- dogsled
1010
- dupl
11+
- errorlint
1112
- forbidigo
1213
- gocritic
1314
- godot
@@ -25,6 +26,10 @@ linters:
2526
- unparam
2627
- whitespace
2728
settings:
29+
errorlint:
30+
errorf: false
31+
asserts: true
32+
comparison: true
2833
forbidigo:
2934
forbid:
3035
- pattern: ^reflect\.DeepEqual$

0 commit comments

Comments
 (0)