-
Notifications
You must be signed in to change notification settings - Fork 196
/
.vale-pr.ini
40 lines (34 loc) · 1.32 KB
/
.vale-pr.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
##############################################################################
# Vale configuration for GitHub pull request reviews
#
# This configuration sets the minimum alert level to 'warning'
#
# See .vale.ini for the local authoring configuration file
#
# KEEP THE TWO CONFIG FILES IN SYNC
##############################################################################
StylesPath = .github/styles
Vocab = Docs
MinAlertLevel = warning
# Ignored CSS class names
IgnoredClasses = filename, classname, methodname, interfacename, propertyname, annotationname, guibutton, guilabel, custom-property, discussion-id
# Ignored HTML elements
IgnoredScopes = code, tt, kbd
[*.{asciidoc,adoc}]
BasedOnStyles = Vaadin, Vale
# Avoid checking image alt texts (https://github.com/errata-ai/vale/discussions/382)
TokenIgnores = (image::?.+\[.*\])
# Disabled for PR reviews (adds too much noise)
Vaadin.SourceCode = NO
# TODO Ignore heading case and 'we' in MPR docs for now
[*/mpr/*.{asciidoc,adoc}]
Vaadin.HeadingCase = NO
Vaadin.HeadingPunctuation = NO
Vaadin.We = NO
# TODO Should rewrite Designer docs in general
# TODO Polymer template docs are likely to be removed in v24
[*/{designer/getting-started,templates/polymer}/*.{asciidoc,adoc}]
Vaadin.We = NO
# Disabled version number rule for the upgrading pages
[*upgrading/*.adoc]
Vaadin.Versions = NO