Skip to content

Commit

Permalink
go/lint: require unused linter
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed Aug 26, 2022
1 parent 7e833a1 commit 21271d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/lint-project.sh
Expand Up @@ -151,7 +151,7 @@ fi
if [[ "$OS_NAME" != "windows" ]]; then
wget -q -O - -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s "$golangci_version"

enabled="-E=asciicheck,bidichk,bodyclose,exhaustive,durationcheck,gosec,misspell,nolintlint,rowserrcheck,sqlclosecheck"
enabled="-E=asciicheck,bidichk,bodyclose,exhaustive,durationcheck,gosec,misspell,nolintlint,rowserrcheck,sqlclosecheck,unused"
if [ -n "$GOLANGCI_LINTERS" ];
then
enabled="$enabled"",$GOLANGCI_LINTERS"
Expand Down

0 comments on commit 21271d0

Please sign in to comment.