infctr/eslint-plugin-typescript-sort-keys

Custom order to specific attributes - Ex. "id"

IanTorquato opened this issue · 0 comments

I was searching, but I didn't find an option to leave the id at the top, as in this example:
https://github.com/prash471/eslint-plugin-typescript-custom-sort-keys#example

{
  id: number;

  name: string;
  age: number;
  
  phone?: string;
};