Closed banaan666 closed 8 months ago
@edwinm then why was this merged 😆 ?
Because this is how we currently update the memberlist, it was never formatted before. Also I don't have the time and energy currently to look into adding formatting to the JSON I export from the membership administration.
https://github.com/fronteers/website/pull/334#issue-2133075237, thus prettier -w .
or prettier -w src/_data/members-list.json
If you want a GitHub Action to automatically format it when you PR an update, I can write that, if that solves the issue. Without the formatted file structure there is no good way to see changes (and thus it's hard to detect issues with the file, the output, or contents as well).
That would be really helpful Derk-Jan if you could implement this on the Github side of things.
I'll add it to my list!
A formatted JSON is really preferred.