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
|
|
@ -32,9 +32,9 @@ const getBlockQuote = (str, count) => (
|
|||
);
|
||||
|
||||
module.exports = {
|
||||
"names": [ "MD022", "blanks-around-headings", "blanks-around-headers" ],
|
||||
"names": [ "MD022", "blanks-around-headings" ],
|
||||
"description": "Headings should be surrounded by blank lines",
|
||||
"tags": [ "headings", "headers", "blank_lines" ],
|
||||
"tags": [ "headings", "blank_lines" ],
|
||||
"function": function MD022(params, onError) {
|
||||
const getLinesAbove = getLinesFunction(params.config.lines_above);
|
||||
const getLinesBelow = getLinesFunction(params.config.lines_below);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue