Skip to content

Commit

Permalink
feat: remove all but current default golang linters
Browse files Browse the repository at this point in the history
  • Loading branch information
dgschwindturo committed Aug 10, 2023
1 parent 6c5b597 commit 1f0f442
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions hooks/golang/golangci-lint-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,12 @@ lint_all() {
--verbose \
--out-format colored-line-number \
--color always \
--enable asciicheck \
--enable deadcode \
--enable durationcheck \
--enable errcheck \
--enable exportloopref \
--enable gci \
--enable gocognit \
--enable goconst \
--enable gocritic \
--enable gocyclo \
--enable gofmt \
--enable gofumpt \
--enable goimports \
--enable gosec \
--enable gosimple \
--enable govet \
--enable ifshort \
--enable ineffassign \
--enable prealloc \
--enable predeclared \
--enable sqlclosecheck \
--enable staticcheck \
--enable structcheck \
--enable tagliatelle \
--enable typecheck \
--enable unconvert \
--enable unparam \
--enable unused \
--enable varcheck \
--enable wastedassign \
--enable whitespace \
--enable wrapcheck \
./...
return $?
}
Expand Down

0 comments on commit 1f0f442

Please sign in to comment.