-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Description
Surprisingly do not see an existing issue for this, but I would like to have an equivalent of order with alphabetize for exports.
This would esp. useful for files that only contain exports, e.g.
// @flow
export {
default as createLogDump,
} from './createLogDump';
export {
default as createSnackTimeEvent,
} from './createSnackTimeEvent';
export {
default as executeMaintenanceTask,
} from './executeMaintenanceTask';
export {
default as inviteSlackTeamUsersToSnackClubChannel,
} from './inviteSlackTeamUsersToSnackClubChannel';
export {
default as pairSnackTimeEventParticipants,
} from './pairSnackTimeEventParticipants';At the moment, these exports are in a random order.
Enforcing export order when file only contains exports would be useful.
cbravo, obweger, AntonioMeireles, guilhermetod, Jerome1337 and 31 more