rumdl

rumdl is a fast Markdown linter and formatter written in Rust. It is a drop-in replacement for markdownlint and ships with 71 rules covering Markdown style and consistency.

Run Locally

The mozlint integration of rumdl can be run using mach:

$ mach lint --linter rumdl <file paths>

Configuration

Rules are configured in tools/lint/rumdl.toml. To enable rumdl on a new directory, add the path to the include section in rumdl.yml.

Autofix

rumdl supports automatic fixing via the upstream --fix flag. Pass --fix to mach lint to apply fixes:

$ mach lint --linter rumdl --fix <file paths>

Sources