mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 22:40:13 +01:00
Handle files with front matter only and no trailing newline (fixes #157).
This commit is contained in:
parent
7d6635b472
commit
0bb38faa21
3 changed files with 8 additions and 1 deletions
4
test/front-matter-no-crlf.json
Normal file
4
test/front-matter-no-crlf.json
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"default": true,
|
||||
"MD041": true
|
||||
}
|
||||
3
test/front-matter-no-crlf.md
Normal file
3
test/front-matter-no-crlf.md
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
front: matter
|
||||
---
|
||||
Loading…
Add table
Add a link
Reference in a new issue