eslint-plugin-mistertemp

eslint plugin with import sorting

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
eslint-plugin-mistertemp
1.0.57 years ago7 years agoMinified + gzip package size for eslint-plugin-mistertemp in KB

Readme

eslint-plugin-mistertemp
Travis build status NPM version
mistertemp eslint

Installation

You'll first need to install ESLint:
$ npm i eslint --save-dev

Next, install eslint-plugin-mistertemp:
$ npm install eslint-plugin-mistertemp --save-dev

Note: 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