-
Couldn't load subscription status.
- Fork 10
Closed
Labels
Description
- intentional duplicate of https://github.com/github/primer/issues/5254
This is a remediation issue from a weekly review session. Addressing this issue will help us avoid issues where we are overriding props unintentionally.
<Example
className="..."
{...rest}
/><Example
{...rest}
className="..."
/>This is important to do because we've seen multiple instances of UI errors being caused by scenarios were custom props overriding the base props. Having this type of rule in place could help us avoid these types of regressions
Implementation plan:
- Create a new file in src/rules in the same style as other files in that directory
- Write a test file in
src/rules/__tests__ - Add a file for documentation in docs/rules
Copilot