Open ghost opened 4 years ago
Hi @lgolding ,
I was taking a look at this...
if I use the following command: sarif validate sarif_with_note_errors.sarif -o temp.sarif
, it is showing all the note issues in the temp.sarif file. Is that the same command that you were talking about?
What I used: the latest sarif.multitool from nuget.org (version 2.3.8)
That is the command. Could you please attach the log file?
Hi @lgolding , my mistake. I saw results, but those aren't Note
.
Testing a little more, I saw that:
--verbose true
: it will print all results (none, note, warning, error)--quiet true
: it won't show in the console--verbose true --quiet true
, it will print all results, but won't show in the consoleBased on that, we could: enable verbose
by default.
Then the question is how you turn the note-level results off. The proposal in the issue description (written at a moment when I forgot we already have a --quiet
option) was to turn off note-level results if --quiet
is specified.
Now I am starting to think that it is confusing to have --quiet
and --verbose
control two different things:
Maybe we need separate options. I leave it to you and Michael to decide the correct behavior.
The validator does not run
note
-level rules by default, so it's too easy to forget to run them. Make them run by default. Options:--quiet
options to turn offnote
-level rules.