makefile: Update golang CI lint

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

View File

@@ -1,7 +1,6 @@
run: run:
deadline: 5m deadline: 5m
tests: false tests: false
silent: true
linters-settings: linters-settings:
errcheck: errcheck:
@@ -13,6 +12,13 @@ linters-settings:
- diagnostic - diagnostic
- performance - performance
- style - style
disabled-checks:
- commentedOutCode
- evalOrder
- hugeParam
- importShadow
- yodaStyleExpr
- whyNoLint
lll: lll:
line-length: 180 line-length: 180
@@ -22,10 +28,12 @@ linters:
- funlen - funlen
- gas - gas
- gochecknoglobals - gochecknoglobals
- gochecknoinits
- gomnd
- interfacer - interfacer
- maligned - maligned
- nakedret - nakedret
- stylecheck - prealloc
- wsl - wsl
issues: issues:

View File

@@ -36,4 +36,4 @@ get-deps:
.PHONY: get-tools .PHONY: get-tools
get-tools: get-tools:
@echo "==> Installing tools at $(GOBIN)..." @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
gocqlxtest/doc.go Normal file
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