Command Palette

Search for a command to run...

atypical
Presets

Customizing

Overrides for preset slots.

An override names a preset slot and writes only the fields that change. See Merging.

ChangeOverride
Restrict keywordsname = "keywords", values = [...]
Require the scopename = "scope", required = true
Restrict the scopename = "scope", values = [...]
Add a slotA new name, its shape, and before = "<slot>"
Remove a slotname = "<slot>", drop = true
Disable default ignores[commit] with default-ignores = false

Restrict keywords

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

[[commit.slots]]
name = "keywords"
values = ["feat", "fix", "docs"]
HeaderResult
docs: xValid
feat(api)!: xValid
chore: x`chore` is not in `keywords`, expected one of: docs, feat, fix

Add a ticket

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

[[commit.slots]]
name = "ticket"
delimiters = ["[", "]"]
before = "separator"

feat(api)![ABC-12]: x is valid. The ticket accepts any characters except its brackets.

Remove a slot

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

[[commit.slots]]
name = "reason"
drop = true

Disable default ignores

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

[commit]
default-ignores = false

On this page