Modules order

What order to use when sorting imports.

When you set the value to an Array each String in it corresponds to a module name. import statements will be sorted according to specified order of modules. Modules that do not appear on the list will be moved to the bottom of import statements block at the top of the file.

Set the value to "alphabetic" for lexicographical sorting by module name.

Interface

Name modules-order
Type String, Array
Default value [ "react", "react-dom", "prop-types", "classnames", "lodash", "lodash-es", "underscore", "redux-saga", "redux-saga/effects", "react-redux", "react-router-redux", "redux-actions", "reselect", "re-reselect", "react-router", "react-router-dom", "react-hot-loader" ]
© 2018 - 2019 Kamil Mielnik & Yuriy Yakym. All rights reserved.