git: 55b69b99cf - main - vale: Fix for editor integration
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 12 Nov 2022 22:21:44 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/doc/commit/?id=55b69b99cf164b58fd2abcff1d90e207df945b8d commit 55b69b99cf164b58fd2abcff1d90e207df945b8d Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2022-11-12 22:18:51 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2022-11-12 22:21:37 +0000 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 --- .vale.ini | 36 +++++++++++++----------------------- 1 file changed, 13 insertions(+), 23 deletions(-) diff --git a/.vale.ini b/.vale.ini index 2566579071..1fa29fe208 100644 --- a/.vale.ini +++ b/.vale.ini @@ -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