mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-04 23:18:49 +01:00
Renamed rule fore new line at EOF from MD046 to MD047
This commit is contained in:
parent
12a51da282
commit
33eaf0bdda
10 changed files with 14 additions and 14 deletions
|
|
@ -6,7 +6,7 @@ const shared = require("./shared");
|
|||
const { isBlankLine } = shared;
|
||||
|
||||
module.exports = {
|
||||
"names": [ "MD046", "new-line-eof" ],
|
||||
"names": [ "MD047", "new-line-eof" ],
|
||||
"description": "New lines at the end of file",
|
||||
"tags": [ "blank_lines" ],
|
||||
"function": function rule(params, onError) {
|
||||
|
|
@ -49,7 +49,7 @@ const rules = [
|
|||
require("./md043"),
|
||||
require("./md044"),
|
||||
require("./md045"),
|
||||
require("./md046")
|
||||
require("./md047")
|
||||
];
|
||||
rules.forEach((rule) => {
|
||||
const name = rule.names[0].toLowerCase();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue