mirror of
https://git.FreeBSD.org/doc.git
synced 2026-06-02 19:35:07 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user