mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 01:25:15 +00:00
Ignore ast id hashes in typos check
This commit is contained in:
@@ -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",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user