Skip to content

Commit

Permalink
dev: clean lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
spali committed Apr 18, 2024
1 parent 3dc0144 commit 7131344
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,16 @@ linters-settings:
- "$all"
- "!$test"
allow:
- "$gostd"
- github.com/
- "$gostd"
- github.com/
tests:
files:
- "$test"
allow:
- "$gostd"
- github.com/
- "$gostd"
- github.com/

linters:
# please, do not use `enable-all`: it's deprecated and will be removed soon.
# inverted configuration with `enable-all` and `disable` is not scalable during updates of golangci-lint
disable-all: true
enable:
- bodyclose
Expand Down Expand Up @@ -70,7 +68,6 @@ linters:
# - testpackage
# - wsl
issues:
# Excluding configuration per-path, per-linter, per-text and per-source
exclude-rules:
- path: _test\.go
linters:
Expand Down

0 comments on commit 7131344

Please sign in to comment.