infctr / eslint-plugin-typescript-sort-keys

A linter plugin to require sorting interface and string enum keys
ISC License
143 stars 25 forks source link

Type aliases #53

Open OliverJAsh opened 1 year ago

OliverJAsh commented 1 year ago

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

type Foo = {
  b: string;
  a: string;
}
osmestad commented 10 months ago

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 :-)