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

Re-enable deprecated maligned linter #221

Merged
merged 1 commit into from
Apr 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
25 changes: 19 additions & 6 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,30 @@ linters:
- depguard
- prealloc
- misspell

# 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

- dupl
- unconvert
- gofmt
- golint
- gocritic
- exportloopref

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