Skip to content

Commit

Permalink
updated contributing to add commit hook, github flow, and coc informa…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
sroberts committed Apr 2, 2016
1 parent 95d092f commit fa9f614
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CONTRIBUTING

This file was deleted.

15 changes: 15 additions & 0 deletions CONTRIBUTING.md
@@ -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.

0 comments on commit fa9f614

Please sign in to comment.