makefile: Update golang CI lint
Signed-off-by: Michał Matczuk <michal@scylladb.com>
This commit is contained in:
committed by
Michal Jan Matczuk
parent
e796a82d11
commit
92c739c2db
@@ -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:
|
||||
|
||||
2
Makefile
2
Makefile
@@ -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
gocqlxtest/doc.go
Normal file
6
gocqlxtest/doc.go
Normal 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
|
||||
Reference in New Issue
Block a user