Allow for setting file extensions in configuration file #13158
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
core
Relates to ESLint's core APIs and features
enhancement
This change enhances an existing feature of ESLint
evaluating
The team will evaluate this issue to decide whether it meets the criteria for inclusion
The version of ESLint you are using.
6.8.0
The problem you want to solve.
From the ESLint website:
Your take on the correct solution to problem.
Considering that ESLint is getting more TypeScript users, it seems there should be an option to modify the extensions being used in ESLint in the
.eslintrc.js
file.At the very least it should now run lint by default on TypeScript files now. Or have a better method for that.
eslint .
became muscle memory for me. It's now gonna be a huge pain to have to change that to lint TypeScript files.Are you willing to submit a pull request to implement this change?
Not at this time due to the lack of knowledge of the code base. I will take a look tho and see how far I can get.
Other Info
Just a bit more context about my situation, here is my
.eslintrc.js
file. The goal is to have the standard linter on.js
files and use TypeScript linting on.ts
files. That way we can lint our mixed project.The text was updated successfully, but these errors were encountered: