Skip to content

Commit

Permalink
Minor: Update .golang.yml to modify rule defaults
Browse files Browse the repository at this point in the history
Signed-off-by: notsatan <git@notsatan.me>
  • Loading branch information
notsatan committed Jan 2, 2024
1 parent 3933e93 commit cb51ccf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions {{ cookiecutter.project_name.strip() }}/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,8 @@ linters-settings:
whitespace:
# Tool for detection of leading and trailing whitespace - checks for unnecessary
# newlines at the start and end of functions, if, for, etc.
multi-if: true # Enforces newlines (or comments) after multi-line if statement
multi-func: true # Enforces newlines (or comments) after multi-line functions
multi-if: false # Enforces newlines (or comments) after multi-line if statement
multi-func: false # Enforces newlines (or comments) after multi-line functions

wrapcheck:
# An array of strings that specify substrings of signatures to ignore.
Expand Down

0 comments on commit cb51ccf

Please sign in to comment.