Skip to content

Create diagnostics messages using sarif. #184

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

alexet
Copy link
Contributor

@alexet alexet commented Nov 25, 2019

This covers a few edge cases not handled in the current support and removes a dependency from the typescript parsing code.

@alexet alexet requested a review from adityasharad November 25, 2019 18:46
@lgtm-com
Copy link

lgtm-com bot commented Nov 25, 2019

This pull request introduces 2 alerts when merging 50fee61 into 0d7eb93 - view on LGTM.com

new alerts:

  • 2 for Unused variable, import, function or class

@alexet alexet force-pushed the alexet/sarif-problems branch from 50fee61 to 4d1e167 Compare November 26, 2019 12:34
@lgtm-com
Copy link

lgtm-com bot commented Nov 26, 2019

This pull request introduces 1 alert when merging 4d1e167 into e056c61 - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

@alexet alexet force-pushed the alexet/sarif-problems branch from 4d1e167 to 4ebad72 Compare November 26, 2019 12:56
@lgtm-com
Copy link

lgtm-com bot commented Nov 26, 2019

This pull request introduces 2 alerts when merging 4ebad72 into e056c61 - view on LGTM.com

new alerts:

  • 2 for Unused variable, import, function or class

@alexet alexet force-pushed the alexet/sarif-problems branch from 4ebad72 to 6331092 Compare November 28, 2019 13:12
@lgtm-com
Copy link

lgtm-com bot commented Nov 28, 2019

This pull request introduces 1 alert when merging 6331092 into e056c61 - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

@@ -262,10 +263,31 @@ export class InterfaceManager extends DisposableObject {
sortedResultsMap,
database: info.database,
shouldKeepOldResultsWhileRendering,
kind: info.query.metadata ? info.query.metadata.kind : undefined
metadata: info.query.metadata
Copy link
Contributor

Choose a reason for hiding this comment

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

Passing along all of the metadata here instead of just kind seems like a good idea, though.

@alexet alexet force-pushed the alexet/sarif-problems branch from 6331092 to 78e3612 Compare December 9, 2019 17:02
@lgtm-com
Copy link

lgtm-com bot commented Dec 9, 2019

This pull request introduces 1 alert when merging 78e3612 into 513d763 - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

@alexet alexet force-pushed the alexet/sarif-problems branch 2 times, most recently from 09af48a to cc9849e Compare December 9, 2019 18:45
@jcreedcmu
Copy link
Contributor

This code effectively landed in #222.

@jcreedcmu jcreedcmu closed this Feb 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants