Skip to content

Commit

Permalink
Update golangci.yaml configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
vkmc committed Oct 14, 2024
1 parent eca22fd commit 21613e9
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
run:
skip-dirs:
- plugins/transport/dummy-alertmanager
- plugins/transport/dummy-events
- plugins/transport/dummy-metrics
- plugins/transport/dummy-logs
- plugins/application/print
- devenv
issues:
exclude-rules:
- linters:
Expand All @@ -21,7 +13,13 @@ issues:
- staticcheck
# https://staticcheck.io/docs/checks#SA4008 (The variable in the loop condition never changes, are you incrementing the wrong variable?)
text: "SA4008:"

exclude-dirs:
- plugins/transport/dummy-alertmanager
- plugins/transport/dummy-events
- plugins/transport/dummy-metrics
- plugins/transport/dummy-logs
- plugins/application/print
- devenv
linters:
disable-all: true
enable:
Expand Down

0 comments on commit 21613e9

Please sign in to comment.