eslint-plugin-typescript-sort-keys icon indicating copy to clipboard operation
eslint-plugin-typescript-sort-keys copied to clipboard

Type aliases

Open OliverJAsh opened this issue 2 years ago • 1 comments

What are your thoughts on a lint rule that enforces key sorting for type aliases? E.g.

type Foo = {
  b: string;
  a: string;
}

OliverJAsh avatar Sep 20 '22 14:09 OliverJAsh

I think that is already implemented in this plugin? It looks like it treats interface and type the same? Not documented in the example usages though :-)

osmestad avatar Sep 01 '23 11:09 osmestad