I just cleaned up a JS project


I just cleaned up a JS project.

Before: Over 3,000 ESLint warnings/errors. 😬

After: Zero warnings/errors. πŸ˜€

How?
1. I fixed many spots quickly via find/replace.
2. I disabled a few spots inline temporarily.
3. I disabled a few lower priority rules.
Now that we’re at zero, the app is under control. No new warnings or errors are allowed. It’s enforced on CI.

With this firm foundation, we can begin re-enabling some rules and slowly enhance ESLint to catch more issues.

But from this day forward, zero warnings/errors. 😎

View original on X