opensearch-docs-cn/.vale.ini

68 lines
1.8 KiB
INI
Raw Normal View History

Add style workflow (#3909) * Tweak rules Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Rule changes Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Remove the following and simple Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Revised rules and added tests Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Soft rollout with only spelling and terms Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Add Vale to readme Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Only lint modified and added files Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Remove run on workflow dispatch Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Removed only added and modified files Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Added please Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Changed min alert level to warning Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Don't fail on error and minor changes Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Remove fail on error Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Attempt to have vale not fail Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Fixed links Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> * Update README.md Co-authored-by: Nathan Bower <nbower@amazon.com> Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> * Update README.md Co-authored-by: Nathan Bower <nbower@amazon.com> Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> --------- Signed-off-by: Fanit Kolchina <kolchfa@amazon.com> Signed-off-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Co-authored-by: Nathan Bower <nbower@amazon.com>
2023-05-03 12:34:05 -04:00
StylesPath = ".github/vale/styles"
Vocab = "OpenSearch"
MinAlertLevel = warning
SkippedScopes = code, style
[*.md]
BasedOnStyles = Vale, OpenSearch
BlockIgnores = {%-?\s*comment[.|\s|\S]*?endcomment\s*-?%}, \
{%\s*raw[.|\s|\S]*?endraw\s*%}, \
{:+\s*[\.\w-\s]*\s*}, \
{%\s+[^%]*%}
# ignore variables
TokenIgnores = [a-zA-Z_]+((?:_|\.)[a-zA-Z]+)+
# override Vale spelling
Vale.Spelling = NO
Vale.Repetition = NO
Vale.Terms = YES
OpenSearch.AcronymParentheses = NO
OpenSearch.AdverbsOfTime = NO
OpenSearch.Ampersand = NO
OpenSearch.Cyber = NO
OpenSearch.DashSpacing = NO
OpenSearch.DirectionAboveBelow = NO
OpenSearch.DirectionTopBottom = NO
OpenSearch.Exclamation = NO
OpenSearch.FailoverNoun = NO
OpenSearch.FailoverVerb = NO
OpenSearch.FutureTense = NO
OpenSearch.HeadingAcronyms = NO
OpenSearch.HeadingCapitalization = NO
OpenSearch.HeadingColon = NO
OpenSearch.HeadingPunctuation = NO
OpenSearch.Inclusive = NO
OpenSearch.LatinismsElimination = NO
OpenSearch.LatinismsSubstitution = NO
OpenSearch.LinksEndSlash = NO
OpenSearch.LinksMidSlash = NO
OpenSearch.LoginNoun = NO
OpenSearch.LoginVerb = NO
OpenSearch.LogoutNoun = NO
OpenSearch.LogoutVerb = NO
OpenSearch.MergeConflicts = NO
OpenSearch.OxfordComma = NO
OpenSearch.PassiveVoice = NO
OpenSearch.Please = NO
OpenSearch.Range = NO
OpenSearch.Repetition = NO
OpenSearch.RolloverNoun = NO
OpenSearch.RolloverVerb = NO
OpenSearch.SetupNoun = NO
OpenSearch.SetupVerb = NO
OpenSearch.Simple = NO
OpenSearch.SpacingPunctuation = NO
OpenSearch.SpacingSlash = NO
OpenSearch.SpacingWords = NO
OpenSearch.Spelling = YES
OpenSearch.StackedHeadings = NO
OpenSearch.SubstitutionsError = NO
OpenSearch.SubstitutionsSuggestion = NO
OpenSearch.TableHeadings = NO
OpenSearch.TimeoutNoun = NO
OpenSearch.TimeoutVerb = NO
OpenSearch.UnitsNames = NO
OpenSearch.UnitsSpacing = NO
OpenSearch.Version = NO