commitlint-plugin-lastline

1.0.0 • Public • Published

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}']
	}
};

Package Sidebar

Install

npm i commitlint-plugin-lastline

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.04 kB

Total Files

5

Last publish

Collaborators

  • dranzboi