module.exports = {
	extends: ['@commitlint/config-conventional'],
	ignores: [(commit) => commit.includes('[tag]')],
	rules: {
		// Allow very long commit headers (in characters) to accommodate long summaries
		'header-max-length': [2, 'always', 2000],
		// Allow long lines in the body/footer so a ~200-word message is accepted
		'body-max-line-length': [2, 'always', 2000],
		'footer-max-line-length': [2, 'always', 2000],
	},
};
