git: 2243059836 - main - .vale.ini: Refactor

Muhammad Moinur Rahman <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/doc/commit/?id=2243059836ea7e29d414cc8e93ffb3f5f6b48358

commit 2243059836ea7e29d414cc8e93ffb3f5f6b48358
Author:     Muhammad Moinur Rahman <[email protected]>
AuthorDate: 2023-04-25 14:11:21 +0000
Commit:     Muhammad Moinur Rahman <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.