convert .import-restrictions to yaml
yaml has comments, so we can explain why we have certain rules or certain prefixes for those files that weren't already commented yaml, I converted them to yaml and took a best guess at comments based on the PRs that introduced or updated them
This commit is contained in:
@@ -1,11 +1,5 @@
|
||||
{
|
||||
"Rules": [
|
||||
{
|
||||
"SelectorRegexp": "k8s[.]io/kubernetes",
|
||||
"AllowedPrefixes": [
|
||||
"k8s.io/kubernetes/pkg/cloudprovider/providers"
|
||||
],
|
||||
"ForbiddenPrefixes": []
|
||||
}
|
||||
]
|
||||
}
|
||||
rules:
|
||||
# prevent any k8s.io/kubernetes imports outside of this package
|
||||
- selectorRegexp: k8s[.]io/kubernetes
|
||||
allowedPrefixes:
|
||||
- k8s.io/kubernetes/pkg/cloudprovider/providers
|
||||
|
Reference in New Issue
Block a user