File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import _ "github.com/bool64/dev" // Include development helpers to project.
2626Add ` Makefile ` to your module with includes standard targets.
2727
2828``` Makefile
29- # GOLANGCI_LINT_VERSION := "v2.3.1 " # Optional configuration to pinpoint golangci-lint version.
29+ # GOLANGCI_LINT_VERSION := "v2.5.0 " # Optional configuration to pinpoint golangci-lint version.
3030
3131# The head of Makefile determines location of dev-go to include standard targets.
3232GO ?= go
Original file line number Diff line number Diff line change 1- # GOLANGCI_LINT_VERSION := "v2.3.1 " # Optional configuration to pinpoint golangci-lint version.
1+ # GOLANGCI_LINT_VERSION := "v2.5.0 " # Optional configuration to pinpoint golangci-lint version.
22
33# The head of Makefile determines location of dev-go to include standard targets.
44GO ?= go
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 55linters :
66 default : all
77 disable :
8+ - noinlineerr
89 - wsl_v5
910 - funcorder
1011 - copyloopvar
@@ -44,6 +45,7 @@ linters:
4445 generated : lax
4546 rules :
4647 - linters :
48+ - gosec
4749 - dupl
4850 - funlen
4951 - goconst
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
33[ -z " $GO " ] && GO=go
4- [ -z " $GOLANGCI_LINT_VERSION " ] && GOLANGCI_LINT_VERSION=" v2.3.1 "
4+ [ -z " $GOLANGCI_LINT_VERSION " ] && GOLANGCI_LINT_VERSION=" v2.5.0 "
55
66# detecting GOPATH and removing trailing "/" if any
77GOPATH=" $( go env GOPATH) "
You can’t perform that action at this time.
0 commit comments