chore: update linter

This commit is contained in:
Ludovic Fernandez
2024-11-12 10:56:06 +01:00
committed by GitHub
parent 9c50129520
commit f437fb4230
38 changed files with 796 additions and 830 deletions
+11 -2
View File
@@ -159,8 +159,6 @@ linters-settings:
linters:
enable-all: true
disable:
- execinquery # deprecated
- gomnd # deprecated
- sqlclosecheck # not relevant (SQL)
- rowserrcheck # not relevant (SQL)
- cyclop # duplicate of gocyclo
@@ -273,3 +271,14 @@ issues:
- path: pkg/provider/acme/local_store.go
linters:
- musttag
- path: pkg/tls/certificate.go
text: 'the methods of "Certificates" use pointer receiver and non-pointer receiver.'
linters:
- recvcheck
output:
show-stats: true
sort-results: true
sort-order:
- linter
- file