Command Palette

Search for a command to run...

atypical
Commit grammar

Default grammar

What a commit section enforces when it declares no slots.

A [commit] section without slots enforces the header shape with no restricted spellings:

SlotShapeRequired
keywordswordYes
(...)( )No
[...][ ]No
modifierssymbolsNo
separatorsymbolYes

The slot names in this table appear in messages.

HeaderResult
add(lib)[int]: standard styleValid
feat(api)!: conventional styleValid
yolo(whatever)> ship itValid
wip!!~ kitchen sinkValid
feat!(api): xInvalid: ! is parsed as the separator
no separator hereInvalid: expected `modifiers`

default-ignores applies as usual.