We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9d894f commit 21dba19Copy full SHA for 21dba19
3 files changed
crates/typos-cli/tests/cmd/ignore-line.in/_typos.toml
@@ -0,0 +1,5 @@
1
+[default]
2
+extend-ignore-re = ["(?Rm)^.*# spellchecker:disable-line$"]
3
+
4
+[default.extend-identifiers]
5
+hello = "goodbye"
crates/typos-cli/tests/cmd/ignore-line.in/file.ignore
@@ -0,0 +1,3 @@
+hello
+hello # spellchecker:disable-line
crates/typos-cli/tests/cmd/ignore-line.toml
@@ -0,0 +1,18 @@
+bin.name = "typos"
+stdin = ""
+stdout = """
+error: `hello` should be `goodbye`
+ --> ./file.ignore:1:1
6
+ |
7
+1 | hello
8
+ | ^^^^^
9
10
11
+ --> ./file.ignore:3:1
12
13
+3 | hello
14
15
16
+"""
17
+stderr = ""
18
+status.code = 2
0 commit comments