eslint-plugin-mui

0.1.1 • Public • Published

eslint-plugin-mui

Custom ESLint rules for MUI

Installation

You'll first need to install ESLint:

npm install eslint --save-dev

Next, install eslint-plugin-mui:

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:

{
	"plugins": ["mui"]
}

Then configure the rules you want to use under the rules section.

{
	"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).

Package Sidebar

Install

npm i eslint-plugin-mui

Weekly Downloads

458

Version

0.1.1

License

MIT

Unpacked Size

30 kB

Total Files

9

Last publish

Collaborators

  • rafaelgomesxyz