Question: Why extending @typescript-eslint/recommended
automatically adds tsx and ts extensions?
#3824
Labels
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
question
Questions! (i.e. not a bug / enhancment / documentation)
Sorry, this is just a question. As far as I know eslint only runs on JS files and I have to use
eslint --ext ts,tsx
to run it on TypeScript files. There's no way around it… as far as I know. This is what your own docs say.But actually I run eslint with just
@typescript-eslint/recommended
and eslint automatically picks up ts and tsx files. Why and most importantly how?!Repro:
🤔
We were wondering in xojs/eslint-config-xo-typescript#39
The text was updated successfully, but these errors were encountered: