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 fe268f4 commit 6dbe5c5Copy full SHA for 6dbe5c5
docs/src/docs/usage/false-positives.mdx
@@ -53,6 +53,16 @@ issues:
53
text: "mnd: Magic number: 9"
54
```
55
56
+In the following example, all the reports from the linters (`linters`) that originated from the source (`source`) are excluded:
57
+
58
+```yml
59
+issues:
60
+ exclude-rules:
61
+ - linters:
62
+ - lll
63
+ source: "^//go:generate "
64
+```
65
66
In the following example, all the reports that contains the text (`text`) in the path (`path`) are excluded:
67
68
```yml
0 commit comments