miniscule: fix edition fmt (#5167)

* miniscule: fix edition fmt

* fix: rust analyzer might enable this and hence cause red squiggles

Reduce the visual overload.

* fix/spellcheck/quirk: allow 124_123 numbers
This commit is contained in:
Bernhard Schuster
2022-03-21 14:00:59 +01:00
committed by GitHub
parent 189dfdc006
commit 0e34a8080f
3 changed files with 20 additions and 5 deletions
+15 -3
View File
@@ -6,10 +6,22 @@ skip_os_lookups = true
use_builtin = true
[hunspell.quirks]
# `Type`'s
# 5x
# He tagged it as 'TheGreatestOfAllTimes'
transform_regex = [
# `Type`'s
"^'([^\\s])'$",
# 5x
# 10.7%
"^[0-9_]+(?:\\.[0-9]*)?(x|%)$",
# Transforms'
transform_regex = ["^'([^\\s])'$", "^[0-9]+(?:\\.[0-9]*)?(x|%)$", "^(.*)'$", "^\\+$", "^[0-9]*+k|MB|Mb|ms|Mbit|nd|th|rd$", "^=|>|<|%$"]
"^(.*)'$",
# backslashes
"^\\+$",
"^[0-9]*+k|MB|Mb|ms|Mbit|nd|th|rd$",
# single char `=` `>` `%` ..
"^=|>|<|%$",
# 22_100
"^(?:[0-9]+_)+[0-9]+$"
]
allow_concatenation = true
allow_dashes = true