eslint-plugin-import-sorter
v0.4.0
Published
Auto sort the import declarations
Maintainers
Readme
eslint-plugin-import-sorter
Auto fix the imports beginning in files.
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-import-sorter:
$ npm install eslint-plugin-import-sorter --save-devNote: 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"
]
}