Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Import groups linting #856

Merged
merged 2 commits into from
Apr 10, 2024
Merged

Conversation

trgeiger
Copy link
Contributor

@trgeiger trgeiger commented Apr 9, 2024

Adds linter grouping to match configuration in operator-controller.

I did add dot grouping to rukpak since there are several dot imports in the test files for ginkgo and gomega. However, the revive linter does complain about the dot imports.

golangci-lint will now group imports in the following order:
- standard library
- 3rd party packages outside of our Github org
- packages from our Github org
- local imports from rukpak

Signed-off-by: Tayler Geiger <[email protected]>
@trgeiger trgeiger requested a review from a team as a code owner April 9, 2024 21:07
@trgeiger trgeiger changed the title Linter groups Import groups linting Apr 9, 2024
Copy link

@perdasilva perdasilva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm - thank you!!

Copy link

codecov bot commented Apr 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 36.63%. Comparing base (4732968) to head (998a565).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #856   +/-   ##
=======================================
  Coverage   36.63%   36.63%           
=======================================
  Files           9        9           
  Lines         868      868           
=======================================
  Hits          318      318           
  Misses        506      506           
  Partials       44       44           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@everettraven everettraven added this pull request to the merge queue Apr 10, 2024
Merged via the queue into operator-framework:main with commit 3d1ba69 Apr 10, 2024
10 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants