Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add rustfmt config and workflow (#276)
Add config for rustfmt as well as a semi-automated workflow for applying it. I'm not a fan of applying it in CI because: - When used as a condition for CI, a red build is a bit harsh just for formatting issues, when it is trivial to format it without a PR author's involvement. - Running rustfmt automatically in PRs and pushing if changes were made means that the latest commit doesn't match the PR authors', which less Git-savvy contributors may not know how to deal with. In addition it is just annoying if every other commit is applying another formatting commit. The idea here is to implement a slash command that can be run manually just prior to merging, if needed.
- Loading branch information