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
|
lines: 150
|
||||||
statements: 50
|
statements: 50
|
||||||
goheader:
|
goheader:
|
||||||
|
values:
|
||||||
|
regexp:
|
||||||
|
# YYYY or YYYY-YYYY
|
||||||
|
YEARS: \d\d\d\d(-\d\d\d\d)?
|
||||||
template: |-
|
template: |-
|
||||||
Copyright 2020 the Pinniped contributors. All Rights Reserved.
|
Copyright {{YEARS}} the Pinniped contributors. All Rights Reserved.
|
||||||
SPDX-License-Identifier: Apache-2.0
|
SPDX-License-Identifier: Apache-2.0
|
||||||
goimports:
|
goimports:
|
||||||
local-prefixes: go.pinniped.dev
|
local-prefixes: go.pinniped.dev
|
||||||
|
Loading…
Reference in New Issue
Block a user