Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Labels
accepting prsGo ahead, send a pull request that resolves this issuebreaking changeThis change will require a new major version to be releasedpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginpreset config changeProposal for an addition, removal, or general change to a preset config
Milestone
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 haveread the FAQ and my problem is not listed.
Description
Right now, no config in the following list includes any other config in that list:
plugin:@typescript-eslint/recommendedplugin:@typescript-eslint/recommended-requiring-type-checkingplugin:@typescript-eslint/strict
That means if you want, say, the strictest, you must enable all three (https://typescript-eslint.io/docs/linting/configs):
{"extends":["plugin:@typescript-eslint/recommended","plugin:@typescript-eslint/recommended-requiring-type-checking","plugin:@typescript-eslint/strict"]}
Proposal: how about we have each config in that list also include any previous config in the list? That way if you want, say, the strictest, you would only need to enable one:
{"extends":["plugin:@typescript-eslint/strict"]}
Impacted Configurations
plugin:@typescript-eslint/recommendedplugin:@typescript-eslint/recommended-requiring-type-checkingplugin:@typescript-eslint/strict
Additional Info
This would be a breaking change.
Metadata
Metadata
Assignees
Labels
accepting prsGo ahead, send a pull request that resolves this issuebreaking changeThis change will require a new major version to be releasedpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginpreset config changeProposal for an addition, removal, or general change to a preset config