Skip to content

Commit

Permalink
Change goheader template to avoid bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pkulik0 committed Sep 23, 2024
1 parent dc065a3 commit dc4f64a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,8 @@ linters-settings:
gocognit:
min-complexity: 30
goheader:
values:
regexp:
year: (\d{4})
template: |-
Copyright {{year}} Canonical.
Copyright {{MOD-YEAR}} Canonical.
importas:
no-unaliased: false
no-extra-aliases: false
Expand Down

0 comments on commit dc4f64a

Please sign in to comment.