eslint-plugin-markdownlint
Version:
Eslint plugin for markdownlint
22 lines (19 loc) • 529 B
JavaScript
/**
* @fileoverview Rule MD047
* @see https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md047
* @author Paweł BB Drozd
*/
import ruleChecker from "../ruleChecker.js";
import Rule from "./rule.js";
export default {
meta: {
type: "layout",
docs: {
description: "files should end with a single newline character",
url: "https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md047",
},
fixable: "whitespace",
schema: [],
},
create: ruleChecker(Rule.MD047),
};