diff --git a/.golangci.yml b/.golangci.yml index ba9de32..8b43e82 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -18,6 +18,14 @@ linters-settings: - style gocyclo: min-complexity: 15 + goheader: + values: + const: + COMPANY: IBM Inc. + template: |- + Copyright 2023- {{ COMPANY }} All Rights Reserved. + + SPDX-License-Identifier: Apache-2.0 goimports: local-prefixes: github.com/np-guard gomnd: @@ -80,6 +88,7 @@ linters: - gocritic - gocyclo - gofmt + - goheader - goimports - gomnd - gomoddirectives