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
Consistent options #2213
Consistent options #2213
Conversation
2b4ab64
to
e5e58a8
Compare
d72cedb
to
16a9cc1
Compare
That should be all the option deprecations covered. I'm going to check this with a fresh pair of eyes tomorrow, then mark it up as ready for review. |
16a9cc1
to
803f588
Compare
Alright, this is ready for review. |
I've just noticed this is merging into |
Phew, I'm glad you saw. I just spotted that too and I thought I'd misunderstood how we were going out these deprecations. I think we should still merge into Awesome job on this PR btw. It's epic :) |
c418bf0
to
43d701b
Compare
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.
Looks good. Thanks for spearheading this, @m-allanson! Anybody have objections to merging? If not, I say go for it.
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.
@m-allanson maybe squash this commits in one for best history
I've done this via Github. @m-allanson Excellent job!
Got the ball rolling for two rules in #2220 :) Hopefully I'll have time for the rest soon! |
* Deprecate 'all-nested' option in 'at-rule-empty-line-before' * Deprecate 'blockless-group' option in 'at-rule-empty-line-before' * Deprecate 'between-comments' option in 'comment-empty-line-before' * Deprecate 'stylelint-commands' option in 'comment-empty-line-before' * Deprecate 'first-nested' option in 'at-rule-empty-line-before' * Deprecate 'first-nested' option in 'comment-empty-line-before' * Deprecate 'first-nested' option in 'custom-property-empty-line-before' * Deprecate 'first-nested' option in 'declaration-empty-line-before' * Deprecate 'first-nested' option in 'rule-nested-empty-line-before' * System test for option deprecations * Update docs to reference new option names * Update option descriptions to match the new option names
#1663
This deprecates the options listed in the related issue.
The changes required for each deprecation are listed below.
In the rule:
In the rule's readme:
In the rule's tests:
Then: