Add importas linter #480

Closed
opened 2023-06-28 11:25:44 +00:00 by fyrchik · 1 comment
Owner

At some point we wanted to enforce aliases for object imports from node (object), api-go (objectV2/objectAPI) and sdk-go (objectSDK).

Turns out the solution already exists, it may suit us https://golangci-lint.run/usage/linters/#importas .

Maybe there will be some other suggestions (services/xyz -> xyzsvc etc.)

At some point we wanted to enforce aliases for `object` imports from node (object), api-go (objectV2/objectAPI) and sdk-go (objectSDK). Turns out the solution already exists, it may suit us https://golangci-lint.run/usage/linters/#importas . Maybe there will be some other suggestions (`services/xyz` -> `xyzsvc` etc.)
fyrchik added the
triage
label 2023-06-28 11:25:44 +00:00
Author
Owner

Closed via #496.

Closed via #496.
fyrchik added this to the v0.37.0 milestone 2023-07-10 13:14:57 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#480
No description provided.