constellation/docs/styles/Microsoft/Dashes.yml
2022-09-02 11:52:42 +02:00

14 lines
278 B
YAML

extends: existence
message: "Remove the spaces around '%s'."
link: https://docs.microsoft.com/en-us/style-guide/punctuation/dashes-hyphens/emes
ignorecase: true
nonword: true
level: error
action:
name: edit
params:
- remove
- ' '
tokens:
- '[—–]\s|\s[—–]'