forked from ChainSafe/forest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspellcheck.toml
More file actions
41 lines (37 loc) · 923 Bytes
/
spellcheck.toml
File metadata and controls
41 lines (37 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
dev_comments = false
skip_readme = false
[hunspell]
lang = "en_US"
search_dirs = ["."]
skip_os_lookups = true
use_builtin = true
tokenization_splitchars = "\",;:.!?#()[]|/_-‒'`&@§¶…<>=~"
extra_dictionaries = ["forest.dic", "en_US.dic"]
[hunspell.quirks]
transform_regex = [
# 10.7%
"^[0-9_]+(?:\\.[0-9]*)?%$",
# Template variables like {{ env.WORKFLOW_URL }} or {{ date | date('D/M/YY HH:mm') }}
"\\{\\{.*?\\}\\}",
# Double braces
"^\\{\\{$",
"^\\}\\}$",
# YAML frontmatter keys like sidebar_position
"^[a-z_]+:.*$",
# Numbers with underscores like 30_000
"^[0-9_]+$",
# Plus signs and other operators
"^[+\\-*/=]+$",
# Tilde symbol
"^~+$",
# Import statements like @theme/Tabs
"@theme/.*",
# Emoji sequences (literal emojis)
"^[🌲🪷🐳❤️🐋⚠️]+$",
]
allow_concatenation = false
allow_dashes = false
allow_emojis = true
[nlprules]
[reflow]
max_line_length = 80