-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
Copy path.vale.ini
42 lines (35 loc) · 1.3 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
# Vale configuration for the QL documentation
# https://errata-ai.github.io/vale/
# Core properties
#----------------
# Specify where to find styles
StylesPath = vale-styles
# Specify the minimum alert level to report
# Alerts are assigned a level of suggestion, warning, or error.
# For local use it's good to see all the suggestions and warnings.
MinAlertLevel = suggestions
# Specify how to test a particular type of files
#-----------------------------------------------
[*.{rst,csv}]
# Vale comes with three built-in styles: write-good, proselint, and Joblint.
# You could enable all rules in the "Microsoft" style guide as follows:
# BasedOnStyles = Microsoft
BasedOnStyles = Semmle
# Initially, we only want to run a few rules, so we'll specify them individually
# Style.Rule = {YES, NO} to enable or disable a specific rule
Microsoft.DateFormat = YES
Microsoft.DateNumbers = YES
Microsoft.DateOrder = YES
Microsoft.Foreign = YES
Microsoft.Gender = YES
Microsoft.OxfordComma = YES
Microsoft.Quotes = YES
Microsoft.Semicolon = YES
Microsoft.SentenceLength = YES
Microsoft.URLFormat = YES
Microsoft.Wordiness = YES
# This rule should never be run, it's replaced by a Semmle rule of the same name.
Microsoft.Headings = NO
# Modify the level of some rules
Microsoft.Wordiness = suggestion
Microsoft.OxfordComma = error