codebude / QRCoder

A pure C# Open Source QR Code implementation
MIT License
4.43k stars 1.08k forks source link

Reformat code #562

Closed Shane32 closed 1 week ago

Shane32 commented 4 weeks ago

Summary

This PR adds an .editorconfig file along with a workflow to verify that the code matches the workflow. Code throughout the solution has been reformatted to match. Nearly all build warnings are configured as errors, enforcing proper code style both in the editor and via a test workflow.

Process

In general, each warning that I was able to auto-fix, I made a separate commit. Then a few commits to get the CI working and a few more to clean up some last few warnings.

Test plan

Review

To reduce the diff in GitHub, hide whitespace:

image

Shane32 commented 4 weeks ago

@codebude Ready for review whenever you're ready; no rush.