JoshuaKGoldberg / create-typescript-app

Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 💝
MIT License
918 stars 69 forks source link

🛠 Tooling: Use an ESLint object literal keys sort rule #396

Closed JoshuaKGoldberg closed 1 year ago

JoshuaKGoldberg commented 1 year ago

Bug Report Checklist

Overview

I prefer sorting things 😄 and now you're all going to suffer with me!

const value = {
-   def, abc,
+   abc, def,
};

But, I think it's only reasonable to sort object literal keys when:

Additional Info

I'll take this on to make sure we get a good one.

JoshuaKGoldberg commented 1 year ago

Welp those are all either locked or out of date. Never mind!

JoshuaKGoldberg commented 1 year ago

Ooh maybe https://github.com/azat-io/eslint-plugin-perfectionist will do!

JoshuaKGoldberg commented 1 year ago

Blocked on https://github.com/azat-io/eslint-plugin-perfectionist/issues/12. Otherwise looks very good!

github-actions[bot] commented 1 year ago

:tada: This is included in version v1.28.13 :tada:

The release is available on:

Cheers! 📦🚀

github-actions[bot] commented 1 year ago

:tada: This is included in version v1.28.13 :tada:

The release is available on:

Cheers! 📦🚀