mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20: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
|
|
@ -7,7 +7,7 @@ const { addErrorContext, frontMatterHasTitle } = require("../helpers");
|
|||
module.exports = {
|
||||
"names": [ "MD041", "first-line-heading", "first-line-h1" ],
|
||||
"description": "First line in a file should be a top-level heading",
|
||||
"tags": [ "headings", "headers" ],
|
||||
"tags": [ "headings" ],
|
||||
"function": function MD041(params, onError) {
|
||||
const level = Number(params.config.level || 1);
|
||||
const tag = "h" + level;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue