-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Open
Labels
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureThis means we'd like to hear from more people who would be helped by this featureSuggestionAn idea for TypeScriptAn idea for TypeScript
Description
Following this closed feature, since TS 4.7 organizeImports is groupping imports base on empty line separator.
By default, organizeImports also organize exports.
I need the same behaviour on exports, which are sometimes dependant of previous export (and which should not be reorder globally) :
Example - Before
export d from "D";
export a from "A";
export b from "B";
export c from "C"; //depends on D
{...}Current behaviour
export a from "A";
export b from "B";
export c from "C"; //depends on D which is not currently exported => causes a build error
export d from "D";
{...}Desired behaviour
export a from "A";
export b from "B";
export d from "D";
export c from "C"; //depends on D => no error
{...}Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureThis means we'd like to hear from more people who would be helped by this featureSuggestionAn idea for TypeScriptAn idea for TypeScript