makefile: Update golang CI lint

Signed-off-by: Michał Matczuk <michal@scylladb.com>
This commit is contained in:
Michał Matczuk authored and Michal Jan Matczuk committed 2020-04-16 12:39:34 +02:00
1 parent e796a82d11
commit 92c739c2db
3 files changed
+17 -3

No files matched your search

+10 -2
View File
@@ -1,7 +1,6 @@
run:
deadline: 5m
tests: false
silent: true
linters-settings:
errcheck:
@@ -13,6 +12,13 @@ linters-settings:
- diagnostic
- performance
- style
disabled-checks:
- commentedOutCode
- evalOrder
- hugeParam
- importShadow
- yodaStyleExpr
- whyNoLint
lll:
line-length: 180
@@ -22,10 +28,12 @@ linters:
- funlen
- gas
- gochecknoglobals
- gochecknoinits
- gomnd
- interfacer
- maligned
- nakedret
- stylecheck
- prealloc
- wsl
issues:
+1 -1
View File
@@ -36,4 +36,4 @@ get-deps:
.PHONY: get-tools
get-tools:
@echo "==> Installing tools at $(GOBIN)..."
@$(call dl_tgz,golangci-lint,https://github.com/golangci/golangci-lint/releases/download/v1.21.0/golangci-lint-1.21.0-linux-amd64.tar.gz)
@$(call dl_tgz,golangci-lint,https://github.com/golangci/golangci-lint/releases/download/v1.24.0/golangci-lint-1.24.0-linux-amd64.tar.gz)
+6
View File
@@ -0,0 +1,6 @@
// Copyright (C) 2017 ScyllaDB
// Use of this source code is governed by a ALv2-style
// license that can be found in the LICENSE file.
// Package gocqlxtest provides test helpers for integration tests.
package gocqlxtest