mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 17:26:22 +03:00
[GH-ISSUE #319] Fixable tooling #274
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#274
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 @Youssef1313 on GitHub (Aug 15, 2020).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/319
Many rules in Rules.md explanation states the following:
it would be good to provide link of this tooling if there is a popular one.
@DavidAnson commented on GitHub (Aug 15, 2020):
Links are at the top of the README: https://github.com/DavidAnson/markdownlint#related
@Youssef1313 commented on GitHub (Aug 15, 2020):
@DavidAnson Thanks for the incredibly fast answer. The tooling under the "related" heading seems to have checkers, not fixers (unless I'm missing something or not fully understanding the given toolings). Can you please provide more info?
Thanks in advance.
@Youssef1313 commented on GitHub (Aug 15, 2020):
I found this very helpful. I didn't know that VS code extension is able to fix these. I think it would be a better experience that you add this link to Rules.md file in this repo.After trying what I said, it only fixes the current opened file. I need something to work for all files in a directory and sub-directories as well. It even tries to fixes some rules that I disabled.
@DavidAnson commented on GitHub (Aug 15, 2020):
markdownlint-cliandmarkdownlint-cli2will both fix multiple files at once.If you can demonstrate a scenario where the VS Code extension is fixing a rule that is disabled, please let me know because I would like to fix that. Disabled rules should not be reported in the first place, and therefore not be fixable. If you are seeing a rule reported, then it has not been disabled correctly.
@Youssef1313 commented on GitHub (Aug 15, 2020):
A file with only the following content:
will be transformed into:
on saving.
My .markdownlint.json is:
Here is the part related to markdownlint for settings.json:
@DavidAnson commented on GitHub (Aug 15, 2020):
That is not a change
markdownlintwill make. Please check to see if you are using the Prettier extension or something like that.@Youssef1313 commented on GitHub (Aug 15, 2020):
Great. Really thanks.