Skip to content
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

Add warning if using toolkit in existing plugins and errors in new plugins #144

Merged
merged 3 commits into from
Nov 8, 2023

Conversation

academo
Copy link
Member

@academo academo commented Nov 8, 2023

Closes #125

  • Move packagejson to its own analyzer for reusability

@academo academo self-assigned this Nov 8, 2023
@@ -80,137 +80,3 @@ func TestSourceCodeNotProvidedReportAll(t *testing.T) {
require.Equal(t, "Source code not provided or the provided URL does not point to a valid source code repository", interceptor.Diagnostics[0].Title)
Copy link
Collaborator

Choose a reason for hiding this comment

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

minor item, there is an extra space here between URL and "does"

Copy link
Member Author

Choose a reason for hiding this comment

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

because this is a test this empty space is supposed to be the "URL". but in this test scenario there's no url because we injected the content directly.

Copy link
Collaborator

@briangann briangann left a comment

Choose a reason for hiding this comment

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

looks great, one minor text edit suggested

Copy link
Member

@xnyo xnyo left a comment

Choose a reason for hiding this comment

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

LGTM, awesome! 🚀

@academo academo merged commit 3a73986 into main Nov 8, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

New analyzer: detect usage of Toolkit
3 participants