Skip to content

Commit

Permalink
Merge pull request #5578 from snyk/chore/lint-address-warnings
Browse files Browse the repository at this point in the history
chore: remove deprecated linters and config props
  • Loading branch information
thisislawatts authored Nov 13, 2024
2 parents ce2b52a + da32657 commit e5e0845
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cliv2/.golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ run:
- integration
concurrency: 4
issues-exit-code: 1
skip-dirs:
- scripts
- test/fixtures
tests: true
timeout: 5m

Expand Down Expand Up @@ -34,7 +31,6 @@ linters-settings:
gosimple:
checks: ['all']
govet:
check-shadowing: true
enable-all: true
disable:
- fieldalignment
Expand Down Expand Up @@ -106,7 +102,8 @@ linters:
# TODO(errorlint): revisit
#- errorlint
- exhaustive
- exportloopref
# Checks for pointers to enclosing loop variables.
- copyloopvar
# TODO(forbidigo): revisit
#- forbidigo
# TODO(forcetypeassert): revisit
Expand Down Expand Up @@ -167,6 +164,9 @@ linters:
#- wrapcheck

issues:
exclude-dirs:
- scripts
- test/fixtures
exclude-rules:
- path: _test\.go
linters:
Expand Down

0 comments on commit e5e0845

Please sign in to comment.