Adopt gocritic linter #1718

Open
opened 2025-04-15 13:49:18 +00:00 by fyrchik · 0 comments
Owner

Specifically:

deferInLoop is NOT a default, so it need to be enabled specifically.
I would start with disable-all and add checks incrementally after validating they are indeed useful.

Specifically: - `deferInLoop` could've helped here https://review.frostfs.info/c/TrueCloudLab/frostfs-node/+/111, (thanks @acid-ant there) - `deprecatedComment` could've helped here https://git.frostfs.info/TrueCloudLab/frostfs-sdk-go/pulls/353 `deferInLoop` is NOT a default, so it need to be enabled specifically. I would start with `disable-all` and add checks incrementally after validating they are indeed useful.
fyrchik added the
discussion
triage
refactoring
labels 2025-04-15 13:49:18 +00:00
dstepanov-yadro self-assigned this 2025-04-16 11:25:35 +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#1718
No description provided.