Command Palette

Search for a command to run...

atypical
Getting started

Installation

Distribution channels for the commit-lint binary.

ChannelCommandPresets included
npmnpm i -D @atypical/commitYes, by name
crates.iocargo install atypical-commitNo

npm

@atypical/commit is a Node wrapper. The binary is an optional dependency named @atypical/commit-<platform>-<arch>, with a -musl suffix on musl Linux. The packages have no install scripts. The wrapper requires Node 18 or later.

PlatformArchitectureslibc
Linuxx64, arm64glibc, musl
macOSx64, arm64
Windowsx64, arm64
VariableEffect
COMMIT_LINT_BINARYPath of the binary the wrapper runs instead

The wrapper exits 127 when no binary is available: an unsupported platform, skipped optional dependencies, or a binary that fails to start.

The package exports each preset by name, for use in extends as npm:@atypical/commit/<preset>.

crates.io

The crate does not include the presets. Copies are in presets/.

Minimal setup

FileContents
atypical.tomlextends = "npm:@atypical/commit/conventional"
.husky/commit-msgcommit-lint -- "$1"

On this page