Skip to content

Commit

Permalink
Update linter configuration
Browse files Browse the repository at this point in the history
This should have no effect on the reports.

Signed-off-by: Sascha Grunert <[email protected]>
  • Loading branch information
saschagrunert committed Jan 31, 2025
1 parent 30a62c9 commit d14a150
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@ run:
concurrency: 6
timeout: 15m
issues:
exclude-rules:
# counterfeiter fakes are usually named 'fake_<something>.go'
- path: fake_.*\.go
linters:
- gocritic
- golint
- dupl

# Maximum issues count per one linter. Set to 0 to disable. Default is 50.
max-issues-per-linter: 0

Expand Down Expand Up @@ -149,21 +141,5 @@ linters-settings:
- BUG
- FIXME
- HACK
errcheck:
check-type-assertions: true
check-blank: true
gocritic:
enable-all: true
nolintlint:
# Enable to ensure that nolint directives are all used. Default is true.
allow-unused: false
# Disable to ensure that nolint directives don't have a leading space. Default is true.
# TODO(lint): Enforce machine-readable `nolint` directives
allow-leading-space: true
# Exclude following linters from requiring an explanation. Default is [].
allow-no-explanation: []
# Enable to require an explanation of nonzero length after each nolint directive. Default is false.
# TODO(lint): Enforce explanations for `nolint` directives
require-explanation: false
# Enable to require nolint directives to mention the specific linter being suppressed. Default is false.
require-specific: true

0 comments on commit d14a150

Please sign in to comment.