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
This commit is contained in:
Daniel Jurek 2021-09-13 14:38:49 -07:00 committed by GitHub
parent 9088500ec6
commit 14aa1516d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 1 deletions

14
.vscode/cspell.json vendored
View File

@ -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

View File

@ -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: