Re:Useful and useless code comments
by wilsonrocks on Friday June 18, 2021 @02:27AM
(#27547872)
I'm all in on prettifying... If it's done automatically. I find it such a good tradeoff to not have to think about it that I'm happy to accept the times when I think my discretion would do it better.
That said, I've started to develop strong views on some eslint rules. Usually around things being errors that should be warnings in development, like logging messages or debugger or unused variables. I like to run in CI with max warnings being zero to catch them then.
And push back hard against linter/prettifier rules that remove all developer discretion from layout and structure.