-
Notifications
You must be signed in to change notification settings - Fork 1.7k
magento/devdocs#5249: Markdown linting: Spaces after list markers (MD030). Part 01 #5707
magento/devdocs#5249: Markdown linting: Spaces after list markers (MD030). Part 01 #5707
Conversation
An admin must run tests on this PR before it can be merged. |
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.
I neglected to add the proper rule syntax in the description for #5249. We are not using the default 1 space configuration. We're using the following custom configuration:
rule 'MD030', :ul_single => 2, :ol_single => 1, :ul_multi => 2, :ol_multi => 1
Sorry about that @atwixfirster. You'll either need to update your PR or close and start over.
fc2bd3a
to
71f3984
Compare
fixed @jeff-matthews , could you please review? Thank you! |
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.
It looks like you removed spaces entirely in some cases, which is incorrect.
- Unordered lists require two spaces after the list marker.
- Ordered lists require one space after the list marker.
Don't forget to run tests locally after making changes to verify you fixed all errors in a particular file.
I ran tests after changes that I've made.
Thanks, @jeff-matthews |
f6c256a
to
cceda4e
Compare
@jeff-matthews , could you please verify now. Many thanks as always :) |
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 great @atwixfirster!
Try to resist the urge to change note classes in future PRs ;)
Hi @atwixfirster, thank you for your contribution! |
@jeff-matthews , you are the BOSS here but I want to inform you what regarding to Dmitry Shevtsov notice in #4908 we should use a short format for note classes. Thank you! |
Yes of course. That's true, but per issue description in #5249, you should limit scope to resolving MD030 errors only. It'll make PR reviews faster and easier. |
sure, BOSS Thank you! |
It appears that I made a mistake when planning the initiative for #5249. I failed to take into account how many PRs would be associated with this effort. Awarding a Special achievement label (30 points) for each of the 26 PRs that you created creates imbalance in the community and is contrary to the spirit and intent of the rewards program. I apologize for the mistake, but I'm going to have to award you a single Special achievement label for all the PRs that you created related to this issue. The remaining will receive the I'm reviewing all other MD linting issues and PRs to apply the same standard to other contributors. See #5720. Thank you for your all of your contributions to devdocs. We truly appreciate it. |
I am totally agreed with this point.
Agreed but ...
your apologies are not accepted because of Thanks, @jeff-matthews |
I'm not denying that I made that announcement. I consider that announcement the mistake. I am taking responsibility. |
Thank you @jeff-matthews ! Anyway that was a good chance to increase contributors points. ;) |
Purpose of this pull request
This pull request provides changes regarding
Markdown linting: Spaces after list markers (MD030)
rule in the folder:_includes
.Part 01
Affected DevDocs pages
Links to Magento source code