eslint-plugin-mistertemp
v1.0.5
Published
eslint plugin with import sorting
Maintainers
Readme
eslint-plugin-mistertemp
mistertemp eslint
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-mistertemp:
$ npm install eslint-plugin-mistertemp --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-mistertemp globally.
Usage
Add mistertemp to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"mistertemp"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"mistertemp/order-import": ["error", {
"ignoreCase": true,
"ignoreMemberSort": false,
"memberSyntaxSortOrder": ["react", "single", "multiple", "all", "none" ]
}]
}
}Supported Rules
- Fill in provided rules here
