@commitlint/ensure
- Version 19.5.0
- Published
- 11.9 kB
- 6 dependencies
- MIT license
Install
npm i @commitlint/ensure
yarn add @commitlint/ensure
pnpm add @commitlint/ensure
Overview
Lint your commit messages
Index
Functions
function case
case: (raw?: string, target?: TargetCaseType) => boolean
function enum
enum: (value: any, enums?: any[]) => boolean
function maxLength
maxLength: (value: string | null, max: number) => boolean;
function maxLineLength
maxLineLength: (value: string, max: number) => boolean;
function minLength
minLength: (value: string | null, min: number) => boolean;
function notEmpty
notEmpty: (value: string) => boolean;
function toCase
toCase: (input: string, target: TargetCaseType) => string;
Package Files (8)
Dependencies (6)
Dev Dependencies (7)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@commitlint/ensure
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@commitlint/ensure)
- HTML<a href="https://www.jsdocs.io/package/@commitlint/ensure"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2727 ms. - Missing or incorrect documentation? Open an issue for this package.