-
Notifications
You must be signed in to change notification settings - Fork 69
Closed
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
Description
We already have some linting for imports here, but would be nice to have linting for import groups.
I'm thinking the the following grouping:
- Standard library
- 3rd-party packages excluding
github.com/operator-framework/* - 3rd-party package from
github.com/operator-framework/* - Local imports from
github.com/operator-framework/operator-controller/*
I find this grouping helpful becuase it is very quick to distinguish OF dependencies from other 3rd party dependenices.
I think https://golangci-lint.run/usage/linters/#gci might be able to help with that.
Metadata
Metadata
Assignees
Labels
good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.