-
Notifications
You must be signed in to change notification settings - Fork 100
Closed
Labels
area: lint configurationsImproving settings placed into lint configurations outside of rules.Improving settings placed into lint configurations outside of rules.type: enhancementNew feature or requestNew feature or request
Description
🚀 Feature Request
Some configurations, particularly those for monorepos, don't need to compute the full/extended config for a conversion. Their configurations might exist solely to modify a few choice rules from an extended shared config.
{
"extends": "@org/eslint-config",
"rules": {
"specific-rule": "error"
}
}
Existing Behavior
There's no way to change the behavior of rule conversions to ignore extended configurations.
Change Proposal
How about a --standalone
flag / standalone
Node API (once #732 is resolved) to disable fetching and computing the --print-config
and extends
rules for lint configurations? Is there a better name for the flag?
In the above example, instead of factoring in @org/eslint-config
, we'd only look at rules
-> specific-rule
.
Metadata
Metadata
Assignees
Labels
area: lint configurationsImproving settings placed into lint configurations outside of rules.Improving settings placed into lint configurations outside of rules.type: enhancementNew feature or requestNew feature or request