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

Update no-system-props to check subcomponents #47

Merged
merged 5 commits into from
Mar 22, 2023

Conversation

colebemis
Copy link
Contributor

Previously, the no-system-props rule wasn't checking Primer subcomponents like ActionMenu.Overlay or PageLayout.Header.

This PR updates the no-system-props rule to properly check subcomponents for system props and adds valid sucomponent props to the allow list.

@changeset-bot
Copy link

changeset-bot bot commented Mar 22, 2023

🦋 Changeset detected

Latest commit: 4632ec7

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

This PR includes changesets to release 1 package
Name Type
eslint-plugin-primer-react 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

@colebemis colebemis merged commit aabaa1d into main Mar 22, 2023
@primer-css primer-css mentioned this pull request Mar 22, 2023
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.

1 participant