mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-21 16:30:12 +01:00
Remove rule aliases for "header" (deprecated in v0.9.0).
This commit is contained in:
parent
20a552b4b7
commit
a9a77940c5
45 changed files with 138 additions and 600 deletions
|
|
@ -6,9 +6,9 @@ const { addErrorDetailIf, filterTokens, headingStyleFor } =
|
|||
require("../helpers");
|
||||
|
||||
module.exports = {
|
||||
"names": [ "MD003", "heading-style", "header-style" ],
|
||||
"names": [ "MD003", "heading-style" ],
|
||||
"description": "Heading style",
|
||||
"tags": [ "headings", "headers" ],
|
||||
"tags": [ "headings" ],
|
||||
"function": function MD003(params, onError) {
|
||||
let style = String(params.config.style || "consistent");
|
||||
filterTokens(params, "heading_open", function forToken(token) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue