Skip to content

Commit

Permalink
ci: add typos to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
prettyirrelevant authored and kelsos committed Dec 2, 2024
1 parent 7e97288 commit 160259e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ concurrency:
cancel-in-progress: true

jobs:
check-typos:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@v4

- name: Run typos checker
uses: crate-ci/typos@master

commit-lint:
runs-on: ubuntu-latest
steps:
Expand Down
14 changes: 14 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[files]
extend-exclude = [
"public/**/*.svg",
"public/**/*.csv",
"pnpm-lock.yaml",
]

[default]
extend-ignore-re = [
"PnL"
]

[default.extend-words]
teh = "teh" # example variable

0 comments on commit 160259e

Please sign in to comment.