Skip to content

Add exception for height and width for SkeletonBox in no-system-props rule #389

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

Merged

Conversation

llastflowers
Copy link
Contributor

Relates to https://github.com/github/primer/issues/5445

Explanation of Changes

Added exception for height and width for SkeletonBox in no-system-props lint rule, since our docs advise use of those props with SkeletonBox. After releasing this change, we will test the usage in dotcom to make sure the issue is resolved.

@llastflowers llastflowers self-assigned this Aug 12, 2025
@Copilot Copilot AI review requested due to automatic review settings August 12, 2025 20:36
@llastflowers llastflowers requested a review from a team as a code owner August 12, 2025 20:36
Copy link

changeset-bot bot commented Aug 12, 2025

🦋 Changeset detected

Latest commit: 036d575

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

@llastflowers llastflowers requested a review from TylerJDev August 12, 2025 20:36
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds exceptions for height and width props on SkeletonBox components in the no-system-props ESLint rule. The change allows these specific system props to be used with SkeletonBox without triggering linting errors, aligning with the documented usage patterns for this component.

  • Added SkeletonBox to the excluded component props map with width and height exceptions

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

@llastflowers llastflowers merged commit 747fc82 into main Aug 13, 2025
9 checks passed
@llastflowers llastflowers deleted the llastflowers/5445/no-system-props-SkeletonBox-exceptions branch August 13, 2025 17:22
@primer-css primer-css mentioned this pull request Aug 13, 2025
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