Collecting all the relevant details early on means less back and forth
between the poster and project contributors. Asking to create a small
reproducible demo means less time wasted trying to repro the bug.
Brunch has been doing this for a while and it has really helped.
There are people who deleted the template and went free-form in their
bug reports but for the most part, people have actually been filling
that in:
https://github.com/brunch/brunch/issues?q=is%3Aissue+is%3Aclosed
A lesser percentage of the people were creating the demos, but a few
definitely were. The details, and the demos especially, led to faster
resolution times, which a win for everyone.
* Split no-unused-vars ESLint config to multiple lines
* Exempt variables prefixed with underscore from no-unused-vars rule
This is useful when e.g. using object spread operator to remove only a
certain field from the object.
For example, this can be used to ignore a property from React
component's `this.props`:
render() {
const { someAttribute: _unused, ...rest } = this.props;
return <pre>{ JSON.stringify(rest) }</pre>;
}
* Readme: add Travis-CI badge so people can easily see there is tests
Following https://twitter.com/MoOx/status/776008513252392960
* Readme: add Travis-CI badge so people can easily see there is tests, round 2
* Check the app name before proceeding.
* Refactor.
* Use arrow function and template string.
* Remove comment.
* Rephrase the error.
* Add missing semicolons.
The regexes in the Jest `moduleNameMapper` configs were a bit too strict,
causing them to not pick up files with special characters like `@` in the
file path. Change them to match anything with the correct file extension.
* Warn about unsupported Node.js versions
Add the `engines` field to package.json so users of old Node.js versions
will at least get a warning when trying to install create-react-app or
react-scripts, e.g.:
npm WARN engine create-react-app@0.3.0: wanted: {"node":">=6"} (current: {"node":"4.2.3","npm":"2.14.7"})
* Remove duplicated field and extra whitespace
* Change the engine version back to 4
* Change http-proxy-middleware logLevel from silent to error
* provide onError handler for httpProxyMiddleware
* Send proper error reponse upon proxy error.