Skip to content

Commit

Permalink
Add spell check warnings (#16656)
Browse files Browse the repository at this point in the history
* Add spell check warnings

* Basic cspell.json

* Ignore files in .vscode except cspell.json, new line before EOF in cspell.json

* Spell check, ignore thyself
  • Loading branch information
danieljurek authored Jan 3, 2022
1 parent 1c6b853 commit 6533539
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@ vendor/

# environment variables
.env

# vscode
**/.vscode/*
!.vscode/cspell.json
56 changes: 56 additions & 0 deletions .vscode/cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"version": "0.2",
"language": "en",
"languageId": "golang",
"dictionaries": [
"powershell",
"golang",
"softwareTerms",
"en_US",
"en-gb"
],
"ignorePaths": [
"eng/common/**",
".vscode/cspell.json",
"*.PNG",
"*.pfx",
"**/recordings/**/*"
],
"words": [
"azcore",
"azidentity",
"unpopulate",
"etag",
"stretchr",
"Unmarshaller",
"AMQP",
"Kusto",
"azblob",
"Kubernetes",
"vnet",
"skus",
"azservicebus",
"azcosmos",
"Reimage",
"nolint",
"armkusto",
"msix",
"armiotsecurity",
"odata",
"mgmt",
"armkubernetesconfiguration",
"azruntime"
],
"allowCompoundWords": true,
"overrides": [
{
"filename": "{*.sum,*.mod}",
"words": [
"davecgh",
"pmezard",
"gover",
"objx"
]
}
]
}
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 @@ -134,6 +134,8 @@ stages:
name: azsdk-pool-mms-ubuntu-2004-general

steps:
- template: /eng/common/pipelines/templates/steps/check-spelling.yml

- task: GoTool@0
inputs:
version: '1.17'
Expand Down

0 comments on commit 6533539

Please sign in to comment.