mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 01:36:03 +03:00
[PR #652] [MERGED] fix(prettier): add ordered list configuration. #942
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#942
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/DavidAnson/markdownlint/pull/652
Author: @adam-moss
Created: 11/22/2022
Status: ✅ Merged
Merged: 11/22/2022
Merged by: @DavidAnson
Base:
next← Head:fix/prettier📝 Commits (1)
72f31e9fix(prettier): add ordered list configuration📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
doc/Prettier.md(+2 -1)📄 Description
Whilst testing earlier today with pre-commit I was getting a conflict between
prettierandmarkdownlint-cli2when it came to ordered lists with multiple paragraphs.Running either in isolation was fine, and would re-format the files to their own liking. However when combined it started a bun fight over spacing.
Basically the same issue as described in #410 but for ordered rather than unordered lists, hence not opening a new issue before submitting this pull request.
To resolve I had to add
ol_multi: 2into the.markdownlint-cli2.yamlconfig.As I'd already done the work to solve it I'm submitting this in-case you want to update the config suggested in Prettier.md.
Abbreviated files were:
.editorconfig
README.md
.pre-commit-config.yaml
.markdownlint-cli2.yaml
Signed-off-by: Adam Moss 2951486+adam-moss@users.noreply.github.com
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.