{"id":26296,"library":"remark-preset-lint-metarhia","title":"remark-preset-lint-metarhia","description":"Opinionated remark-lint preset for Markdown linting, originally extracted from metarhia-jstp. Version 2.0.1 is stable with a low release cadence. Provides a shared, opinionated configuration for remark-lint, enforcing consistent Markdown style. Differentiates from other presets (e.g., remark-preset-lint-consistent) by reflecting Metarhia's coding conventions and being minimal, relying on remark-cli for execution.","status":"active","version":"2.0.1","language":"javascript","source_language":"en","source_url":"https://github.com/metarhia/remark-preset-lint-metarhia","tags":["javascript","remark","lint","linter","preset","markdown","md","metarhia"],"install":[{"cmd":"npm install remark-preset-lint-metarhia","lang":"bash","label":"npm"},{"cmd":"yarn add remark-preset-lint-metarhia","lang":"bash","label":"yarn"},{"cmd":"pnpm add remark-preset-lint-metarhia","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Required to run remark-lint from the command line","package":"remark-cli","optional":false}],"imports":[{"note":"Package is designed to be used as a remark plugin preset, not a JavaScript module. No ESM/CJS import exists.","wrong":"require('remark-preset-lint-metarhia') - this preset is consumed via configuration, not imported directly","symbol":"remark-preset-lint-metarhia","correct":"Use in .remarkrc or package.json: \"plugins\": [\"remark-preset-lint-metarhia\"]"}],"quickstart":{"code":"// .remarkrc\n{\n  \"plugins\": [\"remark-preset-lint-metarhia\"]\n}\n\n// Then run: npx remark .","lang":"javascript","description":"Shows how to configure remark-lint with this preset using .remarkrc file and run it via CLI."},"warnings":[{"fix":"Consider combining with other presets or adding custom rules if needed.","message":"This preset does not include all remark-lint rules; only opinionated subset. Do not assume it covers all linting needs.","severity":"gotcha","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 -D remark-cli remark-preset-lint-metarhia","cause":"Missing local installation or running without installing the preset.","error":"Cannot find module 'remark-preset-lint-metarhia'"},{"fix":"Ensure the preset is installed and listed under 'plugins' array in .remarkrc.","cause":"Preset not installed or misconfigured in .remarkrc.","error":"MissingPreset: preset remark-preset-lint-metarhia not found"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}