We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4bcca1 commit 8b57110Copy full SHA for 8b57110
crates/typos-cli/tests/cmd/ignore-block.in/_typos.toml
@@ -0,0 +1,5 @@
1
+[default]
2
+extend-ignore-re = ["#\\s*spellchecker:off\\s*\\n.*\\n\\s*#\\s*spellchecker:on"]
3
+
4
+[default.extend-identifiers]
5
+hello = "goodbye"
crates/typos-cli/tests/cmd/ignore-block.in/file.ignore
+hello
+# spellchecker:off
+# spellchecker:on
crates/typos-cli/tests/cmd/ignore-block.toml
@@ -0,0 +1,18 @@
+bin.name = "typos"
+stdin = "--sort"
+stdout = """
+error: `hello` should be `goodbye`
+ --> ./file.ignore:1:1
6
+ |
7
+1 | hello
8
+ | ^^^^^
9
10
11
+ --> ./file.ignore:5:1
12
13
+5 | hello
14
15
16
+"""
17
+stderr = ""
18
+status.code = 2
0 commit comments