chore: introduce envinfo into environment section (#10553)

* chore: introduce envinfo into environment section [skip ci]

* Apply suggestions from code review

Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>

* Address review comments from Nicolò

* Update .github/ISSUE_TEMPLATE/Bug_report.md [skip ci]

Co-Authored-By: Brian Ng <bng412@gmail.com>

* chore: simplify issue template [skip ci]
This commit is contained in:
Huáng Jùnliàng 2019-10-16 10:12:13 -04:00 committed by Brian Ng
parent cd5d3abc32
commit 800eccc046
2 changed files with 13 additions and 5 deletions

View File

@ -22,7 +22,7 @@ var your => (code) => here;
**Expected behavior/code**
A clear and concise description of what you expected to happen (or code).
**Babel Configuration (.babelrc, package.json, cli command)**
**Babel Configuration (babel.config.js, .babelrc, package.json#babel, cli command)**
```js
{
@ -31,6 +31,10 @@ A clear and concise description of what you expected to happen (or code).
```
**Environment**
<!--- Tip: Instead of filling out the questions below, you can run `npx envinfo --preset babel` and paste the result below ``` -->
```
```
- Babel version(s): [e.g. v6.0.0, v7.0.0-beta.34]
- Node/npm version: [e.g. Node 8/npm 5]
- OS: [e.g. OSX 10.13.4, Windows 10]

View File

@ -26,7 +26,10 @@ A clear and concise description of what the regression is.
var your => (code) => here;
```
**Babel Configuration (.babelrc, package.json, cli command)**
**Expected behavior/code**
A clear and concise description of what you expected to happen (or code).
**Babel Configuration (babel.config.js, .babelrc, package.json#babel, cli command)**
```js
{
@ -34,10 +37,11 @@ var your => (code) => here;
}
```
**Expected behavior/code**
A clear and concise description of what you expected to happen (or code).
**Environment**
<!--- Tip: Instead of filling out the questions below, you can run `npx envinfo --preset babel` and paste the result below ``` -->
```
```
- Babel version(s): [e.g. v6.0.0, v7.0.0-beta.34]
- Node/npm version: [e.g. Node 8/npm 5]
- OS: [e.g. OSX 10.13.4, Windows 10]