eslint-plugin-mui

Custom ESLint rules for MUI

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
eslint-plugin-mui
300.1.1a year ago2 years agoMinified + gzip package size for eslint-plugin-mui in KB

Readme

eslint-plugin-mui
Custom ESLint rules for MUI

Installation

You'll first need to install ESLint: ```sh npm install eslint --save-dev ``` Next, install eslint-plugin-mui: ```sh npm install eslint-plugin-mui --save-dev ```

Usage

Add mui to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix: ```json {
"plugins": ["mui"]
} ``` Then configure the rules you want to use under the rules section. ```json {
"rules": {
"mui/rule-name": 2
}
} ```

Supported Rules

Credits

This plugin is based on eslint-plugin-sort-keys-fix (https://github.com/leo-buneev/eslint-plugin-sort-keys-fix).