Skip to content

Commit

Permalink
Ignore API lint errors
Browse files Browse the repository at this point in the history
Signed-off-by: Marko Mudrinić <[email protected]>
  • Loading branch information
xmudrii committed Apr 19, 2019
1 parent b767bf8 commit 87dbd6f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,12 @@ linters:
linters-settings:
govet:
check-shadowing: true

issues:
exclude:
- "type name will be used as kubeone.KubeOneCluster by other packages, and that stutters; consider calling this Cluster"
- "don't use underscores in Go names; func SetDefaults_KubeOneCluster should be SetDefaultsKubeOneCluster"
- "don't use underscores in Go names; func SetDefaults_Hosts should be SetDefaultsHosts"
- "don't use underscores in Go names; func SetDefaults_APIEndpoints should be SetDefaultsAPIEndpoints"
- "don't use underscores in Go names; func SetDefaults_ClusterNetwork should be SetDefaultsClusterNetwork"
- "don't use underscores in Go names; func SetDefaults_MachineController should be SetDefaultsMachineController"

0 comments on commit 87dbd6f

Please sign in to comment.