We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad5c15b commit f77ae77Copy full SHA for f77ae77
2 files changed
.github/workflows/ci.yml
@@ -32,4 +32,4 @@ jobs:
32
go-version-file: .go-version
33
cache: true
34
- name: Golangci-lint
35
- uses: golangci/golangci-lint-action@v6.5.1
+ uses: golangci/golangci-lint-action@v8.0.0
.golangci.yml
@@ -1,11 +1,29 @@
1
+version: "2"
2
linters:
3
enable:
- - goimports
4
- misspell
5
- revive
6
-
7
-issues:
8
- exclude-rules:
9
- - path: _test.go
10
- linters:
11
- - errcheck
+ exclusions:
+ generated: lax
+ presets:
+ - comments
+ - common-false-positives
+ - legacy
12
+ - std-error-handling
13
+ rules:
14
+ - linters:
15
+ - errcheck
16
+ path: _test.go
17
+ paths:
18
+ - third_party$
19
+ - builtin$
20
+ - examples$
21
+formatters:
22
+ enable:
23
+ - goimports
24
25
26
27
28
29
0 commit comments