Skip to content

Commit

Permalink
Update golangci-lint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
afritzler committed Oct 10, 2024
1 parent 4e0c180 commit 3234efa
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .golangci.yaml

This file was deleted.

41 changes: 41 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
run:
timeout: 3m
allow-parallel-runners: true

issues:
# don't skip warning about doc comments
# don't exclude the default set of lint
exclude-use-default: false
# restore some of the defaults
# (fill in the rest as needed)
exclude-rules:
- path: "cmd/*"
linters:
- lll
- path: "docker/*"
linters:
- dupl
- lll
linters:
disable-all: true
enable:
- copyloopvar
- dupl
- errcheck
- goconst
- gocyclo
- gofmt
- goimports
- gosimple
- govet
- ineffassign
- ginkgolinter
- lll
- misspell
- nakedret
- prealloc
- staticcheck
- typecheck
- unconvert
- unparam
- unused

0 comments on commit 3234efa

Please sign in to comment.