{"id":25871,"library":"lint-md-cli","title":"lint-md-cli","description":"A command-line tool for linting Chinese markdown files based on AST. Current stable version 0.1.2. Developed by hustcc, it integrates with CI pipelines and Docker. Supports configuring rule severity and excluding files via .lintmdrc. Key differentiator: focused on Chinese writing conventions, built on lint-md package, no breaking changes reported.","status":"active","version":"0.1.2","language":"javascript","source_language":"en","source_url":"https://github.com/hustcc/lint-md","tags":["javascript","lint","markdown","lint-md","cli"],"install":[{"cmd":"npm install lint-md-cli","lang":"bash","label":"npm"},{"cmd":"yarn add lint-md-cli","lang":"bash","label":"yarn"},{"cmd":"pnpm add lint-md-cli","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[],"quickstart":{"code":"npm install -g lint-md-cli\n# Check single file\nlint-md README.md\n# Check multiple files\nlint-md README.md Document.md\n# Fix automatically\nlint-md README.md --fix\n# Custom config\nlint-md README.md -c .lintmdrc","lang":"javascript","description":"Install globally, then lint or fix markdown files with options for config and auto-fix."},"warnings":[{"fix":"Install globally via npm i -g lint-md-cli or use npx lint-md-cli.","message":"Global install required for CLI use; not found when installed locally.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Refer to https://github.com/hustcc/lint-md/tree/master/packages/lint-md for valid rule names.","message":"Rules configured in .lintmdrc must match lint-md package rules exactly.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Consider alternatives like markdownlint or remark-lint for broader support.","message":"The package may not be actively maintained; last update 2020.","severity":"deprecated","affected_versions":">=0.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run npm install -g lint-md-cli","cause":"Package not installed globally.","error":"bash: lint-md: command not found"},{"fix":"Run npm install lint-md (use lint-md package) alongside lint-md-cli","cause":"Missing dependency lint-md, not installed automatically.","error":"Error: Cannot find module 'lint-md'"},{"fix":"Upgrade to latest version (0.1.2) and use --fix as shown in help.","cause":"Older version without fix support; or misspelled option.","error":"Unknown option: --fix"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}