chore: add cargo spellcheck configuration and custom topic specifc dictionary (#1841)

This commit is contained in:
Bernhard Schuster
2020-10-23 17:28:23 +02:00
committed by GitHub
parent fd138d4adb
commit 9ba8753916
2 changed files with 100 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
[hunspell]
lang = "en_US"
search_dirs = ["."]
extra_dictionaries = ["lingua.dic"]
[hunspell.quirks]
# `Type`'s
# 5x
# He tagged it as 'TheGreatestOfAllTimes'
transform_regex = ["^'([^\\s])'$", "^[0-9]+(?:\\.[0-9]*)?x$", "^'s$", "^\\+$"]
allow_concatenation = true
allow_dashes = true