We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 670eb95 commit 708dce0Copy full SHA for 708dce0
packages/eslint-plugin-material-ui/README.md
@@ -6,6 +6,7 @@ Custom eslint rules for MUI.
6
7
- `disallow-active-element-as-key-event-target`
8
- `docgen-ignore-before-comment`
9
+- `mui-name-matches-component-name`
10
- `no-hardcoded-labels`
11
- `rules-of-use-theme-variants`
12
- ~~`restricted-path-imports`~~
@@ -20,6 +21,10 @@ we use already verifies that the passed target can be the target of a
20
21
22
Enforce correct usage of `@ignore` in the prop-types block comments.
23
24
+### mui-name-matches-component-name
25
+
26
+Enforce that the name passed to the `useThemeProps` and `useDefaultProps` hooks matches the component name.
27
28
### no-hardcoded-labels
29
30
Prevent the usage of hardcoded labels.
0 commit comments