Skip to content

Commit

Permalink
🔧 misc(git-sumi): improve emoji matching
Browse files Browse the repository at this point in the history
  • Loading branch information
welpo authored and Smtbook committed Feb 29, 2024
1 parent 2d3160d commit d8ebf50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sumi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ types_allowed = ["feat", "fix", "docs", "refactor", "test", "chore", "misc", "st

# Rule: Header must match regex pattern.
# Example: '^JIRA-\d+:'.
header_pattern = '^[\p{Emoji_Presentation}\p{Extended_Pictographic}\u{200D}] \w' # The first character must be an emoji.
header_pattern = '^([\p{Emoji_Presentation}\p{Extended_Pictographic}](?:\u{FE0F})?\u{200D}?) \w' # The first character must be an emoji.

0 comments on commit d8ebf50

Please sign in to comment.