Skip to content

Commit 56bbbfc

Browse files
committed
spelling: the syntax is not trivial for some of the filters
Signed-off-by: Josh Soref <[email protected]>
1 parent 9e8f247 commit 56bbbfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_posts/2021-01-12-configuring-and-suppressing-warnings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Test.scala:4: error: method → in class ArrowAssoc is deprecated [...]
146146

147147
Note that the `-Wconf:...` compiler argument is between quotes (`'`) in the command line, which prevents the shell from interpreting characters like `&` or `*`.
148148

149-
For some of the filters, the syntax is not trivial, so we look at them in more detail.
149+
The syntax is not trivial for some of the filters so we look at them in more detail.
150150

151151
* **Message category**: Every message has a category that is displayed in verbose mode (`-Wconf:any:wv`). The `-Wconf:help` option displays the full list of available categories. For example, every `-Xlint` warning has its own category (`lint-infer-any`), the super-category `lint` matches all lint warnings.
152152
* **Source file**: By default, the source file filter is a regex that must match the file path relative to any path segment. For example, `b/.*Test.scala` matches `/a/b/XTest.scala` but not `/ab/Test.scala`. If the `-rootdir` compiler option is specified, the regex must match the file path relative to that root directory.

0 commit comments

Comments
 (0)