-
Notifications
You must be signed in to change notification settings - Fork 280
Closed
Labels
Description
With the following .overcommit.yml:
PreCommit:
Mdl:
enabled: true
And a README.md:
## Oops
Then attempting to commit will fail with:
Analyze markdown files with mdl.................................[Mdl] FAILED
Unexpected output: unable to determine line number or type of error/warning for output:
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md
Running mdl README.md manually will show:
README2.md:1: MD002 First header should be a top level header
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md
I guess this extra line in the output may be new in mdl and has broken the hook.