Dashes.yml 269 B

12345678910111213
  1. extends: existence
  2. message: "Remove the spaces around '%s'."
  3. link: https://docs.microsoft.com/en-us/style-guide/punctuation/dashes-hyphens/emes
  4. ignorecase: true
  5. nonword: true
  6. level: error
  7. action:
  8. name: edit
  9. params:
  10. - remove
  11. - ' '
  12. tokens:
  13. - '\s[—–]\s'