Skip to content

Commit d2ef857

Browse files
riderxclaude
andcommitted
fix: revert incorrect thn to then change and exclude Xcode/CHANGELOG files
- Reverts "thn" (Thompson thumbnail format) back from incorrect "then" change - Adds "thn" to typos config to prevent future false positives - Excludes all CHANGELOG files from typos checking - Excludes Xcode project files (pbxproj, xcscheme, storyboard) that contain hex identifiers that should never be modified 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 0594db4 commit d2ef857

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.typos.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,18 @@ extend-exclude = [
2323
"*.min.js",
2424
# Exclude node_modules
2525
"node_modules/",
26+
# Exclude Xcode project files that contain hex identifiers - these files have
27+
# automatically generated hex IDs that look like typos but must not be changed
28+
"**/project.pbxproj",
29+
"**/*.xcscheme",
30+
"**/*.storyboard",
31+
# Exclude all CHANGELOG files - they contain commit hashes and historical text
32+
# that should not be modified by typo fixes
33+
"CHANGELOG.md",
34+
"*/CHANGELOG.md",
2635
]
2736

2837
[default.extend-words]
2938
# Add any custom words that should not be corrected
3039
# Format: incorrectword = "incorrectword"
40+
thn = "thn"

ios/Capacitor/Capacitor/WebViewAssetHandler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ open class WebViewAssetHandler: NSObject, WKURLSchemeHandler {
450450
"texinfo": "application/x-texinfo",
451451
"tgz": "application/x-compressed",
452452
"thmx": "application/vnd.ms-officetheme",
453-
"then": "application/octet-stream",
453+
"thn": "application/octet-stream",
454454
"tif": "image/tiff",
455455
"tiff": "image/tiff",
456456
"toc": "application/octet-stream",

0 commit comments

Comments
 (0)