mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 17:26:22 +03:00
[GH-ISSUE #106] MD005 or MD007, Does not work? #1938
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#1938
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 @ryunix on GitHub (Feb 23, 2018).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/106
Created the
test.md.Only error on line 4 will occur.
This is same result as mdl.
Fixed the
test.md.Oops, no error. 🙀
mdl will result in an error.
I want an MD005 error just like mdl.
However, I think that MD007 error is appropriate. 🤔
@DavidAnson commented on GitHub (Feb 23, 2018):
Sorry, I’ll have a look once I finish the current feature.
@ryunix commented on GitHub (Feb 23, 2018):
That’s all right. Thank you. 😸
@ryunix commented on GitHub (Mar 11, 2018):
hi, Thank you for fixing. 😸
However, I think problem is not solved. 🤔
I tried version
v0.8.0andtest/list-indentation.mdfile.Line 15 is not marked as an error.
Can you check it again?
@DavidAnson commented on GitHub (Mar 11, 2018):
I have not updated the CLI to use the latest version yet, are you sure your test is using v0.8.0? (You would have needed to update the package within the global install.)
The test file above is part of every test run for v0.8.0: https://travis-ci.org/DavidAnson/markdownlint
@DavidAnson commented on GitHub (Mar 12, 2018):
I think you'll find this works as you want - see below. Note that
npmautomatically nests the old version ofmarkdownlintformarkdownlint-cli, so it's necessary to remove that for the new one to be used.@ryunix commented on GitHub (Mar 12, 2018):
Oops. 🙀
I'm using
markdownlint-cli.I thought that
markdownlint-cliwas using latest versionmarkdownlint, but actually it is an old versionmarkdownlint.I confirmed that using latest version solves the problem.
Thank you very much. 😸
Sorry to take up your time. 🙇