🐊Putout plugin adds ability to find and sort imports by specifiers
npm install @putout/plugin-sort-imports-by-specifiers[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-sort-imports-by-specifiers.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/@putout/plugin-sort-imports-by-specifiers "npm"
> The static import declaration is used to import read-only live bindings which are exported by another module.
> The imported bindings are called live bindings because they are updated by the module that exported the binding, but cannot be re-assigned by the importing module.
>
> (c) MDN
🐊Putout plugin adds ability to find and sort import statements by specifiers. Checkout in 🐊Putout Editor. Merged with @putout/plugin-esm.
```
npm i @putout/plugin-sort-imports-by-specifiers
`json`
{
"rules": {
"sort-imports-by-specifiers": "on"
}
}
`js`
import {
a,
b,
c,
d,
} from 'd';
import a1 from 'a1';
`js``
import a1 from 'a1';
import {
a,
b,
c,
d,
} from 'd';
MIT