OpenRCT2 / objects

Official objects for OpenRCT2
Creative Commons Attribution 4.0 International
24 stars 36 forks source link

Format all json files with new script #243

Closed ZehMatt closed 1 year ago

Gymnasiast commented 1 year ago

I'm not sure this is a good idea. Especially not the bit where I put a line note.

I was actually working on better scripts before exiting the team, I could finish those instead if the team is interested.

ZehMatt commented 1 year ago

I think this is the best middle ground as for readability and density.

ZehMatt commented 1 year ago

I checked a few files. It’s now much more consistent, good job 👍

Do you plan to add some kind of CI to ensure that all files stay formatted correctly? (E.g. something like we do with clang-format in the main repo?)

That's the plan but for now I just want to get this updated so we can do the release. I want to have the scripts somewhere that the localisation repo and this one can use together, its a small collection of js modules that I wrote and since both repos share the same data formats it makes sense to have it on its own repo maybe, I'll have to think a bit about that once I get there.