Ignore ast id hashes in typos check

This commit is contained in:
Chayim Refael Friedman 2025-05-21 14:59:21 +03:00
parent 0a1a78cb87
commit 09a66474a2

View file

@ -18,6 +18,7 @@ extend-ignore-re = [
"INOUT",
"optin",
"=Pn",
"\\[[0-9A-F]{4},", # AstId hex hashes
# ignore `// spellchecker:off` until `// spellchecker:on`
"(?s)(#|//)\\s*spellchecker:off.*?\\n\\s*(#|//)\\s*spellchecker:on",
]