Skip to content

Commit

Permalink
Update .golangci.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
  • Loading branch information
mmorel-35 committed Dec 10, 2023
1 parent 2787b8b commit 8ee2425
Show file tree
Hide file tree
Showing 28 changed files with 376 additions and 326 deletions.
6 changes: 6 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
linters:
enable:
- errorlint
- gofumpt
- goimports
- misspell
- revive
- testifylint
Expand All @@ -10,8 +12,12 @@ issues:
- path: _test.go
linters:
- errcheck
max-issues-per-linter: 0
max-same-issues: 0

linters-settings:
goimports:
local-prefixes: github.com/prometheus/common
revive:
rules:
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter
Expand Down
Loading

0 comments on commit 8ee2425

Please sign in to comment.