Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated contributing to add commit hook, github flow, and coc informa…
…tion
- Loading branch information
Showing
2 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Contributing | ||
|
||
I mean... if you want to that would be great. Very work in progress. Pull requests are welcome. | ||
|
||
## Pull Request Flow | ||
|
||
This project subscribes to the typical [GitHub Flow](https://guides.github.com/introduction/flow/) of branch, commit, pull request, commit, merge. | ||
|
||
## Pre-Commit Hooks | ||
|
||
To keep code consistent and awesome (and avoid common mistakes) this project makes use of a [golang centric pre-commit hook](https://github.com/dnephin/pre-commit-golang). Install pre-commit from [pre-commit.com](http://pre-commit.com/) and install the hook with `pre-commit install`. Commit as usual and the amazingness just happens by default, ensuring commands like go-fmt and go-lint run on every commit. | ||
|
||
## Code of Conduct | ||
|
||
This does not need to be a whole thing but just be nice to each other. Toxic folks are not worth putting up with for a few lines of code. This is solely at my discretion. |