Skip to content

Commit

Permalink
increase lint timeout and replace deprecated linters
Browse files Browse the repository at this point in the history
  • Loading branch information
David Christofas committed Feb 22, 2022
1 parent 6863f68 commit 8f7e0d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def lintStep():
"name": "lint",
"image": "registry.cern.ch/docker.io/golangci/golangci-lint:v1.42.1",
"commands": [
"golangci-lint run --timeout 2m0s",
"golangci-lint run --timeout 3m0s",
],
}

Expand Down
5 changes: 2 additions & 3 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ issues:
- scopelint
linters:
enable:
- maligned
- bodyclose
- deadcode
- errcheck
Expand All @@ -27,10 +26,10 @@ linters:
- unused
- varcheck
- depguard
- golint
- revive
- goimports
- unconvert
- scopelint
- exportloopref
- misspell
- gocritic
- prealloc
Expand Down

0 comments on commit 8f7e0d1

Please sign in to comment.