{"repo":"nuxt-content/mdclint","free":true,"listed":false,"github":"https://github.com/nuxt-content/mdclint","clone":"git clone https://github.com/nuxt-content/mdclint.git","description":"Lint Markdown and MDC files","language":"TypeScript","stars":38,"topics":["content","markdown","mdc"],"license":"MIT","category":"cli-tools","readme_excerpt":"MDC Lint [![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![License][license-src]][license-href] Lint Markdown and MDC files with markdownlint. MDC Lint ships a CLI and an ESLint flat-config plugin tuned for Nuxt Content style Markdown. - CLI with glob support and --fix - ESLint plugin with recommended rules for Markdown/MDC - Presets: mdc (default) with custom MDC rules, or markdown for plain Markdown - Respects existing .markdownlint. config files and supplies sane defaults Installation CLI Lint files directly from the terminal: Options: - --preset [mdc markdown] (default: mdc ) — use MDC-specific rules or standard Markdown rules only. - --fix — apply autofixable markdownlint suggestions in-place. The CLI: - Accepts files or glob patterns and expands directories automatically. - Loads the first .markdownlint. config it finds in the project root; if none exists, it uses a default config that disables some noisy markdownlint rules (e.g. MD041 , line length checks via MD013 ) and enables MDC-specific rules ( MDC007 , MDC018 , MDC022 , MDC023 , MDC031 , MDC032 , MDC034 , MDC058 ). Examples: ESLint Plugin (flat config) Use MDC Lint as part of your flat ESLint config: What the plugin provides: - Recommended rules under the mdclint/ namespace (all enabled as error by default). - A parser stub compatible with Markdown files. - Support for .markdownlint. configs; pass config to override rules inline, or preset: 'markdown'","default_branch":null,"files":null,"tree":[],"storefront":"/r/nuxt-content","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nuxt-content/mdclint/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}