Skip to content

Commit

Permalink
Add to README
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle committed Jul 15, 2024
1 parent 670eb95 commit 708dce0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/eslint-plugin-material-ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Custom eslint rules for MUI.

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

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

### mui-name-matches-component-name

Enforce that the name passed to the `useThemeProps` and `useDefaultProps` hooks matches the component name.

### no-hardcoded-labels

Prevent the usage of hardcoded labels.
Expand Down

0 comments on commit 708dce0

Please sign in to comment.