From 14aa1516d0ae034d52cab1c0cdc644653af73bfb Mon Sep 17 00:00:00 2001 From: Daniel Jurek Date: Mon, 13 Sep 2021 14:38:49 -0700 Subject: [PATCH] Add spell check exceptions and enable CI failure for spelling errors in changed files (#2865) * Add spell check exceptions and enable spell check failures * Add HRESULT and sort spelling list * Add exceptions for cmake-modules --- .vscode/cspell.json | 14 +++++++++++++- .../templates/jobs/archetype-sdk-client.yml | 2 ++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.vscode/cspell.json b/.vscode/cspell.json index ac71a6595..12d1a353a 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -15,6 +15,7 @@ "eng/common/**/*", "json.hpp", "*nlohmann-json*", + "eng/docs/api/assets/**/*", "sdk/keyvault/azure-security-keyvault-keys/test/ut/recordings/*.json", "sdk/keyvault/azure-security-keyvault-keys/test/ut/key_client_import_test_live.cpp" ], @@ -28,6 +29,7 @@ "Aloctl", "azcore", "azsdk", + "azuresdk", "azuresdkforcpp", "cmake", "CMOCKA", @@ -50,6 +52,7 @@ "gtest", "Gzrs", "HKEY", + "HRESULT", "IMDS", "itfactor", "Kirilov", @@ -77,8 +80,8 @@ "Ragrs", "Ragzrs", "Reconnector", - "Reitz", "rehydrated", + "Reitz", "retriable", "rwxrw", "SDDL", @@ -157,6 +160,15 @@ "rwdlacup", "pfile" ] + }, + { + "filename": "**/cmake-modules/**/*", + "words": [ + "fprofile", + "ftest", + "mathjax", + "mdfile" + ] } ], "allowCompoundWords": true diff --git a/eng/pipelines/templates/jobs/archetype-sdk-client.yml b/eng/pipelines/templates/jobs/archetype-sdk-client.yml index c318bf466..90a29af12 100644 --- a/eng/pipelines/templates/jobs/archetype-sdk-client.yml +++ b/eng/pipelines/templates/jobs/archetype-sdk-client.yml @@ -279,6 +279,8 @@ jobs: VCPKG_DEFAULT_TRIPLET: 'x64-windows-static' steps: - template: /eng/common/pipelines/templates/steps/check-spelling.yml + parameters: + ContinueOnError: false - template: /eng/common/pipelines/templates/steps/verify-links.yml parameters: