Skip to content

Commit

Permalink
Reorder golangci-lint settings (NOOP)
Browse files Browse the repository at this point in the history
Retain same overall behavior, but explicitly disable the
`fieldalignment` analyzer for now until we are able to
retain the "struct size" diagnostic, but drop the "pointer bytes"
diagnostic.

refs GH-611
  • Loading branch information
atc0005 committed Jan 26, 2022
1 parent 5663915 commit 22313ec
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,17 @@ linters:
- stylecheck
- unconvert

#
# Disable fieldalignment settings until the Go team offers more control over
# the types of checks provided by the fieldalignment linter or golangci-lint
# does so.
#
# See https://github.com/atc0005/go-ci/issues/302 for more information.
#
# disable:
# - maligned

# disable:
# - maligned

# linters-settings:
# govet:
# enable:
# - fieldalignment
linters-settings:
govet:
#
# Disable fieldalignment settings until the Go team offers more control over
# the types of checks provided by the fieldalignment linter or golangci-lint
# does so.
#
# See https://github.com/atc0005/go-ci/issues/302 for more information.
#
disable:
- fieldalignment

0 comments on commit 22313ec

Please sign in to comment.