-
Notifications
You must be signed in to change notification settings - Fork 27
/
.vale.ini
57 lines (50 loc) · 1.69 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
48
49
50
51
52
53
54
55
56
57
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, Alex
# 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
Alex.Ablist = warning
Alex.Condescending = warning
Alex.Gendered = warning
Alex.LGBTQ = warning
Alex.Press = warning
Alex.ProfanityLikely = warning
Alex.ProfanityMaybe = NO
Alex.ProfanityUnlikely = NO
Alex.Race = warning
Alex.Suicide = warning
# 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>]+>?)`