2 ms·
> The purpose of linters on a team - so I've been told - is so that no one has to argue about formatting anymore. Code formatting is just one feature a linter
by aidenn0 6y ago
> The purpose of linters on a team - so I've been told - is so that no one has to argue about formatting anymore.
Code formatting is just one feature a linter may have (e.g. shellcheck[1] and pyflakes[2] are definitely linters but don't have code formatting checks).
I disable all the formatting checks in my linters because if I want to enforce a formatting standard, a code reformatter is probably a better way to do it.
1: https://www.shellcheck.net/ https://www.shellcheck.net/
2: https://pypi.org/project/pyflakes/ https://pypi.org/project/pyflakes/