-
Notifications
You must be signed in to change notification settings - Fork 887
VSO formatter should report severity of rule violations #4248
Comments
I believe this is purposeful - https://palantir.github.io/tslint/formatters/vso/ |
Do VSO/TFS/VSTS/DevOps logging commands support different severities? /cc @ian-craig, who's worked with them a bit more. |
Yes, see https://github.com/Microsoft/azure-pipelines-tasks/blob/master/docs/authoring/commands.md I think @tklingert is just suggesting that the bolded "warning" part of the message should be changed to "error". |
@ian-craig According to the severity provided by the rule, yes. e.g.
|
|
#4286 was merged to address this 🙌 |
Bug Report
VSO formatter
tslint -p tsconfig.json -c tslint.json -t vso
##vso[task.logissue type=warning;sourcepath=D:/dev/src/GET/cdm_frontend_WebUI/src/app/app.module.ts;linenumber=32;columnnumber=1;code=no-trailing-whitespace;]trailing whitespace
Verbose formatter
tslint -p tsconfig.json -c tslint.json -t verbose
ERROR: (no-trailing-whitespace) D:/dev/src/GET/cdm_frontend_WebUI/src/app/app.module.ts[32, 1]: trailing whitespace
Expected behavior
VSO formatter doesn't apply hard-coded 'warning' severity too all issues:
vsoFormatter.ts
verboseFormatter.ts
The text was updated successfully, but these errors were encountered: