JoshuaKGoldberg / create-typescript-app

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

🛠 Tooling: Use explicit .json extension for .prettierrc instead of Prettier override #1214

Closed JoshuaKGoldberg closed 8 months ago

JoshuaKGoldberg commented 8 months ago

Bug Report Checklist

Overview

Right now, the Prettier config specifies exactly two overrides:

https://github.com/JoshuaKGoldberg/create-typescript-app/blob/a6feabdf3cb7aa525167168652a17bd2c3de2330/.prettierrc#L3-L6

There's only one *.rc file that isn't .nvmrc: .prettierrc itself. But Prettier supports explicit config file formats. Let's switch to .prettierrc to .prettierrc.json.

As for .nvmrc, https://github.com/prettier/prettier/issues/15898 tracks Prettier supporting it natively. I'll need to leave that remaining override in for now.

Additional Info

No response

github-actions[bot] commented 8 months ago

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

The release is available on:

Cheers! 📦🚀