chore: update the style guide, specifically disallow periods in error messages (#5753)

This commit is contained in:
Ian Bull 2024-08-22 01:30:16 -04:00 committed by GitHub
parent f0031966c9
commit 8f3dd6ef0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -245,11 +245,11 @@ Bad: Can't parse input x
Good: Cannot parse input x
```
7. Messages should use a colon when providing additional information:
7. Messages should use a colon when providing additional information. Periods
should never be used. Other punctuation may be used as needed:
```
Bad: Cannot parse input x. value is empty
Bad: Cannot parse input x, value is empty
Good: Cannot parse input x: value is empty
```