You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Had to dig a bit more than needed to figure out what this does. If you're up for it, I'd suggest to update the README with a short description of what this rule is supposed to cover.
I can add it to the README, but checking its implementation changed in #42638
@siriwatknp does it mean that the rule will stop working with useThemeProps?
We are still using useThemeProps in MUI X and we can't migrate to useDefaultProps before the next major.
Also I just migrated all the pickers to use createUseThemeProps and I see that you removed its usages in the pull request above 😬 , if you could communicate any change in DX around the Pigment CSS migration to avoid back and forth work on our side that would be great.
@siriwatknp does it mean that the rule will stop working with useThemeProps? We are still using useThemeProps in MUI X and we can't migrate to useDefaultProps before the next major. Also I just migrated all the pickers to use createUseThemeProps and I see that you removed its usages in the pull request above 😬 , if you could communicate any change in DX around the Pigment CSS migration to avoid back and forth work on our side that would be great.
Nope, I reverted in #42817. It should work the same for MUI X.
oliviertassinari
changed the title
[core] Remove custom hooks from the mui-name-matches-component-name linting rule
[internal] Remove custom hooks from the mui-name-matches-component-name linting rule
Feb 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internalBehind-the-scenes enhancement. Formerly called “core”.
4 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The config now lives on the X repo.
And these custom hooks are blocking the PigmentCSS migration on the pickers.