Skip to content

Commit

Permalink
chore(lint): allow pkg/apis/schedulerwebhook/v1alpha1 to be imported …
Browse files Browse the repository at this point in the history
…as schedwebhookv1a1
  • Loading branch information
gary-lgy committed Apr 14, 2023
1 parent 42818fd commit b39463c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ linters-settings:
alias: ${group}${s1}${s2}${s3}
- pkg: "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
alias: apiextensionsv1
- pkg: github.com/kubewharf/kubeadmiral/pkg/apis/schedulerwebhook/(?P<s1>v\d+)((?P<s2>\w)\w+(?P<s3>\d+))?
# schedwebhookv1a1
alias: schedwebhook${s1}${s2}${s3}
- pkg: github.com/kubewharf/kubeadmiral/pkg/apis/(?P<group>[\w\d]+)/(?P<s1>v\d+)((?P<s2>\w)\w+(?P<s3>\d+))?
# fedcorev1a1
alias: fed${group}${s1}${s2}${s3}
Expand Down

0 comments on commit b39463c

Please sign in to comment.