Skip to content

Commit 018d746

Browse files
Bump golangci/golangci-lint-action from 6.1.1 to 6.5.0 (#530)
1 parent 8c1bbf6 commit 018d746

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

.github/workflows/golangci-lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34
1616
with:
1717
go-version-file: ./go.mod
18-
- uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8
18+
- uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837
1919
with:
2020
version: latest

.golangci.yml

+1-15
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ linters-settings:
44
funlen:
55
lines: 100
66
statements: 50
7-
gci:
8-
prefix: github.com/np-guard
97
goconst:
108
min-len: 2
119
min-occurrences: 2
@@ -20,22 +18,10 @@ linters-settings:
2018
min-complexity: 15
2119
goimports:
2220
local-prefixes: github.com/np-guard
23-
mnd:
24-
# don't include the "operation" and "assign"
25-
checks: argument,case,condition,return
26-
ignored-numbers: 0,1,2,3
27-
ignored-functions: strings.SplitN
28-
govet:
29-
shadow: true
3021
lll:
3122
line-length: 140
3223
misspell:
3324
locale: US
34-
nolintlint:
35-
allow-leading-space: true # don't require machine-readable nolint directives (i.e. with no leading space)
36-
allow-unused: false # report any unused nolint directives
37-
require-explanation: false # don't require an explanation for nolint directives
38-
require-specific: false # don't require nolint directives to be specific about which linter is being skipped
3925
revive:
4026
# see https://github.com/mgechev/revive#available-rules for details.
4127
ignore-generated-header: true
@@ -109,13 +95,13 @@ linters:
10995
- staticcheck
11096
- stylecheck
11197
- tagliatelle
112-
- tenv
11398
- testableexamples
11499
- typecheck
115100
- unconvert
116101
- unparam
117102
- unused
118103
- usestdlibvars
104+
- usetesting
119105
- whitespace
120106

121107
issues:

0 commit comments

Comments
 (0)