Babel preset for commitlint, a tool that lints commit messages against configurable rules. This package provides a Babel preset configuration for commitlint, useful when using commitlint with Babel. The current stable version is 9.0.1 (last released on 2021-05-20), part of the commitlint v9 series. Note that commitlint itself has evolved to v17+, and babel-preset-commitlint may be obsolete; the modern approach is to use `@commitlint/cli` directly with conventional-changelog presets. This package has minimal maintenance and is likely deprecated or superseded by other commitlint packages.
npm install babel-preset-commitlintNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to configure Babel preset in Babel config to enable commitlint linting.
Use @commitlint/cli directly and configure via commitlint.config.js instead of relying on Babel preset.
Upgrade to @commitlint/cli and configure without the Babel preset.
Install @commitlint/cli as the main linting tool; babel-preset-commitlint only provides Babel integration.
Run npm install --save-dev babel-preset-commitlint to install it.
Set BABEL_ENV or NODE_ENV to 'production', 'development', or 'test' as needed.
No dependency data recorded yet.