Skip to content

Commit b299eff

Browse files
committed
chore: update golangci-lint
1 parent a84cba5 commit b299eff

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ jobs:
3232
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
3333
- uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9
3434
with:
35-
version: v2.0.2
35+
version: v2.4.0

.golangci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ linters:
1414
- dupl
1515
- dupword
1616
- durationcheck
17+
- embeddedstructfieldcheck
1718
- err113
1819
- errchkjson
1920
- errname
@@ -22,6 +23,7 @@ linters:
2223
- exptostd
2324
- fatcontext
2425
- forcetypeassert
26+
- funcorder
2527
- ginkgolinter
2628
- gocheckcompilerdirectives
2729
- gochecknoinits
@@ -81,6 +83,7 @@ linters:
8183
- whitespace
8284
- zerologlint
8385
disable:
86+
- arangolint
8487
- cyclop
8588
- depguard
8689
- exhaustruct
@@ -96,11 +99,13 @@ linters:
9699
- mnd
97100
- nestif
98101
- nlreturn
102+
- noinlineerr
99103
- paralleltest
100104
- testpackage
101105
- varnamelen
102106
- wrapcheck
103107
- wsl
108+
- wsl_v5
104109
exclusions:
105110
generated: lax
106111
presets:

0 commit comments

Comments
 (0)