markdownlint-cli2

markdownlint-cli2 is a linter for Markdown.

You can enable the markdownlint-cli2 linter with:

trunk check enable markdownlint-cli2

Auto Enabling

markdownlint-cli2 will be auto-enabled if any of its config files are present: .markdownlint-cli2.jsonc, .markdownlint-cli2.yaml, .markdownlint-cli2.cjs.

Settings

markdownlint-cli2 supports the following config files:

  • .markdownlint-cli2.jsonc

  • .markdownlint-cli2.yaml

  • .markdownlint-cli2.cjs

  • .markdownlint-cli2.mjs

You can move these files to .trunk/configs and trunk check will still find them. See Moving Linters for more info.

Last updated