eslint-plugin-markdownlint
Version:
Eslint plugin for markdownlint
34 lines (30 loc) • 737 B
JavaScript
/**
* @fileoverview Rule MD050
* @see https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md050
* @author Paweł BB Drozd
*/
;
const ruleChecker = require("../ruleChecker");
const Rule = require("./rule");
module.exports = {
meta: {
type: "layout",
docs: {
description: "strong style should be consistent",
url: "https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md050",
},
fixable: "code",
schema: [
{
type: "object",
properties: {
style: {
enum: ["consistent", "asterisk", "underscore"],
},
},
additionalProperties: false,
},
],
},
create: ruleChecker(Rule.MD050),
};