UNPKG

eslint-plugin-markdownlint

Version:
55 lines (51 loc) 1.16 kB
/** * @fileoverview Rule MD013 * @see https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md013 * @author Paweł BB Drozd */ "use strict"; const ruleChecker = require("../ruleChecker"); const Rule = require("./rule"); module.exports = { meta: { type: "layout", docs: { description: "line length", url: "https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md013", }, fixable: "code", schema: [ { type: "object", properties: { line_length: { type: "number", }, heading_line_length: { type: "number", }, code_block_line_length: { type: "number", }, code_blocks: { type: "boolean", }, tables: { type: "boolean", }, headings: { type: "boolean", }, strict: { type: "boolean", }, stern: { type: "boolean", }, }, additionalProperties: false, }, ], }, create: ruleChecker(Rule.MD013), };