-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_typos.toml
More file actions
36 lines (33 loc) · 1.25 KB
/
Copy path_typos.toml
File metadata and controls
36 lines (33 loc) · 1.25 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
# typos configuration for perima.
[default]
# Files typos scans. Sensible default excludes target/, node_modules/, etc.
[files]
extend-exclude = [
"target/",
"node_modules/",
"*.lock",
"*.svg",
"dist/",
"*.snap",
"CHANGELOG.md", # existing past-tense entries; don't retro-edit
# WHY: superpowers specs/plans/cheatsheet contain many short git SHAs
# (e.g. `8ba3f04`, `6f74e30`) whose hex fragments trip the typos dictionary
# as false positives. These files are authored-for-AI-sessions drafts;
# typos noise here burns more minutes than it saves.
"docs/superpowers/**",
]
[default.extend-words]
# Project-specific words typos would flag as misspellings.
perima = "perima"
rusqlite = "rusqlite"
# WHY: false positives from SQL keywords used as verb stems (INSERTs, SELECTing,
# UPDATEs) and file-type abbreviations (PNGs). Typos strips the suffix and flags
# the root; these overrides tell it the root is intentional.
INSER = "INSER"
SELEC = "SELEC"
UPDAT = "UPDAT"
PN = "PN"
# WHY: `caf` appears in test strings for `café` written as `caf\u{00e9}` /
# `caf\u{0301}` — the backslash breaks the word boundary so typos sees `caf`
# in isolation. Not a typo; it's an intentional Unicode normalization test case.
caf = "caf"