Enhancement: Default projectService.defaultProject to "tsconfig.json" #9807
Labels
accepting prs
Go ahead, send a pull request that resolves this issue
enhancement
New feature or request
locked due to age
Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.
package: typescript-estree
Issues related to @typescript-eslint/typescript-estree
Before You File a Proposal Please Confirm You Have Done The Following...
Relevant Package
parser
My proposal is suitable for this project
Description
Right now, if you want to use
parserOptions.projectService
'sallowDefaultProject
, you need to also specify adefaultProject
alongside it. But that default project is basically always'tsconfig.json'
as I've set it.As a convenience for users, how about we default it to
'tsconfig.json'
instead ofundefined
?Additional Info
Resolution to this issue -either a PR or a wontfix- should block #8031 IMO. If we do end up making the change then the blog post will need to be rephrased a bit.
💖
The text was updated successfully, but these errors were encountered: