mirror of https://github.com/docker/docs.git
vale: also check for two-letter acronyms
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
c646f079ea
commit
8e2705bedf
|
|
@ -4,8 +4,8 @@ link: https://docs.docker.com/contribute/style/grammar/#acronyms-and-initialisms
|
|||
level: warning
|
||||
ignorecase: false
|
||||
# Ensures that the existence of 'first' implies the existence of 'second'.
|
||||
first: '\b([A-Z]{3,5})\b'
|
||||
second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{3,5})\)'
|
||||
first: '\b([A-Z]{2,5})\b'
|
||||
second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{2,5})\)'
|
||||
# ... with the exception of these:
|
||||
exceptions:
|
||||
- AGPL
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
(?-i)[A-Z]{3,}s
|
||||
(?-i)[A-Z]{2,}s
|
||||
Admin Console
|
||||
Amazon
|
||||
Anchore
|
||||
|
|
|
|||
Loading…
Reference in New Issue