Scope the Vale "terms" substitution lint to paragraphs only

- This clears up the final four title-case "Pull Request" in titles,
  which are correct.
This commit is contained in:
Issy Long
2019-12-18 16:09:07 +00:00
parent a5ffdc6c5a
commit dac41ba275
+1
View File
@@ -3,6 +3,7 @@ extends: substitution
message: Use '%s' instead of '%s'.
link: 'https://github.com/Homebrew/brew/blob/master/docs/Prose-Style-Guidelines.md#terminology-words-and-word-styling'
level: error
scope: $paragraph
swap:
Pull Request: pull request
repo: repository