Closed brandongregoryscott closed 2 years ago
Update the alphabetize-interfaces rule to alphabetize nested objects in an interface definition i.e.
alphabetize-interfaces
interface Release { assets: any[]; author: { login: string; id: number; avatar_url: string; gravatar_id: string; type: string; site_admin: boolean; }; html_url: string; name: string; id: number; zipball_url: string; }
will be transformed to:
interface Release { assets: any[]; author: { avatar_url: string; gravatar_id: string; id: number; login: string; site_admin: boolean; type: string; }; html_url: string; id: number; name: string; zipball_url: string; }
This is somewhat doubling as a bug. The routes.ts file in beets is failing to save properly because it is writing out duplicated properties.
routes.ts
Update the
alphabetize-interfaces
rule to alphabetize nested objects in an interface definition i.e.will be transformed to: