Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Remove gomnd from golangci linters (#1210)
This linter causes more harm than good, encouraging practices that actively obfuscate simple values whose meaning could be derived from context. Since it has no context-awareness, it flags everything from file modes, to obvious iteration counters as "magic numbers." This determination is fairly straightforward for a reviewer to make by hand, and it comes up relatively infrequently. The best course of action, until a better (probably LLM-based) magic number detector can be found.
- Loading branch information