You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you wanted to get it in sooner and also reduce risk, you could put this functionality behind an option (e.g. includeModifiers or something) and then we could just enable the option during the major release. But since it's not that big, it could also just go in during the major release as-is (whenever that happens).
I totally agree that its breaking, but I also think that we could consider it a bug fix. In other words, it seems pretty clear that this is a bug (we probably should have always considered modifiers here, but when the rule was written modifiers didn't exist), and semver clearly allows for the conceptual space of "breaking bugfixes".
I noticed today that the
no-restricted-invocations
rule doesn't support modifiers and it feels like it should.Seems like it'd just take adding
ElementModifierStatement
toember-template-lint/lib/rules/no-restricted-invocations.js
Lines 78 to 83 in 9e99852
Let me know if this is an improvement to the rule that you support. I've knocked together a short PR to implement it - #2657
The text was updated successfully, but these errors were encountered: