mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 17:26:22 +03:00
[GH-ISSUE #277] MD038 conflict with prettier #2083
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#2083
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?
Originally created by @Mister-Hope on GitHub (Apr 24, 2020).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/277
Prettier V2 prefer:
while your plugin prefer:
Each of you have a reason for doing these. (So I can not tell who is better)But I really hope you two do not conflict with each other.
Can you follow prettier's lint behavior or convince prettier to change in to your way? Thanks.
BTW, this plugin is really nice.
@DavidAnson commented on GitHub (Apr 24, 2020):
Thanks! I think prettier is right. This scenario should already be supported by the library, but the spaces inside the string seem to be leading it to report a violation. I will look into this.
Example of this pattern being allowed without spaces inside the stream: https://dlaa.me/markdownlint/#%25m%23%20Issue%20277%0A%0A%60%60%20Ctrl%2B%60%20%60%60%0A