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

15 lines
283 B
YAML

extends: existence
message: "'%s' doesn't need a hyphen."
link: https://docs.microsoft.com/en-us/style-guide/punctuation/dashes-hyphens/hyphens
level: warning
ignorecase: false
nonword: true
action:
name: edit
params:
- replace
- '-'
- ' '
tokens:
- '\s[^\s-]+ly-'