Skip to content

Commit 4ea0547

Browse files
authored
Add spellcheck to analysis (Azure#15124)
* Add analysis step * Add exceptions for spelling errors found in pipeline run
1 parent 8c31b3a commit 4ea0547

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.vscode/cspell.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"version": "0.1",
3+
"language": "en",
4+
"languageId": "typescript,javascript",
5+
"dictionaries": ["powershell"],
6+
"ignorePaths": [
7+
"**/node_modules/**",
8+
"**/recordings/**",
9+
"**/pnpm-lock.yaml",
10+
"common/temp/**",
11+
"**/*-lintReport.html",
12+
"*.avro",
13+
"*.tgz",
14+
"*.png",
15+
"*.jpg",
16+
"*.pdf",
17+
"*.tiff",
18+
"*.svg",
19+
"*.crt",
20+
"*.key",
21+
".vscode/cspell.json"
22+
],
23+
"words": ["deps", "pwsh"],
24+
"allowCompoundWords": true
25+
}

eng/pipelines/templates/steps/analyze.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ parameters:
44
TestPipeline: false
55

66
steps:
7+
- template: /eng/common/pipelines/templates/steps/check-spelling.yml
8+
79
- template: /eng/common/pipelines/templates/steps/set-test-pipeline-version.yml
810
parameters:
911
PackageName: "@azure/template"

0 commit comments

Comments
 (0)