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