You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use Spectral in CI job and get benefit of dual output option:
HTML report file goes to job artifacts;
text output goes to stdout (because many people don't look at job artifacts).
There is an option "--display-only-failures" that works globally for all outputs.
It would be great to be able to override it per output, so that we can only output errors to stdout (to keep the log shorter) and all severities to HTML.
It could be done similarly to overridden "-o" command, e.g. "-D.stylish" that will only affect "stylish" output.
At the moment our workarounds are:
Run spectral two times with different CLI options (undesirable because of increased job duration).
Send stylish output to the file, filter warnings/infos then print it to stdout
The text was updated successfully, but these errors were encountered:
We use Spectral in CI job and get benefit of dual output option:
There is an option "--display-only-failures" that works globally for all outputs.
It would be great to be able to override it per output, so that we can only output errors to stdout (to keep the log shorter) and all severities to HTML.
It could be done similarly to overridden "-o" command, e.g. "-D.stylish" that will only affect "stylish" output.
At the moment our workarounds are:
The text was updated successfully, but these errors were encountered: