‑‑warnings_affect_exit_code
In this section:
Syntax
‑‑warnings_affect_exit_code
Description
By default, the exit code is not affected by warnings, because only errors produce a non-zero exit code. With this option, warnings will also generate a non-zero exit code.
Caution
This option is not available in the IDE.