New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
strconv.FormatInt
or strconv.FormatUint
and magic numbers ?
#27
Comments
strconv.FormatInt
or strconv.FormatUint
and magic numbers ?
I have the same issue with |
got same issue with gomnd / staticcheck
Rollback to golangci-lint v1.40.1 helped
|
@solokirrik bad advice considering improvements in |
@butuzov agree, but that's how it works now wo PR in go-mnd |
Before PR we might need a comment from @tommy-muehle. |
and looks like a way to ignore such patterns was just added |
@tommy-muehle could you please tag a new version with built-in functions fix? #29 |
+1 to @solokirrik, because support to |
Sure. Thanks for the heads up @solokirrik @butuzov ! |
Become curious: should any number (within consition
2 <= n <= 36
) be considered as magic number if used instrconv.FormatInt
orstrconv.FormatUint
?The text was updated successfully, but these errors were encountered: