hint
hint copied to clipboard
[Feature] Different CLI exit codes depeneding on results
🚀 Feature request
Description
Webhint exits with 1 if at least one hint with serverity "error" is found, 2 if at least one hint with serverity "warning" is found etc. In case of a failure it exits with 99.
What scenarios will this solve?
It allows a script to decide what to do next depending on the result of the run.