commitlint-lite mark

@theworker02/commitlint-lite · JSR · 1.1.0

commitlint-lite

Small conventional-commit validation for hooks, CI, and programmatic tooling.

1.1.0JSRMITNode.js ≥ 18

Overview

Validate conventional subjects without pulling in a large lint stack. The API supports custom types, files, batches, and the latest Git commit.

Structured API

Canonical package: @theworker02/commitlint-lite

import { lint, lintMany } from "@theworker02/commitlint-lite";
console.log(lint("feat: add scanner"));
console.log(lintMany(["fix: bug", "WIP"]));