@xyclos/commitlint-plugin-references
Custom commitlint rules which allows requiring references only for specific commit types.
Last updated 8 months ago by xyclos.jake .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @xyclos/commitlint-plugin-references 
SYNC missed versions from official npm registry.

@xyclos/commitlint-plugin-references

Custom commitlint rules which allows requiring references only for specific commit types..

Install

npm i -D @xyclos/commitlint-plugin-references

Usage

module.exports = {
    plugins: [
        "@xyclos/references"
    ],
    rules: {
        "references-empty-enum": [
            2,
            "never",
            [
                "fix",
                "feat"
            ]
        ]
    },
    parserPreset: {
        parserOpts: {
            issuePrefixes: ["ABC-"]
        }
    }
}

License

MIT

Current Tags

  • 0.0.1                                ...           latest (8 months ago)

1 Versions

  • 0.0.1                                ...           8 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |