Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

[core] Prepare migration with main repository, eslint v1#1937

Merged
dmtrKovalenko merged 1 commit into
mui:nextfrom
oliviertassinari:fix-eslint-errors
Jul 1, 2020
Merged

[core] Prepare migration with main repository, eslint v1#1937
dmtrKovalenko merged 1 commit into
mui:nextfrom
oliviertassinari:fix-eslint-errors

Conversation

@oliviertassinari

Copy link
Copy Markdown
Member

This is a smaller chunk of #1930. I have figured that it would be much easier to have this effort go into smaller efforts.

@vercel

vercel Bot commented Jun 28, 2020

Copy link
Copy Markdown

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/mui-org/material-ui-pickers/27ynkr35u
✅ Preview: https://material-ui-pickers-git-fork-oliviertassinari-fix-eslint-errors.mui-org.vercel.app

@cypress

cypress Bot commented Jun 28, 2020

Copy link
Copy Markdown



Test summary

75 0 3 0


Run details

Project material-ui-pickers
Status Passed
Commit 85e000d
Started Jun 28, 2020 2:41 AM
Ended Jun 28, 2020 2:43 AM
Duration 01:28 💡
OS Linux Debian - 10.0
Browser Chrome 80

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@dmtrKovalenko

Copy link
Copy Markdown
Contributor

What the motivation of bringing this 2 parts in different PRs? I think they should never be merged independently.

Maybe change the base branch to #1930?

Comment thread docs/_shared/Example.tsx

return (
<>
<React.Fragment>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What the motivation?

@oliviertassinari oliviertassinari Jun 28, 2020

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Why are we using <React.Framgent> in the codebase? I think that it's between these lines:

  • Only this approach allows setting a key
  • Only this approach allows new developers to easily search on Google what the element for.
  • We enforce one way for consistency.

If you think that we should change the tradeoff, please open an RFC on the main repository to make the point. The objective here is to share the same eslint configuration on the whole codebase.

@oliviertassinari

oliviertassinari commented Jun 28, 2020

Copy link
Copy Markdown
Member Author

What the motivation of bringing this 2 parts in different PRs? I think they should never be merged independently.

I was planning on making more than 2 pull requests, more like a couple. The incentive is incremental changes: avoid conflicts on large pull requests, makes review easier. #1930 will finalize the effort, putting constraints in place so it holds in the long term. Step by step.

@oliviertassinari oliviertassinari changed the title [core] Fix eslint errors [core] Prepare migration with main repository, eslint v1 Jun 28, 2020
@dmtrKovalenko
dmtrKovalenko merged commit e59bbb9 into mui:next Jul 1, 2020
@oliviertassinari
oliviertassinari deleted the fix-eslint-errors branch July 1, 2020 16:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants