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
15 changes: 10 additions & 5 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
run:
linters-settings:
golint:
min-confidence: 0.9
gocyclo:
min-complexity: 15
revive:
rules:
# Adjust rules related to code simplicity, readability, and maintainability
- name: exported
severity: warning
- name: cyclomatic
severity: warning
arguments: [20] # Set the maximum allowed cyclomatic complexity to 20


linters:
disable-all: true
enable:
- staticcheck
- ineffassign
- golint
- revive
- goimports
- errcheck
issues:
Expand Down