JSPM

commitlint-plugin-lastline

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q17409F
  • License MIT

Adds additional rule to footer last line according regexp pattern.

Package Exports

  • commitlint-plugin-lastline

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (commitlint-plugin-lastline) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Footer last line

Introduction

Footer last line 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

Sample configuration

module.exports = {
    extends: ['@commitlint/config-conventional'],
    plugins: ['lastline'],
    rules: {
         'footer-last-line': [2, 'always', '^ticket #[\\d]{6}']
    }
};