From f8de4cc410206ec36177b4707867306db6c13d0c Mon Sep 17 00:00:00 2001 From: mirnawong1 Date: Mon, 16 Sep 2024 13:20:34 +0100 Subject: [PATCH] update --- .vale.ini | 2 +- styles/Vocab/EN/accept.txt | 6 ++++++ styles/custom/SentenceCaseHeaders.yml | 3 ++- styles/custom/Typos.yml | 5 +++++ 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.vale.ini b/.vale.ini index c605522b38f..58aff923afe 100644 --- a/.vale.ini +++ b/.vale.ini @@ -1,5 +1,5 @@ StylesPath = styles -MinAlertLevel = suggestion +MinAlertLevel = warning Vocab = EN diff --git a/styles/Vocab/EN/accept.txt b/styles/Vocab/EN/accept.txt index dc2d868219c..542f90346c2 100644 --- a/styles/Vocab/EN/accept.txt +++ b/styles/Vocab/EN/accept.txt @@ -49,3 +49,9 @@ pseudocolumn values= dbt_project.yml <[^>]+> +\w+-\w+ +\w+/\w+ +n/a +N/A +\w+/\w+|\w+-\w+|n/a +boolean diff --git a/styles/custom/SentenceCaseHeaders.yml b/styles/custom/SentenceCaseHeaders.yml index d44d2fae7a2..0a87e5a12c9 100644 --- a/styles/custom/SentenceCaseHeaders.yml +++ b/styles/custom/SentenceCaseHeaders.yml @@ -3,6 +3,7 @@ message: "'%s' should use sentence-style capitalization. Try '%s' instead." level: warning scope: heading match: $sentence +transform: sentence indicators: - ":" exceptions: @@ -10,4 +11,4 @@ exceptions: - '\bdbt\s+Cloud\b' - '\bdbt\s+Core\b' - '\bdbt\s+Cloud\s+CLI\b' - - '\bdbt\s+.*?\b' + - '\bdbt\s+.*?\b' diff --git a/styles/custom/Typos.yml b/styles/custom/Typos.yml index 2ac0e75f271..456517950a9 100644 --- a/styles/custom/Typos.yml +++ b/styles/custom/Typos.yml @@ -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'