Problem: TypeScript and ESLint display errors using a red underline, so you...


Problem: TypeScript and ESLint display errors using a red underline, so you can’t tell if it’s a type or lint issue at a glance.

Solution: Use only warnings in ESLint, (and set max-warnings to 0).

Then ESLint warnings are yellow, and TypeScript errors are red.

Via @JoshuaKGoldberg
“But you need to fix both, so why does the distinction matter?”

I fix TypeScript errors immediately. I fix ESLint issues when convenient (anytime before I open the PR)

View original on X