jwbay / tslint-misc-rules

Collection of miscellaneous TSLint rules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When re-ordering a block of imports, side effect imports are sorted and shouldn't be

jwbay opened this issue · comments

commented
import 'b';
import 'a';
import { x } from 'y';
import * as z from 'z';

incorrectly becomes

import 'a';
import 'b';
import * as z from 'z';
import { x } from 'y';

when it should be

import 'b';
import 'a';
import * as z from 'z';
import { x } from 'y';