Skip to content

Commit

Permalink
Merge pull request #579 from jetstack/fix_linters
Browse files Browse the repository at this point in the history
Remove unnecessary linter exceptions
  • Loading branch information
inteon authored Oct 1, 2024
2 parents 799a164 + 0fb7946 commit 70a84fa
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 70a84fa

Please sign in to comment.