forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eb80bd9
commit 8c28ed9
Showing
7 changed files
with
167 additions
and
32 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,22 @@ | ||
# eslint-plugin-material-ui | ||
|
||
Custom eslint rules for Material-UI | ||
Custom eslint rules for Material-UI. | ||
|
||
## Supported Rules | ||
## List of supported rules | ||
|
||
- `docgen-ignore-before-comment` | ||
- `no-hardcoded-labels` | ||
- `restricted-path-imports` | ||
|
||
### docgen-ignore-before-comment | ||
|
||
Enforce correct usage of `@ignore` in the prop-types block comments. | ||
|
||
### no-hardcoded-labels | ||
|
||
The docs are translated via crowdin. Prefer to use `t` from the redux store. The test file includes valid and invalid | ||
uses for literals. | ||
Prevent the usage of hardcoded labels. | ||
The docs are translated via crowdin, we prefer to use `t` from the redux store. | ||
|
||
### restricted-path-imports | ||
|
||
Prevent the import of modules at a level depth strictly over 1. |
This file contains 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
This file contains 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
This file contains 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
This file contains 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