Skip to content

Commit 559b51e

Browse files
committed
chore: update linters
Signed-off-by: Valery Piashchynski <[email protected]>
1 parent 65f2b0b commit 559b51e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/linters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
- name: Run linter
1919
uses: golangci/[email protected] # Action page: <https://github.com/golangci/golangci-lint-action>
2020
with:
21-
version: v1.60 # without patch version
21+
version: v1.61 # without patch version
2222
only-new-issues: false # show only new issues if it's a pull request
2323
args: --timeout=10m --build-tags=race ./...

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ linters: # All available linters list: <https://golangci-lint.run/usage/linters/
3737
- errcheck # Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases
3838
- errorlint # find code that will cause problems with the error wrapping scheme introduced in Go 1.13
3939
- exhaustive # check exhaustiveness of enum switch statements
40-
- exportloopref # checks for pointers to enclosing loop variables
40+
- copyloopvar # Checks for using loop variables in function literal closures
4141
- gochecknoglobals # Checks that no globals are present in Go code
4242
- gochecknoinits # Checks that no init functions are present in Go code
4343
- goconst # Finds repeated strings that could be replaced by a constant

0 commit comments

Comments
 (0)