Skip to content

ci: allow lint job to pass with warnings

Overview

This MR makes the lint script exit with error code 2 when warnings occur and adds that error code to the allow_failure entry in the CI configuration. This will improve the developer experience by being able to see not only “no errors” and “errors” but now also “warnings, no errors”, so developers have an incentive to check out the job log to improve the commit message(s).

Edited by Kev

Merge request reports