Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,16 @@ linters:
- depguard # disabled for now. Needs configuration

linters-settings:
tagalign:
align: false
sort: true
order:
- yaml
- env
- desc
- introductionVersion
gocyclo:
min-complexity: 35 # there are some func unforuntately who need this - should we refactor them?
min-complexity: 35 # there are some func unfortunately who need this - should we refactor them?
gomoddirectives:
replace-allow-list:
- github.com/studio-b12/gowebdav
Expand All @@ -57,12 +65,6 @@ linters-settings:
severity:
default-severity: error

skip-dirs:
- protogen/gen
- docs
- deployments
- changelog

issues:
exclude-use-default: true
exclude-rules:
Expand All @@ -76,6 +78,12 @@ issues:
- EXC0014
- EXC0015

exclude-dirs:
- protogen/gen
- docs
- deployments
- changelog

# Enabled by default linters:
# deadcode: Finds unused code [fast: false, auto-fix: false]
# errcheck: Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases [fast: false, auto-fix: false]
Expand Down