@fundamend/config-rehype-lint
v0.1.0
Published
_config-rehype-lint_ is a configuration preset for [rehype-parse] used by [config-rehype] and the [fundamend.dev] ecosystem.
Downloads
2
Readme
config-rehype-lint
config-rehype-lint is a configuration preset for rehype-parse used by config-rehype and the fundamend.dev ecosystem.
Installation
Use your favorite Node.js package manager, for example npm, like so:
npm install --save-dev @fundamend/config-rehype-lint
... or yarn, like so:
yarn add --dev @fundamend/config-rehype-lint
Usage
In your .rehyperc.js, import config-rehype-lint and add it to the plugins array, like so:
const lint = require('@fundamend/config-rehype-lint');
const plugins = [lint];
const settings = {};
module.exports = {
plugins: plugins,
settings: settings,
};