Up next is Josh Goldberg with static analysis. I've been struggling with @tseslint recently, so this talk feels like this talk is specifically for me.
Up next is Josh Goldberg with static analysis. I've been struggling with @tseslint recently, so this talk feels like this talk is specifically for me.
"Never block a local dev server or local build on a linting failure."
Josh is recommending we run with --allow-warnings and --report-unused-disable-directives to fail when there are unused disable comments and warnings.
Eslint is not good for formatting. Don't use eslint to format your code; prettier is better for formatting. It might be nice to add formatting to eslint, but for now use them in conjunction to do separate but complimentary things.
Josh defines compiler as a transpiler which runs a type checker, which I don't think is what most people would expect, but neatly solves a lot of js diction disagreements.