Skip to content

Commit 708dce0

Browse files
Add to README
1 parent 670eb95 commit 708dce0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/eslint-plugin-material-ui/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Custom eslint rules for MUI.
66

77
- `disallow-active-element-as-key-event-target`
88
- `docgen-ignore-before-comment`
9+
- `mui-name-matches-component-name`
910
- `no-hardcoded-labels`
1011
- `rules-of-use-theme-variants`
1112
- ~~`restricted-path-imports`~~
@@ -20,6 +21,10 @@ we use already verifies that the passed target can be the target of a
2021

2122
Enforce correct usage of `@ignore` in the prop-types block comments.
2223

24+
### mui-name-matches-component-name
25+
26+
Enforce that the name passed to the `useThemeProps` and `useDefaultProps` hooks matches the component name.
27+
2328
### no-hardcoded-labels
2429

2530
Prevent the usage of hardcoded labels.

0 commit comments

Comments
 (0)