Skip to content

Commit

Permalink
Fix deprecated settings
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Mar 20, 2024
1 parent 2100791 commit bafa6d8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,13 @@ linters-settings:
# created file permissions are restricted by umask if necessary
- G306
govet:
# Report about shadowed variables.
check-shadowing: true
enable-all: true
disable:
- fieldalignment
settings:
shadow:
# Report about shadowed variables.
strict: true
nolintlint:
require-specific: true
stylecheck:
Expand Down
9 changes: 7 additions & 2 deletions internal/golangcilint/golangci_lint.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,13 @@ linters-settings:
# created file permissions are restricted by umask if necessary
- G306
govet:
# Report about shadowed variables.
check-shadowing: true
enable-all: true
disable:
- fieldalignment
settings:
shadow:
# Report about shadowed variables.
strict: true
nolintlint:
require-specific: true
{{- if .MisspellIgnoreWords }}
Expand Down

0 comments on commit bafa6d8

Please sign in to comment.