Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Description
Before You File a Proposal Please Confirm You Have Done The Following...
- I havesearched for related issues and found none that match my proposal.
- I have searched thecurrent rule list and found no rules that match my proposal.
- I haveread the FAQ and my problem is not listed.
Relevant Package
parser
My proposal is suitable for this project
- I believe my proposal would be useful to the broader TypeScript community (meaning it is not a niche proposal).
Description
Currently, theproject: true
option allows TypeScript-ESLint to auto-detect the tsconfig.json file within each package of a monorepo, however a relatively common setup is to use atsconfig.eslint.json
file for eslint setup. This means that instead of being able to utiliseproject: true
, each package needs an eslintrc file that points to the project file, or globs need to be used in the base configuration. Neither of these are ideal either for massive duplication reasons or for performance reasons.
Ideally, another option would be added to allow setting the filename that the parser looks for whenproject
is set totrue
. This would allow utilising atsconfig.eslint.json
file without needing to manually define it in all used locations.
Additional Info
This is a repost of@me4502's#7056 to avoid many comments. The comments dig into how to avoid needing this scenario in the first place. They're a good read!