JSPM

@kode-frontend/commitlint-config

0.0.2
  • 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

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@kode-frontend/commitlint-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    @kode-frontend/commitlint-config

    Version

    📥 Install

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

    # Using npm
    npm i --save-dev @kode-frontend/commitlint-config
    
    # Using yarn
    yarn add -D @kode-frontend/commitlint-config
    
    # Using pnpm
    pnpm add -D @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
    }