ESLint import order with Flow types support


stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
20Dec 30, 2019Mar 19, 2017Minified + gzip package size for @avaly/eslint-plugin-import-order in KB



build status

NOTE: This is a fork of the https://github.com/benmosher/eslint-plugin-import plugin which includes only the order rule with Flow types support.

This was not accepted in the upstream project: https://github.com/benmosher/eslint-plugin-import/pull/732


Style guide:

  • Enforce a convention in module import order (order)


# inside your project's working tree
yarn add -D @avaly/eslint-plugin-import-order


In your .eslintrc.js:

module.exports = {
  plugins: ['@avaly/eslint-plugin-import-order'],
  rules: {
    '@avaly/import-order/order': [ERROR],

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.