Skip to content

Commit

Permalink
Use config file in golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyRand committed Oct 17, 2020
1 parent 21cc724 commit 182ee06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testdata/golangci-linter.bash
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ echo "Shell checks passed."
echo ----- Windows -----
GOOS=windows go generate ./...
# NSS support is unmaintained; don't bother us with complaints about it.
GOOS=windows "$(go env GOPATH)"/bin/golangci-lint run --no-config --enable-all \
GOOS=windows "$(go env GOPATH)"/bin/golangci-lint run enable-all \
--color always \
--skip-files "file.go" \
--skip-files "nss.go" \
Expand All @@ -37,7 +37,7 @@ GOOS=windows "$(go env GOPATH)"/bin/golangci-lint run --no-config --enable-all \

echo ----- Linux -----
GOOS=linux go generate ./...
GOOS=linux "$(go env GOPATH)"/bin/golangci-lint run --no-config --enable-all \
GOOS=linux "$(go env GOPATH)"/bin/golangci-lint run --enable-all \
--color always \
--skip-files "file.go" \
--skip-files "nss.go" \
Expand Down

0 comments on commit 182ee06

Please sign in to comment.