remark-lint/packages/remark-preset-lint-consistent
Titus Wormer b8df5e3750 5.0.0
2016-08-22 11:07:50 +02:00
..
index.js Make reset the default 2016-08-22 10:57:20 +02:00
package.json 5.0.0 2016-08-22 11:07:50 +02:00
readme.md Make reset the default 2016-08-22 10:57:20 +02:00

remark-preset-lint-consistent

remark preset to configure remark-lint with settings that enforce consistency.

Install

npm:

npm install --save remark-preset-lint-consistent

Then, add the following to your config file:

   ...
   "remarkConfig": {
+    "presets": [
+      "remark-preset-lint-consistent"
+    ]
   }
   ...

Rules

This preset configures remark-lint with the following rules:

Rule Setting
blockquote-indentation 'consistent'
checkbox-character-style 'consistent'
code-block-style 'consistent'
emphasis-marker 'consistent'
fenced-code-marker 'consistent'
heading-style 'consistent'
link-title-style 'consistent'
list-item-content-indent true
ordered-list-marker-style 'consistent'
rule-style 'consistent'
strong-marker 'consistent'
table-cell-padding 'consistent'