Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Commit

Permalink
Update to add more linters.
Browse files Browse the repository at this point in the history
  • Loading branch information
bengarrett committed Dec 6, 2020
1 parent 104066d commit 9d2e5b8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,12 @@ linters:
- bodyclose
- deadcode
- depguard
- dogsled
- dupl
- errcheck
- exhaustive
- exportloopref
- funlen
- gochecknoinits
- gochecknoglobals
- gocognit
Expand All @@ -120,6 +122,7 @@ linters:
- godot
- goerr113
- goheader
- goimports
- golint
- gomodguard
- gomnd
Expand All @@ -133,6 +136,7 @@ linters:
- maligned
- misspell
- nakedret
- nestif
- noctx
- nolintlint
- prealloc
Expand All @@ -149,18 +153,14 @@ linters:
- whitespace
# run manually using cli:
# - gci # breaks with blank named imports
# - godox # flags todo/bug/fixme
# - unused # some false positives
# don't enable:
# - dogsled
# - funlen
# - godox # flags todo/bug/fixme
# - gofmt # conflicts with Go Language Server
# - gofumpt # conflicts with Go Language Server
# - goimports
# - nestif
# - nlreturn
# - testpackage
# - wsl
# - nlreturn # excessive formatting
# - testpackage # requires major refactor of all tests
# - wsl # excessive formatting
issues:
max-same-issues: 0
# Excluding configuration per-path, per-linter, per-text and per-source
Expand Down

0 comments on commit 9d2e5b8

Please sign in to comment.