From dd8ecb3d9cc5d132c825d566062f33fbdfa4f020 Mon Sep 17 00:00:00 2001 From: ryoppippi <1560508+ryoppippi@users.noreply.github.com> Date: Tue, 23 Dec 2025 12:55:54 +0000 Subject: [PATCH] chore: fix typos ignore regex - Update spellchecker:off/on regex pattern to use [\\s\\S]* instead of .*?\\n This fixes issue where multiline content was not properly ignored - Apply same fix to HTML comment variant - Add trailing comma to maintain consistency with formatting rules This aligns with the same fix applied to the Python SDK. --- typos.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/typos.toml b/typos.toml index 05c3caf..44fcca8 100644 --- a/typos.toml +++ b/typos.toml @@ -1,10 +1,10 @@ [default] locale = 'en-us' extend-ignore-re = [ - "(?s)(#|//)\\s*spellchecker:off.*?\\n\\s*(#|//)\\s*spellchecker:on", - "(?s)", + "(?s)(#|//)\\s*spellchecker:off[\\s\\S]*?(#|//)\\s*spellchecker:on", + "(?s)[\\s\\S]*?", "(?Rm)^.*#\\s*spellchecker:disable-line$", - "(?m)^.*\\n.*$" + "(?m)^.*\\n.*$", ] [files]