Skip to content

Commit 4a1c21a

Browse files
authored
feat: Add vale.ini (#88)
Resolves: 11463
1 parent d609b6d commit 4a1c21a

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

vale.ini

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
StylesPath = buildLogic/config/vale/styles
2+
3+
MinAlertLevel = suggestion
4+
Vocab = Base
5+
6+
Packages = Google, \
7+
https://github.com/alphagov/tech-docs-linter/releases/latest/download/tech-writing-style-guide.zip
8+
9+
[formats]
10+
# Java association, due to the same structure for Kotlin / Gradle
11+
kt = java
12+
kts = java
13+
gradle = java
14+
15+
# Documentation block
16+
[{.github,docs}/**/*.md]
17+
BasedOnStyles = Vale, Google, tech-writing-style-guide
18+
Google.Parens = NO
19+
20+
# Kotlin block, as it defers to java
21+
[{buildLogic/plugins}/**/src/{java,kotlin}/**/*.java]
22+
BasedOnStyles = Vale, Google, tech-writing-style-guide
23+
Google.Spacing = NO
24+
Google.Parens = NO
25+
Google.Quotes = NO
26+
27+
# README.md block
28+
[README.md]
29+
BasedOnStyles = Vale, Google, tech-writing-style-guide
30+
Google.Spacing = NO
31+
Google.Parens = NO
32+
Google.Quotes = NO

0 commit comments

Comments
 (0)