eslint-plugin-sort-exports icon indicating copy to clipboard operation
eslint-plugin-sort-exports copied to clipboard

Better documentation

Open CruseCtrl opened this issue 2 years ago • 0 comments

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?

CruseCtrl avatar Jul 08 '22 11:07 CruseCtrl