Fix go-header usage (#1785)
There's a known behavior of YAML template blocks using `|` that they insert a trailing newline. To remove it add `-` a.k.a block chomping indicator.
This commit is contained in:
parent
c3c7bcd7ac
commit
89315e00fb
@ -231,7 +231,7 @@ linters-settings:
|
||||
regexp:
|
||||
# define here regexp type values, for example
|
||||
# AUTHOR: .*@mycompany\.com
|
||||
template: # |
|
||||
template: # |-
|
||||
# put here copyright header template for source code files, for example:
|
||||
# Note: {{ YEAR }} is a builtin value that returns the year relative to the current machine time.
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user