JSPM

@kode-frontend/commitlint-config

0.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 83
  • Score
    100M100P100Q81673F
  • License MIT

Shareable commitlint config enforcing conventional commits

Package Exports

  • @kode-frontend/commitlint-config

Readme

@kode-frontend/commitlint-config

Version

📥 Install

Add @kode-frontend/commitlint-config dependency to your project.

# Using npm
npm i --save-dev @commitlint/cli @kode-frontend/commitlint-config

# Using yarn
yarn add -D @commitlint/cli @kode-frontend/commitlint-config

# Using pnpm
pnpm add -D @commitlint/cli @kode-frontend/commitlint-config

🎮 Usage

There are two approaches to extend this shared config.

1. (Preferred) Reference it in your package.json

// commitlint.config.js

module.exports = {
  extends: ['@kode-frontend/commitlint-config'], // => @kode-frontend/commitlint-config
}

2. Or just the scope/owner of the package.

Just like "normal" extends listed above, this will add <scope>/commitlint-config.

// commitlint.config.js

module.exports = {
  extends: ['@kode-frontend'], // => @kode-frontend/commitlint-config
}