mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-18 15:00:13 +01:00
Regenerated config schema and adjusted tests
This commit is contained in:
parent
cf259d4099
commit
28dfe099f3
4 changed files with 11 additions and 6 deletions
|
|
@ -1256,12 +1256,12 @@
|
||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
"MD047": {
|
"MD047": {
|
||||||
"description": "MD047/new-line-eof - New lines at the end of file",
|
"description": "MD047/single-trailing-newline - Files should end with a single newline character",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
"new-line-eof": {
|
"single-trailing-newline": {
|
||||||
"description": "MD047/new-line-eof - New lines at the end of file",
|
"description": "MD047/single-trailing-newline - Files should end with a single newline character",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
|
|
@ -1306,7 +1306,7 @@
|
||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
"blank_lines": {
|
"blank_lines": {
|
||||||
"description": "blank_lines - MD012, MD022, MD031, MD032",
|
"description": "blank_lines - MD012, MD022, MD031, MD032, MD047",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -39,4 +39,4 @@ text
|
||||||
|
|
||||||
```
|
```
|
||||||
code at end of file without newline
|
code at end of file without newline
|
||||||
``` {MD047}
|
``` {MD047:42}
|
||||||
5
test/md022-line-number-out-of-range.json
Normal file
5
test/md022-line-number-out-of-range.json
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"default": true,
|
||||||
|
"MD047": false
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue