Skip to content

Commit

Permalink
Merge pull request #245 from atc0005/i244-reenable-deprecated-maligne…
Browse files Browse the repository at this point in the history
…d-linter

Re-enable deprecated maligned linter
  • Loading branch information
atc0005 committed Jun 12, 2021
2 parents 6d82171 + 22637af commit 301ed33
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,30 @@ linters:
- goimports
- golint
- gosec
- govet

# Deprecated linter, but still functional as of golangci-lint v1.39.0.
# See https://github.com/atc0005/go-ci/issues/302 for more information.
- maligned

- misspell
- prealloc
- exportloopref
- stylecheck
- unconvert

disable:
- maligned
#
# 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

linters-settings:
govet:
enable:
- fieldalignment
# linters-settings:
# govet:
# enable:
# - fieldalignment

0 comments on commit 301ed33

Please sign in to comment.