Skip to content

Commit

Permalink
docs: add spell check capabilities to Vale linter
Browse files Browse the repository at this point in the history
  • Loading branch information
TC-MO committed Dec 11, 2024
1 parent ab714d0 commit 241d10f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
14 changes: 13 additions & 1 deletion .github/styles/config/vocabularies/Docs/accept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,16 @@ env
navbar
nginx
npm

:::caution
:::note
:::info
:::tip
:::warning
Apify
serverless
SDK(s)
[Ss]torages
exploitability
Whitepaper
[Cc]ron
Crawlee
9 changes: 6 additions & 3 deletions vale.ini
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
StylesPath = .github/styles
MinAlertLevel = warning
IgnoredScopes = code, tt, table, tr, td

vocabularies = Docs
Vocab = docs

Packages = write-good, Microsoft

[formats]
mdx = md

[*.md]
BasedOnStyles = Apify, write-good, Microsoft
BasedOnStyles = Vale, Apify, write-good, Microsoft
# Ignore URLs, HTML/XML tags starting with capital letter, lines containing = sign, http & https URL ending with ] or ) & email addresses
TokenIgnores = (<\/?[A-Z].+>), ([^\n]+=[^\n]*), (http[^\n]+\)), (https[^\n]+\)), ([^\n]+@[^\n]+\.[^\n]), (http[^\n]+\]), (https[^\n]+\])
Vale.Spelling = YES


# Disabling rules (NO)
Microsoft.Contractions = NO
Expand Down

0 comments on commit 241d10f

Please sign in to comment.