Skip to content

Releases: nuxt-content/mdclint

v0.1.2

16 Dec 13:53

Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

  • Improve nested component detection(upgrade remark-mdc)  -  by @farnabaz (9d894)
  • cli: Move citty to dependencies, it is used in cli entry point  -  by @farnabaz (bcc83)
    View changes on GitHub

v0.1.1

12 Dec 09:30

Choose a tag to compare

First public release of mdclint.

Added

  • CLI: mdclint to lint Markdown/MDC files from the terminal, with glob support.
  • Autofix: --fix to apply autofixable markdownlint fixes in-place.
  • Presets:
    • mdc (default) — enables MDC-focused custom rules in addition to markdownlint.
    • markdown — standard markdownlint rules only.
  • ESLint (flat config) integration: mdcLint() helper that returns an ESLint config for linting Markdown files via mdclint/* rules.
  • Config loading: reads .markdownlint.* configuration at the project root with sensible defaults for content-centric docs.

Notes

  • MDC rules are implemented as custom markdownlint rules (e.g. MDC007, MDC018, MDC022, MDC023, MDC031, MDC032, MDC034, MDC058).
  • markdownlint is patched to support this project’s needs.