-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathspellcheck.toml
More file actions
39 lines (31 loc) · 1.38 KB
/
spellcheck.toml
File metadata and controls
39 lines (31 loc) · 1.38 KB
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
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# Check spelling in code comments marked as dev/developer comments.
# Set to false to skip comments like `// TODO:` or `// FIXME:`.
dev_comments = false
# Whether to skip spell checking README files.
# Set to false to include README files in spell checking.
skip_readme = false
[Hunspell]
# The language dictionary to use for spell checking.
# "en_US" uses the built-in English (US) dictionary.
lang = "en_US"
# Directories to search for custom dictionary files.
# Relative paths in extra_dictionaries are resolved relative to these directories.
search_dirs = ["."]
# Additional custom dictionary files to load.
# Format: First line = word count, remaining lines = sorted words (one per line).
# Add project-specific terms, acronyms, and technical words here.
#
# This file is generated by the `just spellcheck` command.
extra_dictionaries = ["target/spelling.dic"]
# Skip looking up words in OS-provided dictionaries.
# Set to true for consistent results across different systems.
skip_os_lookups = true
# Use cargo-spellcheck's built-in dictionaries.
# Set to true to ensure consistent behavior without relying on system dictionaries.
use_builtin = true
[Hunspell.quirks]
# Allow checking concatenated words (e.g., "TcpStream" as "Tcp" + "Stream").
# Useful for CamelCase identifiers common in Rust code.
allow_concatenation = true