/** @type {import('@commitlint/types').UserConfig} */ module.exports = { extends: ['@commitlint/config-conventional'], plugins: [ { rules: { 'scope-no-commas': ({ scope }) => { if (scope && scope.includes(',')) { return [ false, 'scope must not contain commas (semantic-release will not parse the commit type)' ]; } return [true]; } } } ], rules: { 'scope-no-commas': [2, 'always'] } };