Command Palette

Search for a command to run...

atypical
Presets

Standard Commits

Verb, importance, scope and reason.

Usage

Implements Standard Commits.

extends = "npm:@atypical/commit/standard"

Slots

SlotShapeValuesRequired
keywordswordadd, rem, ref, fix, undo, releaseYes
modifierssymbols?, !, !!No
scope( )exe, lib, test, build, doc, ci, cdNo
reason[ ]int, pre, eff, rel, cmp, mnt, tmp, exp, sec, upg, ux, pol, styNo
separatorsymbol:Yes

Examples

HeaderResult
add(exe)[int]: initialValid
rem?(lib): xValid
ref!![eff]: xValid
fix!(ci)[sec]: xValid
release: v1.2.3Valid
feat: xInvalid: feat is not a keyword
add(exe)!: xInvalid: the modifier precedes the scope
add[pre](lib): xInvalid: the scope precedes the reason
add(): xInvalid: empty scope

The Standard Commits rules for the summary, body and footer are not checked.

Source

presets/standard.toml

On this page