Hi,
I think it would be useful to add an default key to the json root info and/or to the status inner dict, per rule,
i.e. ruff rule YTT101 --output-format json could output something like:
"name": "sys-version-slice3",
....
"default": True,
"status": {
"Stable": {
"since": "v0.0.113"
},
"default": {
"since": "v0.16.0"
}
},
if a rule is ever dropped from the default list, maybe mark it accordingly, like:
"default": False,
"status": {
"Stable": {
"since": "v0.0.113"
},
"default": {
"since": "v0.16.0",
"until": "v0.30.0"
}
},
related to:
#27213
#28190
Hi,
I think it would be useful to add an
defaultkey to the json root info and/or to thestatusinner dict, per rule,i.e.
ruff rule YTT101 --output-format jsoncould output something like:if a rule is ever dropped from the default list, maybe mark it accordingly, like:
related to:
#27213
#28190