git: 687e479a9e - main - .vale/styles: Fix error detection for Pronouns rule
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 16 Jul 2023 19:55:41 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/doc/commit/?id=687e479a9e02d88b39e69cb8747c79127af430bb commit 687e479a9e02d88b39e69cb8747c79127af430bb Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-16 19:54:11 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-16 19:55:35 +0000 .vale/styles: Fix error detection for Pronouns rule Currently due to the nonword keyword all the pronouns are are considered as sub words and is throwing errors. Grab pronouns on whole words only. --- .vale/styles/FreeBSD/Pronouns.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.vale/styles/FreeBSD/Pronouns.yml b/.vale/styles/FreeBSD/Pronouns.yml index 15d8352874..35d92cffab 100644 --- a/.vale/styles/FreeBSD/Pronouns.yml +++ b/.vale/styles/FreeBSD/Pronouns.yml @@ -3,7 +3,6 @@ extends: existence message: "Avoid pronouns such as '%s'." ignorecase: true level: warning -nonword: true tokens: - (?:^|\s)I\s - (?:^|\s)I,\s