DEV Community

Discussion on: ESLint Warnings Are an Anti-Pattern

Collapse
 
jlouzado profile image
Joel Louzado

You might want to check out betterer which allows you to set rules on things like warnings as well and then trigger CI to fail if the number of warnings crosses some threshold.

The problem with having very strict linting is that it might slow down the team at a time where it might not be appropriate. In practice a policy of "no warnings" means that people see improvement work as being inherantly high-effort / low-reward and the refactoring piles up.

Collapse
 
thawkin3 profile image
Tyler Hawkins

Thanks for sharing! I had never heard of Betterer before, but I spent some time this morning looking through their docs. It looks neat!