Skip to content

Commit

Permalink
Cleanup golint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisWiegman committed Oct 27, 2024
1 parent c9b62b6 commit 651e5d1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@ linters-settings:
- octalLiteral
- whyNoLint
gocyclo:
min-complexity: 15
min-complexity: 20
goimports:
local-prefixes: github.com/ChrisWiegman/goodhosts
gosec:
excludes:
- G115
mnd:
# don't include the "operation" and "assign"
checks:
Expand Down Expand Up @@ -63,7 +66,7 @@ linters:
- dogsled
- dupl
- errcheck
- exportloopref
- copyloopvar
- funlen
- gochecknoinits
- goconst
Expand Down Expand Up @@ -104,4 +107,4 @@ linters:
- wastedassign

run:
timeout: 5m
timeout: 5m

0 comments on commit 651e5d1

Please sign in to comment.