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 committed Feb 11, 2024
1 parent 291e96a commit ac5fc98
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"]

# 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 ac5fc98

Please sign in to comment.