Re:Pre-commit: framework for managing/maintaining multi-lang...
by fivea on Tuesday December 21, 2021 @03:09PM
(#29641504)
> While one could argue these are the job of the compiler, they are not today, and so linting during CI is not only appropriate, but practically required.
I disagree. Stylistic choices should not block a pipeline. It's impossible to argue in favour of blocking a release just because there's a whitespace in a place where it makes some random developer frown. The robustness principle also applies here.
And no, build/critical errors are not the same as stylistic/linting errors.
Re:Pre-commit: framework for managing/maintaining multi-lang...
by jen20 on Tuesday December 21, 2021 @03:32PM
(#29641758)
Whether you check errors is a correctness issue, not a stylistic one.
Re:Pre-commit: framework for managing/maintaining multi-lang...
by giovannibonetti on Tuesday December 21, 2021 @11:00AM
(#29638624)
The fact that Go requires a linter to ensure errors are properly handled is a whole other topic
While one could argue these are the job of the compiler, they are not today, and so linting during CI is not only appropriate, but practically required.