You're viewing a single thread.
All Comments
49 comments
pscamodio @feddit.it Meanwhile in another universe one of my biggest win was to introduce this line in our PR validation pipeline.
eslint . --max-warnings 0
25 0 Replyskuzz @discuss.tchncs.de Works so well, and soothes the warning annoyance brain, and keeps warnings from eventually becoming errors.
3 0 Replypscamodio @feddit.it In a codebase with a lot of warnings is even better for me to add a disable comments for all the existing warning and then not allow any new one in.
And then each time a part of the code needs to be touched the existing warning there should be solved too.
3 0 Replyjjjalljs @ttrpg.network Several times I've set the max warnings to whatever the current warning count is, and then decreased that over time.
2 0 Reply
49 comments
Scroll to top