Closed Ericwww closed 1 year ago
Hi, everyone.
I want to integrate goimports-reviser into our CI/CD to ensure that code gating will fail when the import ordering is not as expected.
goimports-reviser
But I found that list-diff flag is not work when a recursive path (./...) is given.
list-diff
I am making a PR to fix this bug. But I have one question.
What is the right behavior when `list-diff` flag is given? Refact code and print file path? or only print file path?
From what I remember, when you run the goimports -l command, it only prints the file path without refactoring the code.
goimports -l
I don't know what behavior is expected here for goimports-reviser.
Here is my PR #140
Use v3.6.0 tag with the fix
Hi, everyone.
I want to integrate
goimports-reviser
into our CI/CD to ensure that code gating will fail when the import ordering is not as expected.But I found that
list-diff
flag is not work when a recursive path (./...) is given.I am making a PR to fix this bug. But I have one question.
From what I remember, when you run the
goimports -l
command, it only prints the file path without refactoring the code.I don't know what behavior is expected here for goimports-reviser.