From afd8149baa4b996b2e2a1695011522c40cff1712 Mon Sep 17 00:00:00 2001 From: Fanit Kolchina Date: Fri, 17 May 2024 09:22:41 -0400 Subject: [PATCH] Exclude list scope from Vale dash spacing rule Signed-off-by: Fanit Kolchina --- .github/vale/styles/OpenSearch/DashSpacing.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/vale/styles/OpenSearch/DashSpacing.yml b/.github/vale/styles/OpenSearch/DashSpacing.yml index f14b1f83dd..f63274668c 100644 --- a/.github/vale/styles/OpenSearch/DashSpacing.yml +++ b/.github/vale/styles/OpenSearch/DashSpacing.yml @@ -3,5 +3,7 @@ message: "There should be no spaces around the dash in '%s'." ignorecase: true nonword: true level: error +scope: + - ~list tokens: - '\w+ +-{2,3} +\w+' \ No newline at end of file