Skip to content

Commit

Permalink
Create .golangci.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Schaatsbergen <[email protected]>
  • Loading branch information
bschaatsbergen committed Oct 5, 2024
1 parent 96bdfdd commit 5e6cac3
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Visit https://golangci-lint.run/ for usage documentation and information on other useful linters
issues:
max-per-linter: 0
max-same-issues: 0

exclude-rules:
# disable funlen for test funcs
- source: "^func Test"
linters:
- funlen

linters:
disable-all: true
enable:
- bidichk
- durationcheck
- decorder
- dogsled
- errcheck
- exportloopref
- forcetypeassert
- funlen
- godot
- godox
- gofmt
- gosimple
- goconst
- ineffassign
- makezero
- misspell
- nilerr
- predeclared
- staticcheck
- tenv
- unconvert
- unparam
- unused
- vet

0 comments on commit 5e6cac3

Please sign in to comment.