0.0.1 • Published 4 years ago

@xyclos/commitlint-plugin-references v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@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