Linting for proper opening quotes
Closed this issue · 0 comments
bountonw commented
This applies to all translation .md
files regardless of language, while source files continue to be ignored.
- Opening smart single and double quotes should have a space before them if they are not the first thing on the line.
/[^ ][‘“]/
should fail. I would use\s
but I don't know how it is handled at the beginning of the line. Perhaps there is a better regex. - Opening smart single and double quotes should not be followed by whitespace.
/[‘“]\s/
should fail.