@jjangga0214/commitlint-config
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@jjangga0214/commitlint-config

A Sharcable Config package for commitlint.

Installation

npm install --save-dev @jjangga0214/commitlint-config
# or
yarn add --dev @jjangga0214/commitlint-config
# or
pnpm add --save-dev @jjangga0214/commitlint-config

And you should also install peerDependencies manually. Check out package.json or npm info.

# This does not install them all. This just show them on terminal.
npm info "@jjangga0214/commitlint-config@latest" peerDependencies

Or install them all by install-peerdeps.

# For npm
npx install-peerdeps --dev @jjangga0214/commitlint-config
# For yarn
npx install-peerdeps --yarn --dev @jjangga0214/commitlint-config
# For pnpm
npx install-peerdeps --pnpm --dev @jjangga0214/commitlint-config

Development

Check out the official docs for Sharable Config

Usage

.commitlint.config.js:

module.exports = {
  // REF: https://commitlint.js.org/#/concepts-shareable-config
  extends: ["@jjangga0214/commitlint-config"],
  // rules: { ... } // You can override it.
};

CJS and ESM

This package is intentionally CJS. Once commitlint starts supporting ESM, this package becomes also free to migrate. Refer to https://github.com/conventional-changelog/commitlint/issues/3705

Package Sidebar

Install

npm i @jjangga0214/commitlint-config

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

5.8 kB

Total Files

7

Last publish

Collaborators

  • jjangga0214