Skip to content

Commit

Permalink
add spell checker to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
strickvl committed Aug 24, 2023
1 parent eec9eb6 commit 3b8c058
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,12 @@ jobs:
run: pnpm install
- name: Check formatting
run: pnpm prettier --check .
spellcheck:
runs-on: ubuntu-latest
steps:
- name: Spelling checker
uses: crate-ci/typos@master
with:
files: "."
config: ./.typos.toml

15 changes: 15 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[files]
extend-exclude = ["*.json", "*.js", "*.png"]

[default.extend-identifiers]
HashiCorp = "HashiCorp"


[default.extend-words]
# Don't correct the surname "Teh"
aks = "aks"
prev = "prev"
Goes = "Goes"

[default]
locale = "en-us"

0 comments on commit 3b8c058

Please sign in to comment.