aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/rapier-ci-build.yml8
-rw-r--r--.typos.toml14
2 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/rapier-ci-build.yml b/.github/workflows/rapier-ci-build.yml
index 3962323..c44704b 100644
--- a/.github/workflows/rapier-ci-build.yml
+++ b/.github/workflows/rapier-ci-build.yml
@@ -89,3 +89,11 @@ jobs:
run: cd crates/rapier2d && cargo build --verbose --target wasm32-unknown-emscripten --features simd-stable;
- name: build rapier3d --features simd-stable
run: cd crates/rapier3d && cargo build --verbose --target wasm32-unknown-emscripten --features simd-stable;
+ # If this fails, consider changing your text or adding something to .typos.toml
+ # You can find typos here: https://crates.io/crates/typos'
+ typos:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - name: check typos
+ uses: crate-ci/typos@v1.23.2
diff --git a/.typos.toml b/.typos.toml
new file mode 100644
index 0000000..b9c0215
--- /dev/null
+++ b/.typos.toml
@@ -0,0 +1,14 @@
+# Corrections take the form of a key/value pair. The key is the incorrect word
+# and the value is the correct word. If the key and value are the same, the
+# word is treated as always correct. If the value is an empty string, the word
+# is treated as always incorrect.
+
+# Case senstive, matches entire word.
+[default.extend-identifiers]
+anc_color = "anc_color"
+PN = "PN"
+rady = "rady"
+
+# Case insenstive, matches inside word.
+[default.extend-words]
+toi = "toi"