Add MD047/single-trailing-newline for enforcing new lines at the end of file (fixes #89).

This commit is contained in:
KitoW 2019-04-05 12:36:12 +02:00 committed by David Anson
parent 73511ff677
commit a977d0dcbc
40 changed files with 130 additions and 56 deletions

View file

@ -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
},