Registry / testing / remark-preset-lint-metarhia

remark-preset-lint-metarhia

JSON →
library2.0.1jsnpmunverified

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.

npm install remark-preset-lint-metarhia
INSTALL
IMPORT
SIG · REMARK-PRESET-LINT
R
remark-preset-lint-metarhia
testingjavascriptv2.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

remark-preset-lint-metarhia
Use in .remarkrc or package.json: "plugins": ["remark-preset-lint-metarhia"]
require('remark-preset-lint-metarhia') - this preset is consumed via configuration, not imported directly
Package is designed to be used as a remark plugin preset, not a JavaScript module. No ESM/CJS import exists.

Shows how to configure remark-lint with this preset using .remarkrc file and run it via CLI.

// .remarkrc { "plugins": ["remark-preset-lint-metarhia"] } // Then run: npx remark .
remark --version
Debug
Known issues
gotchaThis preset does not include all remark-lint rules; only opinionated subset. Do not assume it covers all linting needs.
fix
Consider combining with other presets or adding custom rules if needed.
affects: >=0.0.0
Errors
Common errors & fixes
Cannot find module 'remark-preset-lint-metarhia'
Missing local installation or running without installing the preset.
fix
Run: npm install -D remark-cli remark-preset-lint-metarhia
MissingPreset: preset remark-preset-lint-metarhia not found
Preset not installed or misconfigured in .remarkrc.
fix
Ensure the preset is installed and listed under 'plugins' array in .remarkrc.
Upgrade
Version history
2.0.1latest on npm
Audit
Dependencies
remark-clirequiredRequired to run remark-lint from the command line
Agent activity
2 hits · last 30 days
node
2
Resources
remark-preset-lint-metarhia — npm install remark-preset-lint-metarhia · libregistry