mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Add MD047/single-trailing-newline for enforcing new lines at the end of file (fixes #89).
This commit is contained in:
parent
73511ff677
commit
a977d0dcbc
40 changed files with 130 additions and 56 deletions
|
|
@ -1297,6 +1297,16 @@
|
|||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"MD047": {
|
||||
"description": "MD047/single-trailing-newline - Files should end with a single newline character",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"single-trailing-newline": {
|
||||
"description": "MD047/single-trailing-newline - Files should end with a single newline character",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"headings": {
|
||||
"description": "headings - MD001, MD002, MD003, MD018, MD019, MD020, MD021, MD022, MD023, MD024, MD025, MD026, MD036, MD041, MD043",
|
||||
"type": "boolean",
|
||||
|
|
@ -1338,7 +1348,7 @@
|
|||
"default": true
|
||||
},
|
||||
"blank_lines": {
|
||||
"description": "blank_lines - MD012, MD022, MD031, MD032",
|
||||
"description": "blank_lines - MD012, MD022, MD031, MD032, MD047",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue