DEV Community

Discussion on: Using ESLint and Prettier in a TypeScript Project

Collapse
 
bforbis profile image
bforbis

Nice write up! I'm using something pretty similar in my project, however I have noticed on larger typescript projects that the eslint.autoFixOnSave feature stops working correctly with this setup if I set my eslintrc to point to my tsconfig in parserOptions.

I haven't figured out exactly whats going on, it could be something funky in my tsconfig

Collapse
 
robertcoopercode profile image
Robert Cooper

Not sure what could be causing your issue. I’ve got this setup working for a large project written in TypeScript and it works without issue.

Collapse
 
bforbis profile image
bforbis

Seems to maybe be a performance issue with @typescript-eslint/parser. It only affects some projects and they are still investigating the root issue.

github.com/typescript-eslint/types...