@dwp/commitlint-config-base

    1.2.0 • Public • Published

    @dwp/commitlint-config-base

    Shareable commitlint config enforcing our commit convention. Originally based upon the AngularJS Commit Message Guidelines and derived from @commitlint/config-angular. Use with @commitlint/cli and @commitlint/prompt-cli.

    Getting started

    npm install --save-dev @dwp/commitlint-config-base @commitlint/cli

    Rules

    Add a commitlint.config.js file that looks something like:

        module.exports = require( '@dwp/commitlint-config-base' );

    You can add your own rules to enhance this, but in doing so please ensure you don't weaken the baseline ruleset.

    ## Linting

    Add commitlint to your test suite like this, or see our package.json for an example of how we do it:

        "test": "commitlint --from=develop --to=HEAD"

    Install

    npm i @dwp/commitlint-config-base

    DownloadsWeekly Downloads

    828

    Version

    1.2.0

    License

    ISC

    Unpacked Size

    4.69 kB

    Total Files

    5

    Last publish

    Collaborators

    • adam-moss
    • mikeshawdev