fix: Update golangci-lint configuration by removing deprecated issue rules
This commit is contained in:
+1
-18
@@ -1,4 +1,4 @@
|
||||
version: 2
|
||||
version: "2"
|
||||
|
||||
linters:
|
||||
enable:
|
||||
@@ -7,22 +7,5 @@ linters:
|
||||
- staticcheck
|
||||
- unused
|
||||
|
||||
issues:
|
||||
exclude-rules:
|
||||
- path: _test\.go
|
||||
linters:
|
||||
- errcheck
|
||||
- path: examples/
|
||||
linters:
|
||||
- errcheck
|
||||
- unused
|
||||
|
||||
run:
|
||||
timeout: 5m
|
||||
tests: true
|
||||
|
||||
output:
|
||||
format: colored-line-number
|
||||
print-issued-lines: true
|
||||
print-linter-name: true
|
||||
sort-results: true
|
||||
|
||||
Reference in New Issue
Block a user