mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
chore: update the style guide, specifically disallow periods in error messages (#5753)
This commit is contained in:
parent
f0031966c9
commit
8f3dd6ef0b
4
.github/CONTRIBUTING.md
vendored
4
.github/CONTRIBUTING.md
vendored
@ -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
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user