Issue and PR templates (#3690) [skip ci]

* Create PULL_REQUEST_TEMPLATE.md

* Create ISSUE_TEMPLATE.md

* Use label names in PR template

* Update ISSUE_TEMPLATE.md

* Update ISSUE_TEMPLATE.md

* Update ISSUE_TEMPLATE.md
This commit is contained in:
Daniel Tschinder 2016-09-07 22:37:49 +02:00 committed by Henry Zhu
parent 1445dadb23
commit a1b46f1640
2 changed files with 76 additions and 0 deletions

58
.github/ISSUE_TEMPLATE.md vendored Normal file
View File

@ -0,0 +1,58 @@
<!---
BEFORE YOU SUBMIT please read the following:
If you have a support request or question please submit them to one of this resources:
* Discussion Forum: https://discuss.babeljs.io/
* StackOverflow: http://stackoverflow.com/questions/tagged/babeljs using the tag `babeljs`
* Slack community: https://slack.babeljs.io/
* Also have a look at the Readme for more information on how to get support:
https://github.com/babel/babel/blob/master/README.md
Issues on github are only related to problems of babel itself and we cannot answer
support questions here.
-->
<!--- Provide a general summary of the issue in the title above -->
### Input Code
<!--- If you're describing a bug, please let us know which sample code reproduces your problem -->
```js
var your => (code) => here;
```
### Babel Configuration (.bablerc, package.json, cli command)
<!--- If describing a bug, tell us what your babel configuration looks like -->
```js
{
"your": { "config": "here" }
}
```
### Expected Behavior
<!--- If you're describing a bug, tell us what should happen -->
<!--- If you're suggesting a change/improvement, tell us how it should work -->
### Current Behavior
<!--- If describing a bug, tell us what happens instead of the expected behavior -->
<!--- If suggesting a change/improvement, explain the difference from current behavior -->
### Possible Solution
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
<!--- or ideas how to implement the addition or change -->
### Context
<!--- How has this issue affected you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
### Your Environment
<!--- Include as many relevant details about the environment you experienced the bug in -->
| software | version
| ---------------- | -------
| Babel |
| node |
| npm |
| Operating System |

18
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View File

@ -0,0 +1,18 @@
<!---
Before making a PR please make sure to read our contributing guidlines
https://github.com/babel/babel/blob/master/CONTRIBUTING.md
-->
| Q | A
| ----------------- | ---
| Bug fix? | yes/no
| Breaking change? | yes/no
| New feature? | yes/no
| Deprecations? | yes/no
| Spec compliancy? | yes/no
| Tests added/pass? | yes/no
| Fixed tickets | comma-separated list of tickets fixed by the PR, if any
| License | MIT
| Doc PR | reference to the documentation PR, if any
<!-- Describe your changes below in as much detail as possible -->