Skip to content

Commit

Permalink
Merge pull request #261 from atc0005/remove-inactive-maligned-linter
Browse files Browse the repository at this point in the history
Remove inactive maligned linter
  • Loading branch information
atc0005 authored Jun 1, 2024
2 parents eab35eb + 43ea6eb commit 31c27ee
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ linters:
- gofmt
- revive
- gosec

# 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
- nakedret
- prealloc
- exportloopref
Expand All @@ -41,10 +37,6 @@ linters-settings:
# minimal code complexity to report, 30 by default (but we recommend 10-20)
min-complexity: 15

maligned:
# print struct with more effective memory layout or not, false by default
suggest-new: true

nakedret:
# make an issue if func has more lines of code than this setting and it has naked returns; default is 30
max-func-lines: 2
Expand Down

0 comments on commit 31c27ee

Please sign in to comment.