Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cdzombak committed Nov 14, 2023
1 parent 097f161 commit 065c551
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
# https://megalinter.io/latest/descriptors/go_golangci_lint/
# https://github.com/oxsecurity/megalinter/blob/main/TEMPLATES/.golangci.yml
---
linters:
disable-all: true
enable:
- gofmt
- gocritic
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unused

linters-settings:
gocritic:
disabled-checks:
- exitAfterDefer
exclude-rules:
- linters:
- staticcheck
text: "SA1019:"
staticcheck:
checks:
- all
- '-SA1019'

0 comments on commit 065c551

Please sign in to comment.