Closed
Description
Before You File a Documentation Request Please Confirm You Have Done The Following...
- I have looked for existing open or closed documentation requests that match my proposal.
- I have read the FAQ and my problem is not listed.
Suggested Changes
I was chatting a new user, @NazCodeland, and they asked: should they separately run ESLint on transpiled JS files if they're already running ESLint with TypeScript-ESLint on source TS files?
The answer is no. The source TS files have all the content of the output JS files plus type annotations. There's no benefit to also linting the output JS files.
TypeScript-ESLint is "just" a plugin & set of extensions for ESLint. When running ESLint on JS and/or TS source files with TypeScript-ESLint, you're still getting the benefit of all the original ESLint rules.
Thanks for asking great questions @NazCodeland 😁 - we'll add this to the site.