UNPKG

semantic-commit-emoji

Version:
12 lines (11 loc) 577 B
import { Config } from "semantic-commit-emoji-config"; /** * Prepends a corresponding emoji to a commit message and return the result. * * In order of priority, matches a versions message, a merge message, a revert message, and * finally falls back to semantic commit message syntax. If a match has been found, map the * detected semantic commit message type to an emoji and prepend it to the original message. * If a match was not found, return the original message. */ declare const _default: (config: Config, commitString: string) => string; export default _default;