Skip to content

Commit dd31994

Browse files
committed
adding CODEOWNERS and modiles/.vale.ini files
1 parent 67c2548 commit dd31994

File tree

3 files changed

+25
-5
lines changed

3 files changed

+25
-5
lines changed

.vale.ini

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,19 @@ MinAlertLevel = suggestion
44

55
Packages = RedHat, AsciiDoc
66

7-
IgnoredScopes = code, tt, img, url, a, body.id
7+
Vocab = ValidatedPatternsDocs
88

9-
SkippedScopes = script, style, pre, figure, code, tt, blockquote, listingblock, literalblock
9+
#IgnoredScopes = code, tt, img, url, a, body.id
10+
11+
#SkippedScopes = script, style, pre, figure, code, tt, blockquote, listingblock, literalblock
1012

1113
# Ignore files in dirs starting with `.` to avoid raising errors for `.vale/fixtures/*/testinvalid.adoc` files
1214
[[!.]*.adoc]
1315
BasedOnStyles = RedHat, AsciiDoc
1416

15-
# Optional: pass doc attributes to asciidoctor before linting
16-
#[asciidoctor]
17-
#openshift-enterprise = YES
17+
# Use local ValidatedPatternsDocs Vocab terms
18+
Vale.Terms = YES
19+
Vale.Avoid = YES
1820

1921
# Disabling rules (NO)
2022
RedHat.ReleaseNotes = NO

CODEOWNERS.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Set the @validatedpatterns/docs team to own the entire repo
2+
# we need this so that we can request and require PR reviews before merging.
3+
* @validatedpatterns/docs
4+
5+
# Additional (more granular) ownership rules:
6+

modules/vale.ini

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
StylesPath = ../.vale/styles
2+
3+
MinAlertLevel = suggestion
4+
5+
Vocab = ValidatedPatternsDocs
6+
7+
[[!.]*.adoc]
8+
BasedOnStyles = AsciiDoc, RedHat
9+
10+
# Use local ValidatedPatternsDocs Vocab terms
11+
Vale.Terms = YES
12+
Vale.Avoid = YES

0 commit comments

Comments
 (0)