mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-10 09:58:50 +01:00
feature(config): adding config.ignore to replace metadata (e.g. frontmatter) before linting
This commit is contained in:
parent
eabe2387bc
commit
414e774480
4 changed files with 41 additions and 0 deletions
5
test/ignore_frontmatter.json
Normal file
5
test/ignore_frontmatter.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"default": true,
|
||||
"ignore": "frontmatter",
|
||||
"MD012": false
|
||||
}
|
||||
7
test/ignore_frontmatter.md
Normal file
7
test/ignore_frontmatter.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
front: matter
|
||||
---
|
||||
|
||||
# Header 1 #
|
||||
|
||||
## Header 2 ##
|
||||
Loading…
Add table
Add a link
Reference in a new issue