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

[core] Fix some issues reported by eslint-plugin-react-compiler #43117

Merged
merged 26 commits into from
Sep 12, 2024

Conversation

binsmyth
Copy link
Contributor

@binsmyth binsmyth commented Jul 30, 2024

Part of #42564

Sorry for being late to contribute.
I changed the codes in these files to remove errors -

  • packages/mui-material/src/Backdrop/Backdrop.js
  • packages/mui-material/src/usePagination/usePagination.test.js
  • packages/mui-material/src/FormControl/FormControl.js
    While rest of them I put eslint disable comments. Either difficult to change or could break something.

For this package there was two changes didn't realize that the change caused test to not work so undid the changes and added disabled comments

@mui-bot
Copy link

mui-bot commented Jul 30, 2024

Netlify deploy preview

https://deploy-preview-43117--material-ui.netlify.app/

Bundle size report

Details of bundle changes (Toolpad)
Details of bundle changes

Generated by 🚫 dangerJS against cd0f9fa

@zannager zannager added core Infrastructure work going on behind the scenes package: eslint Specific to eslint-plugin-material-ui labels Jul 30, 2024
@aarongarciah aarongarciah removed the package: eslint Specific to eslint-plugin-material-ui label Aug 5, 2024
@aarongarciah aarongarciah changed the title Fix eslint issues component hooks [core] Fix eslint issues component hooks Aug 5, 2024
@aarongarciah aarongarciah changed the title [core] Fix eslint issues component hooks [core] Fix issues reported by eslint-plugin-react-compiler Aug 5, 2024
Copy link
Member

@aarongarciah aarongarciah left a comment

Choose a reason for hiding this comment

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

Thanks for working on this. I left some comments.

packages/mui-material/src/Hidden/withWidth.js Outdated Show resolved Hide resolved
packages/mui-material/src/InputBase/InputBase.js Outdated Show resolved Hide resolved
packages/mui-material/src/InputBase/InputBase.js Outdated Show resolved Hide resolved
packages/mui-material/src/InputBase/InputBase.test.js Outdated Show resolved Hide resolved
packages/mui-material/src/InputBase/InputBase.test.js Outdated Show resolved Hide resolved
packages/mui-material/src/Select/SelectInput.js Outdated Show resolved Hide resolved
packages/mui-material/src/Tooltip/Tooltip.js Outdated Show resolved Hide resolved
packages/mui-material/src/Tooltip/Tooltip.js Outdated Show resolved Hide resolved
packages/mui-material/src/Tooltip/Tooltip.js Outdated Show resolved Hide resolved
@github-actions github-actions bot added PR: out-of-date The pull request has merge conflicts and can't be merged and removed PR: out-of-date The pull request has merge conflicts and can't be merged labels Aug 6, 2024
@aarongarciah
Copy link
Member

@binsmyth there are comments that haven't been addressed (e.g. https://github.com/mui/material-ui/pull/43117/files#r1703678961). Please, go through all of them and reply accordingly before requesting a new review.

@binsmyth
Copy link
Contributor Author

@aarongarciah Sorry must have missed it.I will check it. thanks

@github-actions github-actions bot added PR: out-of-date The pull request has merge conflicts and can't be merged and removed PR: out-of-date The pull request has merge conflicts and can't be merged labels Sep 9, 2024
binsmyth and others added 12 commits September 12, 2024 15:43
Co-authored-by: Aarón García Hervás <[email protected]>
Signed-off-by: binsmyth <[email protected]>
Co-authored-by: Aarón García Hervás <[email protected]>
Signed-off-by: binsmyth <[email protected]>
Co-authored-by: Aarón García Hervás <[email protected]>
Signed-off-by: binsmyth <[email protected]>
Co-authored-by: Aarón García Hervás <[email protected]>
Signed-off-by: binsmyth <[email protected]>
Co-authored-by: Aarón García Hervás <[email protected]>
Signed-off-by: binsmyth <[email protected]>
Co-authored-by: Aarón García Hervás <[email protected]>
Signed-off-by: binsmyth <[email protected]>
Co-authored-by: Aarón García Hervás <[email protected]>
Signed-off-by: binsmyth <[email protected]>
Co-authored-by: Aarón García Hervás <[email protected]>
Signed-off-by: binsmyth <[email protected]>
Co-authored-by: Aarón García Hervás <[email protected]>
Signed-off-by: binsmyth <[email protected]>
@aarongarciah aarongarciah force-pushed the fix-eslint-issues-component-hooks branch from 886680d to cd0f9fa Compare September 12, 2024 13:45
@aarongarciah aarongarciah changed the title [core] Fix issues reported by eslint-plugin-react-compiler [core] Fix some issues reported by eslint-plugin-react-compiler Sep 12, 2024
Copy link
Member

@aarongarciah aarongarciah left a comment

Choose a reason for hiding this comment

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

Thanks!

@aarongarciah aarongarciah merged commit 47cc78d into mui:master Sep 12, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants