File tree Expand file tree Collapse file tree 5 files changed +8
-4
lines changed
templates/github/workflows Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import _ "github.com/bool64/dev" // Include development helpers to project.
22
22
Add ` Makefile ` to your module with includes standard targets.
23
23
24
24
``` Makefile
25
- # GOLANGCI_LINT_VERSION := "v1.41.1 " # Optional configuration to pinpoint golangci-lint version.
25
+ # GOLANGCI_LINT_VERSION := "v1.43.0 " # Optional configuration to pinpoint golangci-lint version.
26
26
27
27
# The head of Makefile determines location of dev-go to include standard targets.
28
28
GO ?= go
Original file line number Diff line number Diff line change 1
- # GOLANGCI_LINT_VERSION := "v1.41.1 " # Optional configuration to pinpoint golangci-lint version.
1
+ # GOLANGCI_LINT_VERSION := "v1.43.0 " # Optional configuration to pinpoint golangci-lint version.
2
2
3
3
# The head of Makefile determines location of dev-go to include standard targets.
4
4
GO ?= go
Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ linters:
33
33
- scopelint # deprecated
34
34
- ifshort # too many false positives
35
35
- golint # deprecated
36
+ - varnamelen
37
+ - tagliatelle
38
+ - errname
39
+ - ireturn
36
40
37
41
issues :
38
42
exclude-use-default : false
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
3
[ -z " $GO " ] && GO=go
4
- [ -z " $GOLANGCI_LINT_VERSION " ] && GOLANGCI_LINT_VERSION=" v1.41.1 "
4
+ [ -z " $GOLANGCI_LINT_VERSION " ] && GOLANGCI_LINT_VERSION=" v1.43.0 "
5
5
6
6
# detecting GOPATH and removing trailing "/" if any
7
7
GOPATH=" $( go env GOPATH) "
Original file line number Diff line number Diff line change 18
18
19
19
with :
20
20
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
21
- version : v1.41.1
21
+ version : v1.43.0
22
22
23
23
# Optional: working directory, useful for monorepos
24
24
# working-directory: somedir
You can’t perform that action at this time.
0 commit comments