-
Notifications
You must be signed in to change notification settings - Fork 31
/
.vale.ini
30 lines (24 loc) · 974 Bytes
/
.vale.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
StylesPath = .github/styles
# The exceptions to use in all `BasedOnStyles`
Vocab = Docs
# The minimum alert level to display (suggestion, warning, or error).
#
# CI builds will only fail on error-level alerts.
MinAlertLevel = warning
# HTML tags to be ignored by Vale. `code` and `tt` are the default
IgnoredScopes = code, strong, tt
# Specifies what Vale considers to be a boundary between words.
WordTemplate = \s(?:%s)\s
[*.md]
# To add another style, just add it to the `StylesPath` and update the setting
BasedOnStyles = Google
# Exclude `{{< file >}}`, `{{< file-excerpt >}}`, `{{< output >}}`,
# and `{{< highlight ... >}}`.
#
# For a description (and unit tests) for these patterns see:
# https://regex101.com/r/m9klBv/3/tests
IgnorePatterns = (?s) *({{< output >}}.*?{{< ?/ ?output >}}), \
(?s) *({{< ?file [^>]* ?>}}.*?{{< ?/ ?file ?>}}), \
(?s) *({{< highlight [^>]* ?>}}.*?{{< ?/ ?highlight >}}), \
(?s) *({{< image .*? >}}), \
(?s) *({{< content .*? >}})