This rule enforces that text immediately following a colon should be in lowercase, following Google's developer documentation style guide. This is important for maintaining consistency in documentation and adhering to professional style conventions. Using lowercase after colons is particularly relevant in lists, descriptions, and explanatory text where the colon introduces related information.
Examples:
✗ Incorrect:
- Here is my point: This is wrong
- The following items: These are examples
- Note: The first word is capitalized
✓ Correct:
- Here is my point: this is correct
- The following items: these are examples
- Note: the first word is lowercase
The rule specifically looks for patterns where a colon is followed by a space and then an uppercase letter (:\s[A-Z]
), flagging them as warnings. This helps maintain a consistent style throughout your documentation.