Getting started
Install the plugin and enable the recommended flat config.
npm install --save-dev eslint-plugin-remark eslint remark
import remark from "eslint-plugin-remark";
export default [...remark.configs.recommended];
For the full rollout guide, see Getting Started.
Minimal bridge-only setupโ
If you already have Remark configuration and only want Markdown files to flow through ESLint, use the bridge-only preset:
import remark from "eslint-plugin-remark";
export default [remark.configs.remarkOnly];
Config authoring onlyโ
If Markdown linting is handled elsewhere, but Remark config files should still be checked:
import remark from "eslint-plugin-remark";
export default [remark.configs.configuration];
Next stepsโ
- Review Preset Reference.
- Configure the Remark Bridge.
- Standardize config files with Config Authoring.