duolicious / duolicious-frontend

The frontend of the Duolicious dating app
https://duolicious.app/
GNU Affero General Public License v3.0
32 stars 12 forks source link

Formatter configuration #296

Open gonnaduobitofhelping opened 2 months ago

gonnaduobitofhelping commented 2 months ago

Currently there isn't a formatter installed and configured in the project. I assume the code is currently formatted by a formatter configured locally in the IDE of @duogenesis. The IDE-s of other contributors can however be configured differently, overriding the existing formatting. I suggest installing Prettier (or another formatter of preference) in the project and configuring it with conventions that are currently implicitly used as this would improve the DX of other contributors.

duogenesis commented 2 months ago

This is a good idea. A similar thing I wanted to add was type checking in CI (https://github.com/duolicious/duolicious-frontend/issues/297).