vale: Fix for editor integration

Previous commit of .vale.ini was not helpful for editor integration as
vim creates a file outside the git repository(specially /tmp) where vale
styles were not applicable. This commit changes the applicable file
patterns to match editor integration.

Approved by:	bcr
Differential Revision:	https://reviews.freebsd.org/D37362
This commit is contained in:
Muhammad Moinur Rahman 2022-11-12 16:18:51 -06:00
parent fac05eb339
commit 55b69b99cf
1 changed files with 13 additions and 23 deletions

View File

@ -10,6 +10,9 @@ attribute-missing = drop
[*.adoc]
BasedOnStyles = FreeBSD
[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
FreeBSD.BrandTerms = NO
FreeBSD.ConsciousLanguage = NO
FreeBSD.Contractions = NO
@ -21,28 +24,15 @@ FreeBSD.Spacing = NO
FreeBSD.Spelling = NO
FreeBSD.Weasel = NO
[website/content/en/**/*.adoc]
[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]
BasedOnStyles = FreeBSD
FreeBSD.BrandTerms = YES
FreeBSD.ConsciousLanguage = YES
FreeBSD.Contractions = YES
FreeBSD.EOLSpacing = YES
FreeBSD.Hang = YES
FreeBSD.Hyphens = YES
FreeBSD.Repitition = YES
FreeBSD.Spacing = YES
FreeBSD.Spelling = YES
FreeBSD.Weasel = NO
[documentation/content/en/**/*.adoc]
BasedOnStyles = FreeBSD
FreeBSD.BrandTerms = YES
FreeBSD.ConsciousLanguage = YES
FreeBSD.Contractions = YES
FreeBSD.EOLSpacing = YES
FreeBSD.Hang = YES
FreeBSD.Hyphens = YES
FreeBSD.Repitition = YES
FreeBSD.Spacing = YES
FreeBSD.Spelling = YES
FreeBSD.BrandTerms = NO
FreeBSD.ConsciousLanguage = NO
FreeBSD.Contractions = NO
FreeBSD.EOLSpacing = NO
FreeBSD.Hang = NO
FreeBSD.Hyphens = NO
FreeBSD.Repitition = NO
FreeBSD.Spacing = NO
FreeBSD.Spelling = NO
FreeBSD.Weasel = NO