Skip to content
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
Comment thread
ldemailly marked this conversation as resolved.
# Deprecated ones:
- gomnd
- execinquery
# Redundant ones:
- gofmt # we use gofumpt
# Weird/bad ones:
- wsl
Comment thread
ccoVeille marked this conversation as resolved.
- nlreturn
Comment thread
ldemailly marked this conversation as resolved.
Expand All @@ -81,7 +85,6 @@ linters:
- mnd
Comment thread
ldemailly marked this conversation as resolved.
- testpackage
- wrapcheck
Comment thread
ldemailly marked this conversation as resolved.
- exhaustivestruct
- tagliatelle
- nonamedreturns
- varnamelen
Expand All @@ -90,7 +93,6 @@ linters:
- paralleltest
- thelper
Comment thread
ldemailly marked this conversation as resolved.
- forbidigo
- ifshort
- wastedassign
- cyclop
- forcetypeassert
Expand Down