Practice · 4 of 4
Commit message hygiene
CHALLENGE
Difficulty: beginner+25 XP
Implement static string? ValidateMessage(string message) — return null for a good message (non-empty first line, ≤ 72 chars, no trailing period, doesn't start lowercase) or a short reason string: "empty", "too-long", "trailing-period", "lowercase-start".
Press Submit to check your solution.
Back to lesson: Practice: Workflow workshop