Open
Description
Before You File a Proposal Please Confirm You Have Done The Following...
- I have searched for related issues and found none that match my proposal.
- I have searched the current rule list and found no rules that match my proposal.
- I have read the FAQ and my problem is not listed.
Relevant Package
typescript-estree
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
Spinning out from #6367 (comment): we have logic in typescript-estree
to ensure provided configuration options are the expected types. But we don't show any indication about incorrect types to users who configure us incorrectly.
Fail
{
parserOptions: {
project: 123
}
}
Pass
{
parserOptions: {
project: ['tsconfig.eslint.json']
}
}
Additional Info
Proposal:
console.warn
in v6?throw
an error in v7?