0.4.0 • Published 6 years ago

eslint-plugin-import-sorter v0.4.0

Weekly downloads
59
License
ISC
Repository
github
Last release
6 years ago

eslint-plugin-import-sorter

Auto fix the imports beginning in files.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-import-sorter:

$ npm install eslint-plugin-import-sorter --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-import-sorter globally.

Usage

Add import-sorter to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "import-sorter"
    ]
}

Rules

  • Sort imports into a fixed order. (order)
  • Sort specifiers within a single import. (specifier)
0.4.0

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago