@r4lrgx/gitmoji
Version:
🧱 My customized Gitmoji Config - a fork of https://github.com/arvinxx/gitmoji-commit-workflow - just with several bug fixes and a cleaner look.
20 lines (18 loc) • 796 B
TypeScript
/**
* Creates parser configuration options combining gitmoji defaults with custom rules
*
* @returns {Object} Complete parser configuration object containing:
* @property {RegExp} headerPattern - Pattern for parsing commit headers
* @property {string[]} headerCorrespondence - Header field mappings
* @property {string[]} noteKeywords - Keywords for important notes (e.g., breaking changes)
* @property {RegExp} revertPattern - Pattern for identifying revert commits
* @property {string[]} revertCorrespondence - Field mappings for revert commits
*/
declare function createParserOpts(): {
noteKeywords: string[];
revertPattern: RegExp;
revertCorrespondcene: string[];
headerPattern: RegExp;
headerCorrespondence: string[];
};
export { createParserOpts as default };