You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Dot import aliases (import . "pkg/some") is a special feature in go. import-alias-naming rule was not meant to deal with special import aliases (thus it ignores _). Unfortunately, . import alias sneaked away from my focus.
Describe the solution you'd like
Ignore . alias in the code.
Describe alternatives you've considered
In golangci-lint it is possible to ignore this issue specifically, but it should be a part of revive as an easy and clean solution.
Additional context
I will provide a PR.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Dot import aliases (
import . "pkg/some"
) is a special feature in go.import-alias-naming
rule was not meant to deal with special import aliases (thus it ignores_
). Unfortunately,.
import alias sneaked away from my focus.Describe the solution you'd like
Ignore
.
alias in the code.Describe alternatives you've considered
In
golangci-lint
it is possible to ignore this issue specifically, but it should be a part of revive as an easy and clean solution.Additional context
I will provide a PR.
The text was updated successfully, but these errors were encountered: