Election-Tech-Initiative / electionguard-cpp

A C++ implementation of ElectionGuard specification focused on encryption components.
https://www.electionguard.vote/
MIT License
23 stars 26 forks source link

✨ Standardize Whitespace #249

Closed lprichar closed 2 years ago

lprichar commented 2 years ago

Is there an existing issue for this?

Suggestion

The whitespace is inconsistent across files. Sometimes it uses unix style line endings and sometimes it uses Windows.

Possible Implementation

  1. Fix with something like this (if on Windows):

find . -type f -exec dos2unix -k -s -o {} ';'

  1. Add a .gitattributes file to ensure the repo uses unix line endings but checks out as windows line endings on windows. Something like * text=auto, see also: https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings

Anything else?

No response

MatthewRatzell commented 2 years ago

Hey all, I would love to contribute to the project and think this would be a good issue to start with, I am unsure if I'll be able to solve it, but I am going to do my best to get it done. Regardless I'll be in quick communication, so if I have any troubles I won't be leaving you all in the dark.