blog/vale-styles/Google/EmDash.yml

13 lines
231 B
YAML
Raw Normal View History

2021-11-27 14:04:27 +01:00
extends: existence
message: "Don't put a space before or after a dash."
link: 'https://developers.google.com/style/dashes'
nonword: true
level: error
action:
name: edit
params:
- remove
- ' '
tokens:
- '\s[—–]\s'