Skip to content

Commit 34dba1a

Browse files
authored
Merge pull request #25039 from dvdksn/vale-2
vale: fix false positives in shortcode handling and word substitutions
2 parents 7efec06 + 6419162 commit 34dba1a

4 files changed

Lines changed: 20 additions & 7 deletions

File tree

.vale.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ Vale.Terms = NO
3232

3333
[*.md]
3434
BasedOnStyles = Docker, Vale
35-
TokenIgnores = ({{[%<][^}]+[%>]}})
36-
BlockIgnores = (?m)^[ \t]*({{[%<][^}]+[%>]}})[ \t]*$
35+
TokenIgnores = ({{[^}]+}}\S*)
36+
BlockIgnores = (?m)^[ \t]*({{[^}]+}})[ \t]*$, (\[[^\]]*{{[^}]+}}[^\]]*\]\([^)]*\))

_vale/Docker/RecommendedWords.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ swap:
1010
'\b(?:ie|i\.e\.)[\s,]': that is
1111
(?:account name|accountname|user name): username
1212
(?:drop down|dropdown): drop-down
13-
(?:log out|logout): sign out
14-
(?:sign on|log on|log in|logon|login): sign in
15-
above: previous
13+
\blog out\b: sign out
14+
\b(?:sign on|log on|log in)\b: sign in
1615
adaptor: adapter
1716
administrate: administer
1817
afterwards: afterward
@@ -25,7 +24,6 @@ swap:
2524
anti-virus: antivirus
2625
appendixes: appendices
2726
assembler: assembly
28-
below: following
2927
check box: checkbox
3028
check boxes: checkboxes
3129
click: select

_vale/config/vocabularies/Docker/accept.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,9 +410,24 @@ OpenSSL
410410
[Ss]tringified
411411
SwarmKit
412412
[Uu]ncomment
413+
bootloader
413414
Buildkite
415+
crypto
414416
Graylog
417+
Kubuntu
415418
Libnetwork
419+
lockfile
420+
Lubuntu
421+
multimodal
422+
multithreading
423+
NLP
416424
Nodemon
425+
oldoldstable
426+
parallelizable
417427
PHPUnit
428+
pnpm
418429
PyTorch
430+
superset
431+
tokenization
432+
WebGL
433+
Xubuntu

content/manuals/engine/cli/formatting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ $ docker image list --format '{{truncate .Repository 15}}'
110110

111111
This example displays the image repository name, truncating it to the first 15 characters if it's longer.
112112

113-
## println
113+
## `println`
114114

115115
`println` prints each value on a new line.
116116

0 commit comments

Comments
 (0)