1.2.1 • Published 4 years ago

remark-preset-lint-gatsby v1.2.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

remark-preset-lint-gatsby

Remark preset with settings for linting markdown Gatsby docs.

Install

npm i remark-preset-lint-gatsby
# or
yarn add remark-preset-lint-gatsby

Add preset to remark configuration as plugin:

{
  "plugins": [
    "remark-preset-lint-gatsby"
  ]
}

Rules

Includes remark-preset-lint-markdown-style-guide with few overrides and addtional rules below:

RuleSetting
checkbox-character-style{checked: "x", unchecked: " "}
checkbox-content-indent
emphasis-marker'_'
fenced-code-flaglanguages list based on Gtasby Styleguide
final-newline
first-heading-level2
item-content-indentfalse
list-item-spacingfalse
maximum-line-lengthfalse
no-duplicate-headingsfalse
no-duplicate-headings-in-section
no-emphasis-as-headingfalse
no-heading-indent
no-heading-punctuation'.'
no-tabs
no-trailing-spaces
ordered-list-marker-valuefalse
prohibited-stringsword list
unordered-list-marker-style'-'