mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-29 03:58:48 +01:00
feature(config): adding config.ignore to replace metadata (e.g. frontmatter) before linting
This commit is contained in:
parent
a958a33860
commit
cae451967a
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