logo
0
0
WeChat Login
rvben<rvben@users.noreply.github.com>
Mirror: 0.1.25

rumdl-pre-commit

A pre-commit hook for rumdl, a fast Markdown linter and formatter written in Rust.

Usage

To use rumdl with pre-commit, add the following to your .pre-commit-config.yaml:

repos: - repo: https://github.com/rvben/rumdl-pre-commit rev: v0.1.25 hooks: - id: rumdl # Lint only (fails on issues) - id: rumdl-fmt # Auto-format and fail if issues remain

Two hooks are available:

  • rumdl — Lints files and fails if any issues are found
  • rumdl-fmt — Auto-formats files and fails if unfixable violations remain (recommended for CI)

Installation

When you run pre-commit install or pre-commit run, pre-commit will automatically install rumdl in an isolated Python environment using pip. You do not need to install rumdl manually.

License

MIT (see LICENSE)