0.1.0 • Published 4 years ago
@fundamend/config-rehype-lint v0.1.0
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,
};
License
0.1.0
4 years ago