Fix latent linter issues.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2020-08-06 20:42:20 -05:00
parent 7143058462
commit c4bbb64622
5 changed files with 7 additions and 1 deletions

View File

@ -63,6 +63,8 @@ linters-settings:
lines: 125 lines: 125
statements: 50 statements: 50
goheader: goheader:
template-path: hack/header.txt template: |-
Copyright 2020 VMware, Inc.
SPDX-License-Identifier: Apache-2.0
goimports: goimports:
local-prefixes: github.com/suzerain-io local-prefixes: github.com/suzerain-io

View File

@ -3,6 +3,7 @@ Copyright 2020 VMware, Inc.
SPDX-License-Identifier: Apache-2.0 SPDX-License-Identifier: Apache-2.0
*/ */
//nolint:gochecknoglobals
package crdsplaceholder package crdsplaceholder
import ( import (

View File

@ -3,6 +3,7 @@ Copyright 2020 VMware, Inc.
SPDX-License-Identifier: Apache-2.0 SPDX-License-Identifier: Apache-2.0
*/ */
//nolint:gochecknoglobals,gochecknoinits
package v1alpha1 package v1alpha1
import ( import (

View File

@ -3,6 +3,7 @@ Copyright 2020 VMware, Inc.
SPDX-License-Identifier: Apache-2.0 SPDX-License-Identifier: Apache-2.0
*/ */
//nolint:gochecknoglobals
package placeholder package placeholder
import ( import (

View File

@ -3,6 +3,7 @@ Copyright 2020 VMware, Inc.
SPDX-License-Identifier: Apache-2.0 SPDX-License-Identifier: Apache-2.0
*/ */
//nolint:gochecknoglobals,gochecknoinits
package v1alpha1 package v1alpha1
import ( import (