Skip to content

Commit

Permalink
remove unnecessary linter exceptions
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Ramlot <[email protected]>
  • Loading branch information
inteon committed Oct 1, 2024
1 parent 799a164 commit 0fb7946
Showing 1 changed file with 2 additions and 50 deletions.
52 changes: 2 additions & 50 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,74 +1,26 @@
issues:
exclude-rules:
- linters:
- staticcheck
- errcheck
- unconvert
- unparam
- dupword
- gosimple
- nilerr
- nilnil
# TODO(mael): add the following linters one by one and fix the issues
# they report. I didn't have time to do that when I migrated to
# makefile-modules.
- asasalint
- asciicheck
- bidichk
- bodyclose
- contextcheck
- decorder
- dogsled
- dupword
- durationcheck
- errcheck
- errchkjson
- errname
- execinquery
- exhaustive
- exportloopref
- forbidigo
- gci
- ginkgolinter
- gocheckcompilerdirectives
- gochecksumtype
- gocritic
- gofmt
- goheader
- goprintffuncname
- gosec
- gosimple
- gosmopolitan
- govet
- grouper
- importas
- ineffassign
- interfacebloat
- loggercheck
- makezero
- mirror
- misspell
- musttag
- nakedret
- nilerr
- nilnil
- noctx
- nosprintfhostport
- predeclared
- promlinter
- protogetter
- reassign
- sloglint
- staticcheck
- tagalign
- tenv
- testableexamples
- typecheck
- noctx
- unconvert
- unparam
- unused
- usestdlibvars
- wastedassign
- predeclared
text: ".*"
linters:
# Explicitly define all enabled linters
Expand Down

0 comments on commit 0fb7946

Please sign in to comment.