Skip to content

import/order sorting specifiers, named imports #225

@falkenhawk

Description

@falkenhawk

hi, is porting over import-js/eslint-plugin-import#3043 in plans?

original issues: import-js/eslint-plugin-import#1787 and import-js/eslint-plugin-import#2553

from the description of the linked PR:

Reports error:

import { Bravo, Alpha } from 'foo';
const { Delta, Charlie } = require('foo');
export { Foxtrot, Echo } from 'foo';
export { Alpha as Hotel, India, Alpha as Golf };

Fixed code:

import { Alpha, Bravo } from 'foo';
const { Charlie, Delta } = require('foo');
export { Echo, Foxtrot } from 'foo';
export { Alpha as Golf, Alpha as Hotel, India } from 'foo';

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions