Skip to content

Commit

Permalink
Enable all BUT fieldalignment govet analyzer
Browse files Browse the repository at this point in the history
The fieldanalyzer does not yet offer a way (afaik) to disable
the "pointer bytes" diagnostic, so we're still relying on the
deprecated maligned linter for struct field size ordering.

We enable all other anaylzers which are not otherwise explicitly
excluded.

refs GH-611
  • Loading branch information
atc0005 committed Jan 26, 2022
1 parent 22313ec commit ed09a48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ linters:

linters-settings:
govet:
enable-all: true

#
# Disable fieldalignment settings until the Go team offers more control over
# the types of checks provided by the fieldalignment linter or golangci-lint
Expand Down

0 comments on commit ed09a48

Please sign in to comment.