Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to '.typos.toml')
-rw-r--r--.typos.toml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.typos.toml b/.typos.toml
new file mode 100644
index 0000000000..e638a3e648
--- /dev/null
+++ b/.typos.toml
@@ -0,0 +1,31 @@
+[default.extend-identifiers]
+AnserStyle = "AnserStyle"
+datas = "datas"
+impl_froms = "impl_froms"
+selfs = "selfs"
+
+[default.extend-words]
+anser = "anser"
+ba = "ba"
+fo = "fo"
+ket = "ket"
+makro = "makro"
+raison = "raison"
+trivias = "trivias"
+TOOD = "TOOD"
+
+[default]
+extend-ignore-re = [
+ # ignore string which contains $x (x is a num), which use widely in test
+ ".*\\$\\d.*",
+ # ignore generated content like `boxed....nner()`, `Defaul...efault`
+ "\\w*\\.{3,4}\\w*",
+]
+
+[files]
+extend-exclude = [
+ "*.json",
+ "*.rast",
+ "crates/parser/test_data/lexer/err/*",
+ "bench_data/*",
+]