Collaborator-Guide.md
This file
Path
Collaborator-Guide.md
50 lines · 1.9 KiB · Markdown
Last changed by
docs: update collaborator guide for lint scriptDouglas Christopher Wilsonbefore adoption44881fa
History of this fileTake it
The walk stopped after 200 commits: lines older than 51f5290 point at it.
Fix case where router.use skipped requests routes did notDouglas Christopher Wilsonbefore adoption51f5290
lines 1–8why, one step back12## Website Issues34Open issues for the expressjs.com website in https://github.com/expressjs/expressjs.com.56## PRs and Code contributions78* Tests must pass.docs: update collaborator guide for lint scriptDouglas Christopher Wilsonbefore adoption44881fa
line 9why, one step back9* Follow the [JavaScript Standard Style](http://standardjs.com/) and `npm run lint`.Fix case where router.use skipped requests routes did notDouglas Christopher Wilsonbefore adoption51f5290
lines 10–29why, one step back10* If you fix a bug, add a test.1112## Branches1314Use the `master` branch for bug fixes or minor work that is intended for the15current release stream.1617Use the correspondingly named branch, e.g. `5.0`, for anything intended for18a future release of Express.1920## Steps for contributing21221. [Create an issue](https://github.com/expressjs/express/issues/new) for the23 bug you want to fix or the feature that you want to add.242. Create your own [fork](https://github.com/expressjs/express) on github, then25 checkout your fork.263. Write your code in your local copy. It's good practice to create a branch for27 each new issue you work on, although not compulsory.284. To run the test suite, first install the dependencies by running `npm install`,29 then run `npm test`.docs: update collaborator guide for lint scriptDouglas Christopher Wilsonbefore adoption44881fa
lines 30–32why, one step back305. Ensure your code is linted by running `npm run lint` -- fix any issue you31 see listed.326. If the tests pass, you can commit your changes to your fork and then createFix case where router.use skipped requests routes did notDouglas Christopher Wilsonbefore adoption51f5290
lines 33–50why, one step back33 a pull request from there. Make sure to reference your issue from the pull34 request comments by including the issue number e.g. `#123`.3536## Issues which are questions3738We will typically close any vague issues or questions that are specific to some39app you are writing. Please double check the docs and other references before40being trigger happy with posting a question issue.4142Things that will help get your question issue looked at:4344* Full and runnable JS code.45* Clear description of the problem or unexpected behavior.46* Clear description of the expected result.47* Steps you have taken to debug it yourself.4849If you post a question and do not outline the above items or make it easy for50us to understand and reproduce your issue, it will be closed.