aboutsummaryrefslogtreecommitdiffstats
path: root/.golangci.yml
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2022-10-24 17:12:25 +0200
committerGitHub <noreply@github.com>2022-10-24 17:12:25 +0200
commitff2fe65db3b673b60a5c11df17a3de7f1ec2b96e (patch)
tree75edd94777ffbbc17d6301ffce5a8f0ae17053e9 /.golangci.yml
parente9faea6a6321e7260c169705d133b4a26a3f0f5b (diff)
.golangci.yml: change golint to revive (#3465)
`syz-env make presubmit` generates next warning: "The linter 'golint' is deprecated (since v1.41.0) due to: The repository of the linter has been archived by the owner. Replaced by revive." Replacing it here.
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 2000e41bd..b76eb3583 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -20,7 +20,7 @@ linters:
- lll
- vet
- gofmt
- - golint
+ - revive
- structcheck
- unconvert
- deadcode
@@ -70,6 +70,10 @@ linters:
- wsl
linters-settings:
+ revive:
+ rules:
+ - name: package-comments
+ disabled: true
lll:
line-length: 120
gocyclo: