Add basic issue and PR templates (#6597)
Issue template adapted from the Angular template, and PR template adapted from the PR guidelines in CONTRIBUTING.md.
Marshall Bowers committed
May 11, 2016 at 18:30 UTC
6b1232aa86415f0573153888a46c4c5cb38974d8
2 files changed
+17
.github/ISSUE_TEMPLATE.md
new
+9
@@ -0,0 +1,9 @@
1
+**Do you want to request a *feature* or report a *bug*?**
2
+
3
+**What is the current behavior?**
4
+
5
+**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/reactjs/69z2wepo/).**
6
+
7
+**What is the expected behavior?**
8
+
9
+**Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?**
.github/PULL_REQUEST_TEMPLATE.md
new
+8
@@ -0,0 +1,8 @@
1
+*Before* submitting a pull request, please make sure the following is done...
2
+
3
+1. Fork the repo and create your branch from `master`.
4
+2. If you've added code that should be tested, add tests!
5
+3. If you've changed APIs, update the documentation.
6
+4. Ensure the test suite passes (`grunt test`).
7
+5. Make sure your code lints (`grunt lint`) - we've done our best to make sure these rules match our internal linting guidelines.
8
+6. If you haven't already, complete the [CLA](https://code.facebook.com/cla).