@cffnpwr/commitlint-config
v1.0.1
Published
Common commitlint configuration for cffnpwr
Readme
@cffnpwr/commitlint-config
A shared commitlint configuration for cffnpwr.
What's Included
- Conventional Commits rules (
type-enum,subject-max-length, etc.). no-ai-coauthor: rejects commits whoseCo-authored-bytrailer references an AI agent.gitmoji-whitelist: allows a leading gitmoji shortcode in the subject only when it is on the whitelist.
How to Install
npm
npm install -D @cffnpwr/commitlint-configor
npx jsr add -D @cffnpwr/commitlint-configyarn
yarn add -D @cffnpwr/commitlint-configor
yarn dlx jsr add -D @cffnpwr/commitlint-configpnpm
pnpm add -D @cffnpwr/commitlint-configor
pnpm dlx jsr add -D @cffnpwr/commitlint-configBun
bun add -D @cffnpwr/commitlint-configor
bunx jsr add -D @cffnpwr/commitlint-configDeno
deno add -D npm:@cffnpwr/commitlint-configor
deno add -D jsr:@cffnpwr/commitlint-configHow to Use
Create a commitlint config file and extend this shared configuration.
import type { UserConfig } from "@commitlint/types";
const config: UserConfig = {
extends: ["@cffnpwr/commitlint-config"],
};
export default config;The custom no-ai-coauthor and gitmoji-whitelist rules are bundled as inline
plugins, so no extra plugin installation is required.
