git: 0fa51a2e0c - main - vale/styles: Refactor Weasel rule
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Apr 2023 09:47:14 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/doc/commit/?id=0fa51a2e0cf9dfdfe947f1c1948ce033191355e0
commit 0fa51a2e0cf9dfdfe947f1c1948ce033191355e0
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-04-19 09:45:23 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-04-19 09:47:06 +0000
vale/styles: Refactor Weasel rule
- Reduce error level to suggestion
- Remove two keywords which are all over our repository due to the reports
frequency
- monthly
- quarterly
Approved by: bcr
Differential Revision: https://reviews.freebsd.org/D39685
---
.vale/styles/FreeBSD/Weasel.yml | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/.vale/styles/FreeBSD/Weasel.yml b/.vale/styles/FreeBSD/Weasel.yml
index 75a4164661..12b74d76ef 100644
--- a/.vale/styles/FreeBSD/Weasel.yml
+++ b/.vale/styles/FreeBSD/Weasel.yml
@@ -2,7 +2,7 @@
extends: existence
message: "'%s' is a weasel word!"
ignorecase: true
-level: warning
+level: suggestion
tokens:
- absolutely
- accidentally
@@ -114,7 +114,6 @@ tokens:
- many
- mentally
- mildly
- - monthly
- mortally
- mostly
- mysteriously
@@ -138,7 +137,6 @@ tokens:
- previously
- promptly
- punctually
- - quarterly
- quickly
- quietly
- rapidly