Skip to content

Commit 7227b59

Browse files
authored
Add spell check for changed files (Azure#20822)
* Add spell check for changed files * task -> template * Add exceptions
1 parent 9c11803 commit 7227b59

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.vscode/cspell.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,13 @@
2525
],
2626
// cspell is not case sensitive
2727
// Sort words alphabetically to make this list easier to use
28-
"words": [],
28+
"words": ["azsdk", "pwsh"],
2929
"overrides": [
30-
{ "filename": "**/sdk/formrecognizer/**/*.cs", "words": ["ZhHant"] }
30+
{ "filename": "**/sdk/formrecognizer/**/*.cs", "words": ["ZhHant"] },
31+
{
32+
"filename": "**/eng/pipelines/templates/jobs/ci.yml",
33+
"words": ["warnaserror"]
34+
}
3135
],
3236
"allowCompoundWords": true
3337
}

eng/pipelines/templates/jobs/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ jobs:
103103
name: azsdk-pool-mms-ubuntu-1804-general
104104
vmImage: MMSUbuntu18.04
105105
steps:
106+
- template: /eng/common/pipelines/templates/steps/check-spelling.yml
106107
- task: UsePythonVersion@0
107108
displayName: "Use Python 3.6"
108109
inputs:

0 commit comments

Comments
 (0)