import-sort-style-simon-sort
v1.0.0
Published
A import-sort style implementing Simon Sort
Downloads
597
Readme
import-sort-style-simon-sort
This is a sort style for the import-sort ES6 import sorter. It should work out of the box everywhere import-sort does, but it has only be tested with the CLI and the Visual Studio Code plugin.
The actual sort style will probably not be of much use to you if you are not Simon or one of his colleagues.
Installation
- Add the package to your devDependencies (
npm install --save-dev import-sort-style-simon-sort
). - Configure the sort style in
package.json
by adding an entry like this:
"importSort": {
".js, .jsx, .es6, .es, .mjs, .ts, .tsx": {
"style": "simon-sort"
}
}
- Enjoy