1.0.0-beta.24 • Published 3 years ago

@worktile-devkit/commitlint-config v1.0.0-beta.24

Weekly downloads
154
License
ISC
Repository
github
Last release
3 years ago

@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',
                 ...
            ]
        ]
     }
}