Have ideas to improve npm?Join in the discussion! »

    @worktile-devkit/commitlint-config

    1.0.0-beta.24 • Public • Published

    @worktile-devkit/commitlint-config

    commitlint configuration for Worktile

    Usage

    add commitlint.config.js in repo root folder, and copy bellow code to it.

    
    // commitlint.config.js
    module.exports = {
         extends: ['@workitle-devkit/commitlint-config']
    }
    

    add scope enum rules:

    
    // commitlint.config.js
    module.exports = {
         extends: ['@workitle-devkit/commitlint-config'],
         rules: {
             'scope-enum': [
                 2, 
                 'always', 
                 [
                     'config',
                     'core',
                     ...
                ]
            ]
         }
    }
    

    Keywords

    none

    Install

    npm i @worktile-devkit/commitlint-config

    DownloadsWeekly Downloads

    165

    Version

    1.0.0-beta.24

    License

    ISC

    Unpacked Size

    4.25 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar