Skip to content

Commit

Permalink
chore: disable golangci-lint staticcheck temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
MaineK00n committed Apr 5, 2022
1 parent b4c5e33 commit 1a483e2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: golang-ci

run:
timeout: 10m
go: '1.18'

linters-settings:
revive:
# see https://github.com/mgechev/revive#available-rules for details.
Expand Down Expand Up @@ -42,6 +46,7 @@ linters:
- govet
- misspell
- errcheck
- staticcheck
# golangci-lint v1.45.2 disables staticcheck, it is already enabled in master. ref: https://github.com/golangci/golangci-lint/pull/2746
# - staticcheck
- prealloc
- ineffassign
2 changes: 1 addition & 1 deletion contrib/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN apk add --no-cache \
make \
gcc \
musl-dev
RUN go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.45.0
RUN go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.45.2

ENV REPOSITORY github.com/future-architect/vuls
COPY . $GOPATH/src/$REPOSITORY
Expand Down

0 comments on commit 1a483e2

Please sign in to comment.