RUST & TS · VITE+ TOOLCHAIN

vite-plus-commitlint — Rust-Powered Conventional Commits Linter for the Vite+ Toolchain

vite-plus-commitlint is a zero-config Conventional Commits validator and Vite+ plugin backed by a compiled Rust CLI. It validates commit messages, branch names, and monorepo scope rules in under a millisecond during Git hooks and CI workflows.

$ npm install -D vite-plus-commitlint
GitHub ↗

ENGINEERING OVERVIEW

Ultra-fast Conventional Commits validator and Git hook integration built in Rust for the Vite+ unified frontend toolchain. Enforces semantic commit messages across local workflows and CI pipelines in microseconds.

COMMAND LINE & WORKFLOW EXAMPLES

Validate Commit Message
Validates the active git commit message against Conventional Commits specifications.
vite-plus-commitlint --edit .git/COMMIT_EDITMSG
Check Commit Range in CI
Audits entire git history range across pull requests to guarantee compliant history.
vite-plus-commitlint --from origin/main~1 --to origin/main
Vite+ CLI Plugin Task
Executes commitlint natively via the Vite+ unified task runner.
vp commitlint

RULE & POLICY SPECIFICATIONS

Rule ID Category Severity Rule Description
type-enum Format ERROR Commit type must be one of: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert.
subject-empty Structure ERROR Commit subject line cannot be empty.
header-max-length Length WARN Commit header must not exceed 100 characters.