Skip to content

Commit 67c3c9a

Browse files
authored
Adding Vale to shared components for testing (#223)
1 parent d79a7a2 commit 67c3c9a

File tree

4 files changed

+35
-0
lines changed

4 files changed

+35
-0
lines changed

.gitignore

+12
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,15 @@
77
build/
88

99
build
10+
11+
# We want to ignore our StylesPath *except* for our local
12+
# `vocabularies/Base` directory.
13+
14+
tool/vale/styles/*
15+
!tool/vale/styles/config/
16+
17+
tool/vale/styles/config/*
18+
!tool/vale/styles/config/vocabularies/
19+
20+
tool/vale/styles/config/vocabularies/*
21+
!tool/vale/styles/config/vocabularies/Base

.vale.ini

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
StylesPath = "tool/vale/styles"
2+
3+
MinAlertLevel = suggestion
4+
5+
IgnoredScopes = code, tt
6+
7+
Vocab = Base, Google
8+
9+
Packages = Google, proselint, Readability
10+
11+
[*]
12+
BasedOnStyles = Vale, Google, proselint, Readability
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
env
2+
webdev
3+
pubspec
4+
endcomment
5+
endif
6+
endcase
7+
mixin(s)*
8+
check out
9+
codelab(s)*
10+
API(s)*
11+
\b\x60?([a-zA-Z]+_)+[a-zA-Z]+\x60?\b

tool/vale/styles/config/vocabularies/Base/reject.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)