linter: Consider policy on moving a lint rule back into nursery if significant problems are discovered post-release #16789
Replies: 1 comment
|
I think this is a reasonable policy to consider. Having recently worked on implementing the A few thoughts:
That said, I agree that user trust is important - shipping a rule that causes significant noise undermines confidence in oxlint as an ESLint replacement. |
Uh oh!
There was an error while loading. Please reload this page.
For example, the
import/extensionsrule has a few known issues which have taken a while to get fixes created/merged for:(This is in no way intended as criticism or to cast blame on anyone, and is just an example I had for the purposes of the proposal)
I think we should consider a policy for whether rules should be/can be moved into the nursery category in cases like this, where fixes to issue(s) with the rule cannot easily/quickly be implemented, and a rule has already been shipped as a non-nursery rule.
It would hopefully not need to happen too often, and should generally be reserved for serious issues/differences from the original rules, but it would be valuable in ensuring that users will be able to make more informed decisions when migrating for cases like this, until we can ship fixes for significant issues in a rule.
Maybe something like "After X weeks without a fix, if an issue (particularly an unintended divergence from the original ESLint rule) is considered severe enough, a rule can be moved into the nursery to avoid users running into problems".
I realize this would mean we'd be by-default disabling a rule for users when they upgrade, and so would potentially be considered a breaking change, but I think it's worth considering.
All reactions