module.exports = {
    extends: ['cz'],
    parserPreset: {
        parserOpts: {
            headerPattern: /^(\w*)\(([\u4E00-\u9FA5]*)\)/,
            headerCorrespondence: ['type', 'scope'],
        },
    },
    rules: {
        'type-empty': [2, 'never'],
        'scope-empty': [2, 'never'],
    },
}
