commitlint-plugin-jira-issue-in-scope
v0.0.2
Published
Rule requiring JIRA issue number in conventional commit scope
Downloads
2,866
Maintainers
Readme
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)
- This rule ensures that the
Sample Configuration
module.exports = {
extends: ['@commitlint/config-conventional'],
plugins: ['jira-issue-in-scope'],
rules: {
'jira-issue-in-scope': [2, 'always']
}
};