Skip to content

Commit 1b48d20

Browse files
committed
chore: update linter
1 parent d053020 commit 1b48d20

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
env:
1717
GO_VERSION: 1.17
18-
GOLANGCI_LINT_VERSION: v1.43.0
18+
GOLANGCI_LINT_VERSION: v1.44.0
1919
CGO_ENABLED: 0
2020

2121
steps:

.golangci.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ linters-settings:
1010
- fieldalignment
1111
gocyclo:
1212
min-complexity: 15
13-
maligned:
14-
suggest-new: true
1513
goconst:
1614
min-len: 5
1715
min-occurrences: 3
@@ -72,6 +70,7 @@ linters:
7270
- forcetypeassert
7371
- varnamelen
7472
- nilnil
73+
- errchkjson
7574

7675
issues:
7776
exclude-use-default: false

0 commit comments

Comments
 (0)