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

Readme

Keywords

none

Package Sidebar

Install

npm i @worktile-devkit/commitlint-config

Weekly Downloads

22

Version

1.0.0-beta.24

License

ISC

Unpacked Size

4.25 kB

Total Files

4

Last publish

Collaborators

  • why520crazy