3 ms·
I think many people install the default linter for their ecosystem, get satisfaction from a bunch of essentially busy work getting some green check marks or rem
by danpalmer 6y ago
I think many people install the default linter for their ecosystem, get satisfaction from a bunch of essentially busy work getting some green check marks or removing warnings, and believe their code is better.
That’s not really that beneficial, and I can understand why you may dislike this sort of thing.
I think the real benefits come when...
- you can enforce a very consistent style, more than a typical linter
- you start adding custom linters for things that matter in your codebase
The second point here I’ve used to help move Python 2 to Python 3, move from one library to another by showing linter warnings for importing the old one, enforce new call patterns that might be tricky to enforce in code (like always calling function A before B). It’s less about “linting” and more about flexible static analysis and warnings, and while there will always be other ways to implement those it’s another tool that can be useful to have in your team’s toolbox.