Skip to content

rafaelgomesxyz/eslint-plugin-mui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Custom ESLint rules for MUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published