Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Latest commit

 

History

History

ember-order-imports

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 






CLARK




@clark/eslint-config-ember-order-imports

Node CI code style: prettier CLARK Open Source

Sorts ES module imports for Ember.js projects

Installation

If you use the @clark/eslint-config-ember or @clark/eslint-config-ember-typescript, you don't need to do anything, as they already include this config.

If you don't like our config and just want to order your imports while using your own eslint config, just install this package and add it to extends.

yarn add -D eslint @clark/eslint-config-ember-order-imports
module.exports = {
  extends: ['@clark/ember-order-imports'],
  rules: {
    // your rules here
  },
};

What does it do?

This is a distributable standalone config for eslint-plugin-import-helpers that orders the ES module imports.

The config is extracted from / based on the config in skylines.