UNPKG

eslint-plugin-markdownlint

Version:
34 lines (30 loc) 713 B
/** * @fileoverview Rule MD035 * @see https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md035 * @author Paweł BB Drozd */ "use strict"; const ruleChecker = require("../ruleChecker"); const Rule = require("./rule"); module.exports = { meta: { type: "layout", docs: { description: "horizontal rule style", url: "https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md035", }, fixable: "code", schema: [ { type: "object", properties: { style: { enum: ["consistent", "---", "***"], }, }, additionalProperties: false, }, ], }, create: ruleChecker(Rule.MD035), };