Skip to content

Commit

Permalink
Add spell checking (Azure#1654)
Browse files Browse the repository at this point in the history
* Add spell checking to GenerateReleaseArtifacts, add some words to cspell.json ignore list

* Add intentional spelling error to show how feature works

* Revert "Add intentional spelling error to show how feature works"

This reverts commit af7f516.
  • Loading branch information
danieljurek authored Apr 15, 2021
1 parent 3ce9c64 commit e850c99
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 0 deletions.
77 changes: 77 additions & 0 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"version": "0.1",
"language": "en",
"languageId": "cpp",
"dictionaries": [],
"ignorePaths": [
"vcpkg/**",
"*.exe",
"*.a",
"*.lib",
"build/**",
"*.png",
"*.svg",
"eng/docs/api/assets/style.css",
"eng/common/**/*"
],
"ignoreRegExpList": [],
"ignoreWords": [
"azsdk",
"azuresdkforc",
"CMAKE",
"cmocka",
"Cobertura",
"ctest",
"DCMAKE",
"DCMAKE",
"deps",
"DLOGGING",
"docfx",
"DPRECONDITIONS",
"DUNIT",
"dynsections",
"eabi",
"enumvalues",
"favicon",
"fcomment",
"gcovr",
"generatedby",
"githubio",
"HMAC",
"iname",
"includedbygraph",
"jquery",
"lcov",
"libcmocka",
"mathjax",
"microcontrollers",
"mkdir",
"moxygen",
"mqtt",
"mspremier",
"MSRC",
"MSVC",
"nohttp",
"nolog",
"noprc",
"paho",
"POSIX",
"pwsh",
"realtek",
"sidetoc",
"SPDX",
"ssid",
"structindex",
"structlist",
"structs",
"structs",
"untracked",
"vcpkg",
"wifi",
"winssl",
"Wlogical",
"Xclang",
"xlink"
],
"allowCompoundWords": true
}
2 changes: 2 additions & 0 deletions eng/pipelines/templates/jobs/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,8 @@ jobs:
name: azsdk-pool-mms-win-2019-general
vmImage: MMS2019
steps:
- template: /eng/common/pipelines/templates/steps/check-spelling.yml

- template: /eng/common/pipelines/templates/steps/verify-links.yml
parameters:
Directory: ''
Expand Down

0 comments on commit e850c99

Please sign in to comment.