Skip to content

Commit

Permalink
exclude external packages in golangci-lint
Browse files Browse the repository at this point in the history
Signed-off-by: Eti Ijeoma <[email protected]>
  • Loading branch information
Aijeyomah committed Jan 7, 2025
1 parent 5f9c6ac commit a0607a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,12 @@ linters:

linters-settings:
gofmt:
simplify: true
simplify: true
issues:
exclude-dirs:
- '.*pkg/mod.*'
- '.*go/.*'
- '.*Cellar.*' # Skip Homebrew Go installation directory
- '.*libexec.*'
exclude-files:
- '.*toolchain@.*'
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/meshery/helm-kanvas-snapshot

go 1.21.8
go 1.23

toolchain go1.23.4

Expand Down

0 comments on commit a0607a0

Please sign in to comment.