-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy path_typos.toml
More file actions
75 lines (66 loc) · 2.78 KB
/
_typos.toml
File metadata and controls
75 lines (66 loc) · 2.78 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[default]
# Regex patterns to ignore
extend-ignore-re = [
"\\bUE\\b", # Unreal Engine abbreviation
"\\bUE_LOG\\b", # Unreal Engine logging macro
"\\bue4\\b", # Unreal Engine 4
"\\bue5\\b", # Unreal Engine 5
"\\bue\\d+\\b", # Any UE version (ue5, ue6, etc.)
]
[files]
# Files and patterns to exclude from spell checking
extend-exclude = [
# Design and binary files
"*.excalidraw", # Diagram files contain random IDs
"*.png",
"*.jpg",
"*.jpeg",
"*.gif",
"*.svg",
"*.webp",
# Data and configuration files
"*.json", # JSON files have many false positives
"*.lock", # Package lock files
"pnpm-lock.yaml", # pnpm lockfile
"package-lock.json", # NPM lock file
# Documentation assets
"public/_platforms/*.json", # Platform metadata
"public/pdfs/*.pdf", # PDFs can't be edited programmatically
# Build artifacts and dependencies
".next/**", # Next.js build output
"node_modules/**", # Dependencies
"dist/**", # Distribution builds
"build/**", # Build output
]
[default.extend-words]
# Technical terms and product names that are spelled correctly
# .NET ecosystem
Paket = "Paket" # .NET package manager (legitimate tool)
paket = "paket" # .NET package manager CLI command
# Platform-specific terms
ITMS = "ITMS" # Apple error code prefix (legitimate)
SEH = "SEH" # Structured Exception Handling (Windows API)
EDE = "EDE" # Cipher name component (3DES_EDE_CBC_SHA)
UE = "UE" # Unreal Engine abbreviation
UE4 = "UE4" # Unreal Engine 4
UE5 = "UE5" # Unreal Engine 5
# Cloud/Infrastructure
nodejs_als = "nodejs_als" # Cloudflare compatibility flag (correct spelling)
als = "als" # Part of nodejs_als flag
# Common abbreviations in tech docs
DSN = "DSN" # Data Source Name (Sentry)
DSNs = "DSNs" # Plural
SDK = "SDK" # Software Development Kit
SDKs = "SDKs" # Plural
API = "API" # Application Programming Interface
APIs = "APIs" # Plural
MCP = "MCP" # Model Context Protocol
NPM = "NPM" # Node Package Manager
# Code identifiers that are intentionally "misspelled" or match external systems
# Note: These should ONLY include cases where the spelling is intentional
# (e.g., matching an external API/constant name we don't control)
childs = "childs" # Intentional variable name in mdx-deflist.ts
aso = "aso" # Intentional variable name in utils.ts (short for "a sidebar order")
MIGRATED_GETTING_STARTD_DOCS = "MIGRATED_GETTING_STARTD_DOCS" # Matches actual constant in Sentry backend (external)
STARTD = "STARTD" # Part of MIGRATED_GETTING_STARTD_DOCS - needed because typos parses words in markdown text
ERRO = "ERRO" # Special case - Part of "ERRORs" in legacy-sdk/integrations.mdx (logging level context)