diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e49642e..49796ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/_typos.toml b/_typos.toml new file mode 100644 index 0000000..4ffcb98 --- /dev/null +++ b/_typos.toml @@ -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