Closed
Description
Description
Hi!
I'm very new to typos-cli and i'm currently trying to use it to check various scripts for typos.
I am trying to whitelist lines that start with //
and #
, but i can't seem to get it to work:
- name: 03. Check script using typos-cli
shell: pwsh # Powershell 7, which uses UTF-8 as default
run: |
cargo install --version 1.33.1 typos-cli
@"
[default]
extend-ignore-re = ['^\\s*(//|#).*$']
[default.extend-words]
END-FF = "END-FF"
Monopolis = "Monopolis"
"@ | Set-Content -Path typos.toml -Encoding utf8
typos "00000010.SCEN" --config typos.toml --format brief
Not entirely sure if the regex is correct, but typos-cli is still finding issues in that script:
//POINTER #69 @ $93B4 - STRING #69 @ $A1BA
#W32($93B4)
//ユリィ\\
//[CHARCD00][V5500]
//何とか解りあえればよいのですが…。[END-FE]
//Yurii\\
[CHARCD00][V5500]
If only she and us could somehow[NLINE]
come to an understanding...[END-FE]
00000010.SCEN:893:41: `BA` -> `BY`, `BE`
Does anybody know what i might be doing wrong?