Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adapt settings to golangci-lint 1.59.1 #55

Merged
merged 2 commits into from
Jul 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ linters-settings:
max-func-lines: 30
nolintlint:
require-specific: true
# require-explanation: true # add this when we fix it/review nolints in fortio/fortio
whitespace:
multi-if: false # Enforces newlines (or comments) after every multi-line if statement
multi-func: false # Enforces newlines (or comments) after every multi-line function signature
Expand All @@ -73,6 +74,9 @@ linters:
- musttag
ldemailly marked this conversation as resolved.
Show resolved Hide resolved
# Deprecated ones:
- gomnd
- execinquery
# Redundant ones:
- gofmt # we use gofumpt
# Weird/bad ones:
- wsl
ccoVeille marked this conversation as resolved.
Show resolved Hide resolved
- nlreturn
ldemailly marked this conversation as resolved.
Show resolved Hide resolved
Expand All @@ -81,7 +85,6 @@ linters:
- mnd
ldemailly marked this conversation as resolved.
Show resolved Hide resolved
- testpackage
- wrapcheck
ldemailly marked this conversation as resolved.
Show resolved Hide resolved
- exhaustivestruct
- tagliatelle
- nonamedreturns
- varnamelen
Expand All @@ -90,7 +93,6 @@ linters:
- paralleltest
- thelper
ldemailly marked this conversation as resolved.
Show resolved Hide resolved
- forbidigo
- ifshort
- wastedassign
- cyclop
- forcetypeassert
Expand Down
Loading