Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.14 KB

File metadata and controls

35 lines (23 loc) · 1.14 KB
title Trunk | How to run markdownlint-cli2
description markdownlint-cli2 is a linter for Markdown

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.

Links