remarkjs / remark-heading-gap

plugin to adjust the gap between headings in markdown

Home Page:https://unified.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do you adjust "no-consecutive-blank-lines" rule to account for this?

niftylettuce opened this issue · comments

Currently with this plugin, and remark-preset-wooorm, you get the following error messages with remark CLI:

          98:1  warning  Remove 1 line before node                                no-consecutive-blank-lines  remark-lint
         109:1  warning  Remove 1 line before node                                no-consecutive-blank-lines  remark-lint
         114:1  warning  Remove 1 line before node                                no-consecutive-blank-lines  remark-lint

Is there a simple way to fix this lint rule that's accurate?

commented

You can't!

You could fork the remark-lint rule though, and build your own style guide!