DEV Community

Discussion on: How not to lint your code?

Collapse
 
areknawo profile image
Arek Nawo

It's a good idea. Sadly, such a simple rule isn't present in TSLint and even ESLint. The closest thing I found is consistent-return from ESLint, but still, it's not exactly the right thing.