eslint-plugin-sort-exports
eslint-plugin-sort-exports copied to clipboard
Better documentation
It would be nice if the documentation provided some examples for what this rule will and will not report. e.g. if I have multiple export
statements like this
export { foo, bar };
export { baz, qux };
export const b = 2;
export const a = 3;
do I just need to sort each group individually, or is it going to complain if anything in the first group should be sorted after anything in the second group? Is it also going to report a
and b
being in the wrong order, and do they also need to be in the right place relative to the other export
statements?