Skip to content

Commit

Permalink
Merge branch 'test-vale' into ly-test-linter2
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 authored Sep 16, 2024
2 parents 4fa73e4 + f8de4cc commit 29da0e4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .vale.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
StylesPath = styles
MinAlertLevel = suggestion
MinAlertLevel = warning

Vocab = EN

Expand Down
6 changes: 6 additions & 0 deletions styles/Vocab/EN/accept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,9 @@ pseudocolumn
values=
dbt_project.yml
<[^>]+>
\w+-\w+
\w+/\w+
n/a
N/A
\w+/\w+|\w+-\w+|n/a
boolean
3 changes: 2 additions & 1 deletion styles/custom/SentenceCaseHeaders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ message: "'%s' should use sentence-style capitalization. Try '%s' instead."
level: warning
scope: heading
match: $sentence
transform: sentence
indicators:
- ":"
exceptions:
- '\bdbt\b'
- '\bdbt\s+Cloud\b'
- '\bdbt\s+Core\b'
- '\bdbt\s+Cloud\s+CLI\b'
- '\bdbt\s+.*?\b'
- '\bdbt\s+.*?\b'
5 changes: 5 additions & 0 deletions styles/custom/Typos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,8 @@ tokens:
- '\bdbt\s+.*?\b'
- '<[^>]+>' # Ignore all HTML-like components starting with < and ending with >
- '<[^>]+>.*<\/[^>]+>'
- '\w+-\w+'
- '\w+/\w+'
- '\w+/\w+|\w+-\w+|n/a'
- 'n/a'
- 'N/A'

0 comments on commit 29da0e4

Please sign in to comment.