commitlint-plugin-jira-issue-in-scope

0.0.2 • Public • Published

JIRA Issue in Scope

JIRA Issue in Scope is a plugin extension for commitlint, which is a tool for linting commit messages.

If you want to learn more about structured and convention-driven commit messages, see conventional commits

Rules

This plugin adds the following rule:

  • jira-issue-in-scope:
    • This rule ensures that the scope is defined, and is formatted as a JIRA issue number (such as JIR-XXX)

Sample Configuration

module.exports = {
    extends: ['@commitlint/config-conventional'],
    plugins: ['jira-issue-in-scope'],
    rules: {
        'jira-issue-in-scope': [2, 'always']
    }
};

Package Sidebar

Install

npm i commitlint-plugin-jira-issue-in-scope

Weekly Downloads

418

Version

0.0.2

License

ISC

Unpacked Size

2.28 kB

Total Files

4

Last publish

Collaborators

  • swisscat