Linter allows range of years in copyright
Signed-off-by: Margo Crawford <margaretc@vmware.com>
This commit is contained in:
parent
dd3c990a51
commit
75bc5bdc7e
@ -61,8 +61,12 @@ linters-settings:
|
||||
lines: 150
|
||||
statements: 50
|
||||
goheader:
|
||||
values:
|
||||
regexp:
|
||||
# YYYY or YYYY-YYYY
|
||||
YEARS: \d\d\d\d(-\d\d\d\d)?
|
||||
template: |-
|
||||
Copyright 2020 the Pinniped contributors. All Rights Reserved.
|
||||
Copyright {{YEARS}} the Pinniped contributors. All Rights Reserved.
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
goimports:
|
||||
local-prefixes: go.pinniped.dev
|
||||
|
Loading…
Reference in New Issue
Block a user