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

Vale linting #61

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/styles/config/vocabularies/Whitepaper/accept.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# General
Whitepaper

# Companies
Apify
Zapier

# Apify-related
(?i)actor(izing|ization)

# Technologies
Dockerfile
SDKs
automations
env
microapps
msg
serverless
storages

# People
Franta
Marek
Ondra
Empty file.
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
.DS_Store
.idea
node_modules
package-lock.json

# Vale
.github/styles/*
!.github/styles/config/

.github/styles/config/*
!.github/styles/config/vocabularies/

.github/styles/config/vocabularies/*
!.github/styles/config/vocabularies/Whitepaper
20 changes: 20 additions & 0 deletions .vale.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
StylesPath = .github/styles
MinAlertLevel = warning
IgnoredScopes = code, tt, table, tr, td

Vocab = Whitepaper

Packages = write-good, Microsoft, Readability

[formats]
mdx = md

[*.md]
BasedOnStyles = Vale, write-good, Microsoft, Readability
# Ignore URLs, HTML/XML tags, lines with =, Markdown links, emails, curly braces, inline code
TokenIgnores = (<\/?[A-Z][^>]*>), ([^\n]+=[^\n]*), (\[[^\]]+\]\([^\)]+\)), ([^\n]+@[^\n]+\.[^\n]), ({[^}]*}), `[^`]+`
# Ignore HTML comments and Markdown code blocks
BlockIgnores = (?s) (<!--.*?-->)|(```.*?```)
Vale.Spelling = YES

# Disabling rules (NO)
Loading