forked from OutSystems/docs-howtos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vale.ini
47 lines (40 loc) · 1.44 KB
/
.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
StylesPath = styles
# "suggestion" | "warning" (default) | "error"
MinAlertLevel = suggestion
# Block-level HTML tags to ignore,
# By default, `script`, `style`, `pre`, and `figure` are ignored.
SkippedScopes = script, style, pre, figure, code
# Inline-level HTML tags to ignore.
# By default, `code` and `tt` are ignored.
IgnoredScopes = code, tt, em, strong
[*.md]
# List of (complete) styles to load
BasedOnStyles = Vale, OutSystems
# Style.Rule = {YES, NO} to enable or disable a specific rule
# Style.Rule = {suggestion, warning, error} to change the level associated with a rule
# Besides the OutSystems style, include some individual rules from other styles.
# Requires the following installed styles:
# Microsoft, proselint
Vale.Spelling = NO
Vale.Repetition = warning
Microsoft.Contractions = warning
Microsoft.DateFormat = suggestion
Microsoft.Foreign = warning
Microsoft.Gender = error
Microsoft.GenderBias = error
Microsoft.Ordinal = warning
Microsoft.OxfordComma = warning
Microsoft.Passive = warning # CI_VALUE = NO
Microsoft.Percentages = warning
Microsoft.Spacing = warning
Microsoft.Suspended = suggestion
Microsoft.We = warning # CI_VALUE = NO
Microsoft.Wordiness = warning
Proselint.But = warning
Proselint.Hedging = error
Proselint.Skunked = error
# Ignore:
# 1. named bookmarks in headings - { #example }
# 2. email addresses
# 3. URLs
TokenIgnores=`({\s?#[A-Za-z-]+\s?}), (\w+@\w+\.\w{2}\w?), (<?(https?|ftps?)://[^\s>]+>?)`