-
-
Notifications
You must be signed in to change notification settings - Fork 929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate additional rules #2285
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done!
@@ -1,5 +1,7 @@ | |||
# time-no-imperceptible | |||
|
|||
***Deprecated: this rule is outside the scope of stylelint's functionality. See [the release planning docs](https://stylelint.io/user-guide/release-planning/) for details.*** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This time-no-imperceptible
rule is being replaced with a more appropriately and more versatile rule named time-min-milliseconds
. See #2249
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But technically new rule isn't here yet. What if it wouldn't be here when these changes will be released?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We won't be releasing the deprecations
branch until the alternative within stylelint are done. So, updating this message to reference time-min-milliseconds
SGTM. Otherwise we'll likely forget to do it when time-min-milliseconds
is added.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. time-min-milliseconds
is on its way #2289
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome. Let's update this message to:
***Deprecated: use the time-min-milliseconds
rule with 100
as its primary option. ***
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we reference the new rule in the deprecation message?
@ntwb I think that's a good idea. Just looking at the latest changelog, maybe I should add ' If you use this rule, please consider creating a plugin for the community.' to some of the other rules. |
Epic job with this @m-allanson btw! |
#2123
Deprecates the following rules: