mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #716] Is prettier redundant if I use markdownlint? #2367
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#2367
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 @astier on GitHub (Feb 10, 2023).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/716
Hi. I am using markdownlint and it works great. Does it make sense to use prettier additionally to markdownlint or is it redundant? Are there case which prettier covers which markdownlint doesn't?
I read that some rules might conflict between prettier and markdownlint. Do I have to include to my
markdownlintconfig-fileor is the following enough?
Thank you.
@DavidAnson commented on GitHub (Feb 11, 2023):
It's not hard to interoperate with prettier. Here is a bit of documentation to help with that: https://github.com/DavidAnson/markdownlint/blob/main/doc/Prettier.md
I don't have an opinion about whether you should or shouldn't combine the two. It's really about what rules are important to you and whether one or the other of these tools is adequate or whether they each have something to offer you.
@nschonni commented on GitHub (Feb 11, 2023):
Prettier can be helpful in doing formatting work on things like the frontmatter or inside code fences. That's how it's used in conjunction with Markdownlint in mdn/content.
@astier commented on GitHub (Feb 11, 2023):
Thanks.