git: 2243059836 - main - .vale.ini: Refactor
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Apr 2023 14:13:20 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/doc/commit/?id=2243059836ea7e29d414cc8e93ffb3f5f6b48358
commit 2243059836ea7e29d414cc8e93ffb3f5f6b48358
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-04-25 14:11:21 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-04-25 14:11:21 +0000
.vale.ini: Refactor
Vale's file globbing is much more stronger than thought while designing
for our documentation project or has improved significantly. Reduce the
clutter of rules in .vale.ini.
Approved by: bcr (mentor)
Differential Revision: https://reviews.freebsd.org/D39798
---
.vale.ini | 18 +-----------------
1 file changed, 1 insertion(+), 17 deletions(-)
diff --git a/.vale.ini b/.vale.ini
index ec3b7f3142..4364a08aaf 100644
--- a/.vale.ini
+++ b/.vale.ini
@@ -12,23 +12,7 @@ attribute-missing = drop
BasedOnStyles = FreeBSD, Vale
BlockIgnores = (?s) *(\[\.programlisting\]\n\.{4}.*?\.{4})
-[website/content/{bn-bd,da,de,el,es,fr,hu,id,it,ja,ko,mn,nl,pl,pt-br,ru,tr,zh-cn,zh-tw}/**/*.adoc]
-BasedOnStyles = FreeBSD, Vale
-FreeBSD.BrandTerms = NO
-FreeBSD.ConsciousLanguage = NO
-FreeBSD.Contractions = NO
-FreeBSD.Hang = NO
-FreeBSD.Hyphens = NO
-FreeBSD.SuperfluousOptArgInLinks = NO
-FreeBSD.SemanticLineBreak = NO
-FreeBSD.Spacing = NO
-FreeBSD.Weasel = NO
-Vale.Avoid= NO
-Vale.Repetition = NO
-Vale.Spelling = NO
-Vale.Terms= NO
-
-[documentation/content/{bn-bd,da,de,el,es,fr,hu,id,it,ja,ko,mn,nl,pl,pt-br,ru,tr,zh-cn,zh-tw}/**/*.adoc]
+[{documentation,website}/content/{bn-bd,da,de,el,es,fr,hu,id,it,ja,ko,mn,nl,pl,pt-br,ru,tr,zh-cn,zh-tw}/**/*.adoc]
BasedOnStyles = FreeBSD, Vale
FreeBSD.BrandTerms = NO
FreeBSD.ConsciousLanguage = NO