@avaly/eslint-plugin-import-order

v1.1.0
ESLint import order with Flow types support
eslint eslintplugin es6 jsnext modules import flow flowtype

@avaly/eslint-plugin-import-order

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

Rules

Style guide:

  • Enforce a convention in module import order (order)

Installation

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

Usage

In your .eslintrc.js:

module.exports = {
  plugins: ['@avaly/eslint-plugin-import-order'],
  rules: {
    '@avaly/import-order/order': [ERROR],
  }
};
npm i @avaly/[email protected]

Metadata

  • MIT
  • >=4
  • Ben Mosher
  • released 9/2/2018

Downloads

Maintainers