Skip to content

Latest commit

 

History

History
92 lines (64 loc) · 2.96 KB

README.md

File metadata and controls

92 lines (64 loc) · 2.96 KB

standard-readme-preset

Greenkeeper badge

remark preset to configure remark-lint with settings that enforce standard-readme.

Install

npm:

npm install standard-readme-preset

Dependencies

Usage

You probably want to use it on the CLI through a config file:

 ...
 "remarkConfig": {
+  "plugins": ["standard-readme-preset"]
 }
 ...

Or use it on the CLI directly

remark -u standard-readme-preset README.md

Or use this on the API:

 var remark = require('remark');
 var report = require('vfile-reporter');

 remark()
+  .use(require('standard-readme-preset'))
   .process('_Emphasis_ and **importance**', function (err, file) {
     console.error(report(err || file));
   });

Rules

This preset configures remark-lint with the following rules:

Contributing

Please do! Open an issue!

License

ISC © Richard Littauer