Skip to content

Commit

Permalink
build: Initial spell check setup
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Apr 20, 2019
1 parent a6dff7a commit 6c4ff2d
Show file tree
Hide file tree
Showing 4 changed files with 2,266 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ root = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

[cSpell.json]
indent_size = 4
indent_style = space
15 changes: 15 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,18 @@ jobs:
- script: echo $(NODE_OPTIONS)
- script: "scripts/swagger-to-sdk.sh Azure/$(AZURE_SDK_REPO) -v $(AZURE_SDK_PARAMS)"
displayName: "Swagger to SDK script"

- job: "Spellcheck"
condition: "not(variables['PRIVATE'])"
variables:
NODE_OPTIONS: '--max-old-space-size=8192'
pool:
vmImage: 'Ubuntu 16.04'
continueOnError: true
steps:
- task: Npm@1
displayName: 'npm install'
inputs:
verbose: false
- script: 'npm run spellcheck'
displayName: 'Run cSpell'
Loading

0 comments on commit 6c4ff2d

Please sign in to comment.