Command Palette

Search for a command to run...

atypical
Presets

Conventional Commits

Type, scope and breaking-change marker.

Usage

Implements Conventional Commits 1.0.0.

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

Slots

SlotShapeValuesRequired
keywordswordbuild, chore, ci, docs, feat, fix, perf, refactor, revert, style, testYes
scope( )AnyNo
modifierssymbols!No
separatorsymbol:Yes

The keywords match the types of @commitlint/config-conventional.

Examples

HeaderResult
feat: an endpointValid
fix(parser): handle empty inputValid
feat(api)!: drop the v1 routesValid
feat(a b): spaced scopeValid
revert: feat: an endpointValid
feat!(api): xInvalid: ! follows the scope
feat[api]: xInvalid: the scope uses parentheses
feat!!: xInvalid: one ! only
feat(): xInvalid: empty scope

BREAKING CHANGE: footers are not checked.

Source

presets/conventional.toml

On this page