rmehri01 / thock

⌨️ A modern TUI typing game featuring online racing against friends.
MIT License
88 stars 4 forks source link

Formatting of the project #10

Closed dedifferentiator closed 3 years ago

dedifferentiator commented 3 years ago

I'm currently trying to understand the code and I think it lacks a bit of formatting. I manually formatted one file, and if you like it and wouldn't mind, then I could format the others as well. But in general, there are the following options:

P.S. the project is amazing :)

rmehri01 commented 3 years ago

Hi, thanks for the feedback! I have just been formatting my files manually with Ormolu since was the default one. While I don't like some things about it, I think that its nice to have a more opinionated formatter. Also there does seem to be a github action for Ormolu so I could add that to CI as well to make sure it stays consistent!

dedifferentiator commented 3 years ago

Oh, ormolu... no wonder I thought there's no formatter at all haha, but that's okay! I'll just reformat the project as I like and before committing (if it will be) I'll revert formatting with ormolu. Yup, having that action would be great!

rmehri01 commented 3 years ago

I just added the CI for this so I'm going to close this issue!