File tree Expand file tree Collapse file tree 2 files changed +39
-6
lines changed Expand file tree Collapse file tree 2 files changed +39
-6
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,29 @@ StylesPath = .vale/styles
2
2
3
3
MinAlertLevel = suggestion
4
4
5
- Packages = RedHat
5
+ Packages = RedHat, AsciiDoc, OpenShiftAsciiDoc
6
6
7
- # ignore files in dirs starting with `.` to avoid raising errors for `.vale/fixtures/*/testinvalid.adoc` files
7
+ # Ignore files in dirs starting with `.` to avoid raising errors for `.vale/fixtures/*/testinvalid.adoc` files
8
8
[[!.] *.adoc]
9
- BasedOnStyles = RedHat
9
+ BasedOnStyles = RedHat, AsciiDoc, OpenShiftAsciiDoc
10
10
11
- # optional: pass doc attributes to asciidoctor before linting
12
- # [asciidoctor]
13
- # openshift-enterprise = YES
11
+ # Disabling rules (NO)
12
+ RedHat.ReleaseNotes = NO
13
+
14
+ # Use local OpenShiftDocs Vocab terms
15
+ Vale.Terms = YES
16
+ Vale.Avoid = YES
17
+
18
+ # Disable module specific rules
19
+ OpenShiftAsciiDoc.ModuleContainsParentAssemblyComment = NO
20
+ OpenShiftAsciiDoc.NoNestingInModules = NO
21
+ OpenShiftAsciiDoc.NoXrefInModules = NO
22
+ OpenShiftAsciiDoc.IdHasContextVariable = NO
23
+ OpenShiftAsciiDoc.NoTocInModules = NO
24
+
25
+ # Optional: pass doc attributes to asciidoctor before linting
26
+ # Temp values are used for Prow CI comment linting only
27
+ [asciidoctor]
28
+ temp-ifdef = YES
29
+ temp-ifndef = NO
30
+ temp-ifeval = temp
Original file line number Diff line number Diff line change
1
+ StylesPath = ../.vale/styles
2
+
3
+ MinAlertLevel = suggestion
4
+
5
+ [[!.] *.adoc]
6
+ BasedOnStyles = OpenShiftAsciiDoc, AsciiDoc, RedHat
7
+
8
+ # Use local OpenShiftDocs Vocab terms
9
+ Vale.Terms = YES
10
+ Vale.Avoid = YES
11
+
12
+ # Temp values are used for Prow CI comment linting only
13
+ [asciidoctor]
14
+ temp-ifdef = YES
15
+ temp-ifndef = NO
16
+ temp-ifeval = temp
You can’t perform that action at this time.
0 commit comments