Skip to content

Commit

Permalink
chore(lint): Update lint config
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
  • Loading branch information
hairyhenderson committed Dec 19, 2024
1 parent 7463d8e commit 313f86e
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
linters-settings:
govet:
check-shadowing: true
enable:
- fieldalignment
golint:
min-confidence: 0
enable-all: true
gocyclo:
min-complexity: 10
goconst:
Expand All @@ -13,7 +9,6 @@ linters-settings:
lll:
line-length: 140
nolintlint:
allow-leading-space: true # don't require machine-readable nolint directives (i.e. with no leading space)
allow-unused: false # report any unused nolint directives
require-explanation: false # don't require an explanation for nolint directives
require-specific: false # don't require nolint directives to be specific about which linter is being skipped
Expand All @@ -23,11 +18,11 @@ linters:
enable:
- asciicheck
- bodyclose
- copyloopvar
- dogsled
- dupl
- errcheck
- exhaustive
- exportloopref
- funlen
- gci
- gochecknoglobals
Expand All @@ -41,7 +36,6 @@ linters:
- gofumpt
- goheader
- goimports
- gomnd
- gomodguard
- goprintffuncname
- gosec
Expand All @@ -50,6 +44,7 @@ linters:
- ineffassign
- lll
- misspell
- mnd
- nakedret
- nestif
- nlreturn
Expand Down

0 comments on commit 313f86e

Please # to comment.