tslint 5.0 introduced the notion of rule severity, allowing rules to either have an error or a warning severity.
error-level rules are reported to the console and cause tslint to output an exit code of 1.
warning-level rules are reported to the console, but output the success exit code of 0.
Currently, gulp-tslint will output an error code even when tslint only reports warnings.
@KurtPreston - this is fixed in gulp-tslint@8.1 with the addition of the allowWarnings options to the report function. Let me know if it doesn't work out for you! 😄
tslint 5.0 introduced the notion of rule severity, allowing rules to either have an
error
or awarning
severity.error
-level rules are reported to the console and cause tslint to output an exit code of1
.warning
-level rules are reported to the console, but output the success exit code of0
.Currently,
gulp-tslint
will output an error code even whentslint
only reports warnings.