Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add spell check capabilities to Vale linter #1345

Merged
merged 13 commits into from
Jan 13, 2025
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 → .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
Loading