-
Notifications
You must be signed in to change notification settings - Fork 551
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
Bump eslint-plugin-primer-react
#3591
Conversation
|
size-limit report 📦
|
@@ -261,6 +261,7 @@ describe('MarkdownEditor', () => { | |||
it('renders custom action buttons', async () => { | |||
const {getActionButton} = await render( | |||
<UncontrolledEditor> | |||
{/* eslint-disable-next-line primer-react/direct-slot-children */} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UncontrolledEditor
is MarkdownEditor
but exists under UncontrolledEditor
, which the linter does not know. Since this is only used in a test, I added inline disables to each test case that utilizes it.
Prerequisite: primer/eslint-plugin-primer-react#74
Bumps
eslint-plugin-primer-react
to4.0.x
.This PR brings us to
4.0.x
from2.0.3
.direct-slot-children
ruleMerge checklist
Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.