Prettier ESLint should be invoked for TypeScript files
See original GitHub issueESLint supports TypeScript files through typescript-eslint-parser.
However, when eslintIntegration is enabled, this extension will silently skip prettier-eslint for TypeScript files: https://github.com/prettier/prettier-vscode/blob/7431dd3dc8c0e324be98378efcd1a90ce4f547fa/src/PrettierEditProvider.ts#L118
Are you happy for me to raise a PR that changes this, so TypeScript files do run through prettier-eslint?
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Prettier, ESLint and Typescript - DEV Community
Let's create a file called index.js with the following code: // index.js const a = 1. If we run npx prettier index.js ,...
Read more >Linting in TypeScript using ESLint and Prettier - LogRocket Blog
Integrate Prettier with ESLint to automate type-checking in your TypeScript code and ensure that the code has no bugs.
Read more >How to use Prettier with ESLint and TypeScript in VSCode
In this guide, we'll explain how to use Prettier with ESLint, delegating the responsibility of code convention definition to ESLint, ...
Read more >Using ESLint and Prettier in a TypeScript Project
A useful command to add to the package.json scripts is a lint command that will run ESLint. ... The above script can be...
Read more >Prettier, ESLint and Typescript - LinkedIn
Let's create a file called index.js with the following code: // index.js const a = 1. If we run npx prettier index.js, the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Any updates on this? My team is having to manually apply this patch on every update.
prettier-eslintsupports ts files withtypescript-eslint-parsersince v7.1.0.