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 an ActionList linter #1198

Merged
merged 7 commits into from
Jun 27, 2022
Merged

Add an ActionList linter #1198

merged 7 commits into from
Jun 27, 2022

Conversation

camertron
Copy link
Contributor

@camertron camertron commented Jun 24, 2022

A few times now we've seen dotcom developers (with good intentions) attempting to use ActionList classes outside of Primer View Components. This PR adds a linter to catch such usages.

Unfortunately we won't be able to ship this in dotcom as-is because there are 12 existing usages of ActionList outside PVCs.

@camertron camertron requested a review from langermank June 24, 2022 23:06
@changeset-bot
Copy link

changeset-bot bot commented Jun 24, 2022

🦋 Changeset detected

Latest commit: c11b1ad

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/view-components Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@camertron camertron temporarily deployed to github-pages June 24, 2022 23:13 Inactive
@camertron camertron temporarily deployed to github-pages June 25, 2022 04:03 Inactive
@camertron camertron temporarily deployed to github-pages June 25, 2022 04:54 Inactive
@camertron camertron temporarily deployed to github-pages June 25, 2022 05:08 Inactive
@camertron camertron temporarily deployed to github-pages June 25, 2022 05:13 Inactive
@camertron camertron temporarily deployed to github-pages June 25, 2022 05:26 Inactive
@camertron camertron marked this pull request as ready for review June 25, 2022 05:33
@camertron camertron requested review from a team and hectahertz June 25, 2022 05:33
Copy link
Member

@jonrohan jonrohan left a comment

Choose a reason for hiding this comment

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

Nice 👍🏻

@camertron camertron merged commit 6397772 into main Jun 27, 2022
@camertron camertron deleted the actionlist_linter branch June 27, 2022 20:20
@primer-css primer-css mentioned this pull request Jun 27, 2022
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