Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Add severity support for vso formatter #4286

Merged
merged 3 commits into from Oct 5, 2019
Merged

Add severity support for vso formatter #4286

merged 3 commits into from Oct 5, 2019

Conversation

pfoedermayr
Copy link
Contributor

@pfoedermayr pfoedermayr commented Nov 12, 2018

PR checklist

Overview of change:

Updated the vso formatter to include the severity of the failure.
(Severity warning was hard-coded)

CHANGELOG.md entry:

[enhancement] vso formatter now reports severity of rule failures

@palantirtech
Copy link
Member

Thanks for your interest in palantir/tslint, @pfoedermayr! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

Copy link
Contributor

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pfoedermayr!

This actually is a breaking change - some build setups might have a dependency on errors still being warnings. This change should go in, but we should wait until we're sure we're about to release a new major version (6.0, presumably).

#4281 would be nice to have as well, so we can let folks get back to the old behavior.

@rmorrin
Copy link

rmorrin commented Jun 26, 2019

I appreciate that this may be a breaking change and might have to wait until a major version release, but is there any timeframe of when this may be added?

We have been able to workaround this by piping output to a separate script which logs vso commands with the correct severity based on ERROR/WARNING report from tslint. This works, but obviously an official solution would be preferred.

@JoshuaKGoldberg
Copy link
Contributor

Removing the Type: Breaking Change label per #4811. Now ready to merge! (once the CircleCI build unfreezes...)

@JoshuaKGoldberg
Copy link
Contributor

Hmm, @adidahiya - any idea how to get this build restarted? I don't have permissions to merge.

@JoshuaKGoldberg
Copy link
Contributor

ci/circleci: clean-lockfile

😢

Copy link
Contributor

@adidahiya adidahiya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the PR @pfoedermayr!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants