remark-lint is a linter for Markdown.

You can enable the remark-lint linter with:

trunk check enable remark-lint

Auto Enabling

remark-lint will be auto-enabled if any of its config files are present: .remarkrc, .remarkrc.json, .remarkrc.cjs.


remark-lint supports the following config files:

  • .remarkrc

  • .remarkrc.json

  • .remarkrc.cjs

  • .remarkrc.mjs

  • .remarkrc.js

  • .remarkrc.yaml

  • .remarkrc.yml

You can move these files to .trunk/configs and trunk check will still find them. See Moving Linter Configs for more info. Trunk check provides a default .remarkrc.yaml if your project does not already have one.

Last updated