Skip to content

Commit

Permalink
Removed unused Vale rules.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock committed Oct 22, 2024
1 parent 5b7282a commit ce20957
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 128 deletions.
11 changes: 0 additions & 11 deletions .github/vale/styles/OpenSearch/HeadingAcronyms.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/vale/styles/OpenSearch/HeadingCapitalization.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .github/vale/styles/OpenSearch/HeadingColon.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/vale/styles/OpenSearch/HeadingPunctuation.yml

This file was deleted.

8 changes: 0 additions & 8 deletions .github/vale/styles/OpenSearch/LinksDoubleParentheses.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .github/vale/styles/OpenSearch/LinksDoubleSlash.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .github/vale/styles/OpenSearch/LinksEndSlash.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .github/vale/styles/OpenSearch/LinksMidSlash.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .github/vale/styles/OpenSearch/MergeConflicts.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/vale/styles/OpenSearch/StackedHeadings.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .github/vale/styles/OpenSearch/TableHeadings.yml

This file was deleted.

23 changes: 1 addition & 22 deletions .vale.ini
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
StylesPath = ".github/vale/styles"
Vocab = "OpenSearch"
MinAlertLevel = warning
SkippedScopes = code, style

[*]
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
Expand All @@ -28,22 +18,13 @@ OpenSearch.Exclamation = YES
OpenSearch.FailoverNoun = YES
OpenSearch.FailoverVerb = YES
OpenSearch.FutureTense = NO
OpenSearch.HeadingAcronyms = YES
OpenSearch.HeadingCapitalization = YES
OpenSearch.HeadingColon = YES
OpenSearch.HeadingPunctuation = YES
OpenSearch.Inclusive = YES
OpenSearch.LatinismsElimination = YES
OpenSearch.LatinismsSubstitution = YES
OpenSearch.LinksDoubleParentheses = YES
OpenSearch.LinksDoubleSlash = YES
OpenSearch.LinksEndSlash = YES
OpenSearch.LinksMidSlash = YES
OpenSearch.LoginNoun = YES
OpenSearch.LoginVerb = YES
OpenSearch.LogoutNoun = YES
OpenSearch.LogoutVerb = YES
OpenSearch.MergeConflicts = YES
OpenSearch.OxfordComma = YES
OpenSearch.PassiveVoice = NO
OpenSearch.Please = YES
Expand All @@ -59,10 +40,8 @@ OpenSearch.SpacingPunctuation = YES
OpenSearch.SpacingSlash = YES
OpenSearch.SpacingWords = YES
OpenSearch.Spelling = YES
OpenSearch.StackedHeadings = YES
OpenSearch.SubstitutionsError = YES
OpenSearch.SubstitutionsSuggestion = YES
OpenSearch.TableHeadings = YES
OpenSearch.TimeoutNoun = YES
OpenSearch.TimeoutVerb = YES
OpenSearch.UnitsNames = YES
Expand Down

0 comments on commit ce20957

Please sign in to comment.