panuhorsmalahti / gulp-tslint

TypeScript linter plugin for Gulp
MIT License
118 stars 44 forks source link

Support for tslint v5 rule severity #116

Closed KurtPreston closed 7 years ago

KurtPreston commented 7 years ago

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.

sjbarag commented 7 years ago

@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! 😄