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 35c2854 commit ae5a8e2Copy full SHA for ae5a8e2
.github/workflows/ci.yaml
@@ -80,7 +80,7 @@ jobs:
80
- name: Lint
81
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
82
with:
83
- version: v2.1.6
+ version: v2.4.0
84
85
dev:
86
name: Developer environment
.golangci.yaml
@@ -25,7 +25,7 @@ linters:
25
- nolintlint
26
- prealloc
27
- predeclared
28
- # - revive
+ - revive
29
- rowserrcheck
30
- sqlclosecheck
31
- staticcheck
@@ -75,8 +75,15 @@ linters:
75
# - testpackage
76
# - wsl
77
78
- disable:
79
- - errcheck
+ exclusions:
+ rules:
+ - linters:
+ - errcheck
+ - noctx
+ path: _test.go
+ presets:
+ - comments
+ - std-error-handling
87
88
settings:
89
misspell:
0 commit comments