From 8cf7746b6b688dc9e75dcf0d3d76d1b161a4a555 Mon Sep 17 00:00:00 2001 From: Daniel Jurek Date: Mon, 3 May 2021 12:13:02 -0700 Subject: [PATCH] Add spellcheck (#2181) * Add spellcheck * Add spelling error * Format cspell.json * Revert "Add spelling error" This reverts commit 37446522791492e8ee2c1c54af0d2da1e162d2e4. --- .vscode/cspell.json | 24 +++++++++++++++++++ .../templates/jobs/archetype-sdk-client.yml | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 .vscode/cspell.json diff --git a/.vscode/cspell.json b/.vscode/cspell.json new file mode 100644 index 000000000..a1493d63d --- /dev/null +++ b/.vscode/cspell.json @@ -0,0 +1,24 @@ +{ + "version": "0.1", + "language": "en", + "languageId": "cpp", + "dictionaries": ["powershell"], + "ignorePaths": ["vcpkg/**/*", "*.exe", "*.a", "*.lib"], + "words": [ + "azsdk", + "cmake", + "CMOCKA", + "Cobertura", + "ctest", + "moxygen", + "pwsh", + "vcpkg" + ], + "overrides": [ + { + "filename": "**/eng/pipelines/templates/jobs/archetype-sdk-client.yml", + "words": ["DRUN", "DCMAKE", "gcovr", "lcov", "iname", "gtest"] + } + ], + "allowCompoundWords": true +} diff --git a/eng/pipelines/templates/jobs/archetype-sdk-client.yml b/eng/pipelines/templates/jobs/archetype-sdk-client.yml index 02519cef8..011923c48 100644 --- a/eng/pipelines/templates/jobs/archetype-sdk-client.yml +++ b/eng/pipelines/templates/jobs/archetype-sdk-client.yml @@ -230,6 +230,8 @@ jobs: VcpkgDependencies: curl[winssl] libxml2 VCPKG_DEFAULT_TRIPLET: 'x64-windows-static' steps: + - template: /eng/common/pipelines/templates/steps/check-spelling.yml + - template: /eng/common/pipelines/templates/steps/verify-links.yml parameters: Directory: ''