Skip to content
Myr

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 file

Take it

The walk stopped after 200 commits: lines older than dc48f27 point at it.

deps: update example dependenciesDouglas Christopher Wilsonbefore adoptiondc48f27

lines 1–8why, one step back
1
2## 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 back
9* Follow the [JavaScript Standard Style](http://standardjs.com/) and `npm run lint`.

deps: update example dependenciesDouglas Christopher Wilsonbefore adoptiondc48f27

lines 10–13why, one step back
10* If you fix a bug, add a test.
1112## Branches13

docs: update collaborator guideRand McKinneybefore adoptionf3a47e3

lines 14–15why, one step back
14Use the `master` branch for bug fixes or minor work that is intended for the
15current release stream.

deps: update example dependenciesDouglas Christopher Wilsonbefore adoptiondc48f27

line 16why, one step back
16

docs: update collaborator guideRand McKinneybefore adoptionf3a47e3

lines 17–19why, one step back
17Use the correspondingly named branch, e.g. `5.0`, for anything intended for
18a future release of Express.19

deps: update example dependenciesDouglas Christopher Wilsonbefore adoptiondc48f27

lines 20–21why, one step back
20## Steps for contributing
21

docs: update collaborator guideRand McKinneybefore adoptionf3a47e3

lines 22–29why, one step back
221. [Create an issue](https://github.com/expressjs/express/issues/new) for the
23 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 back
305. Ensure your code is linted by running `npm run lint` -- fix any issue you
31 see listed.326. If the tests pass, you can commit your changes to your fork and then create

docs: update collaborator guideRand McKinneybefore adoptionf3a47e3

lines 33–34why, one step back
33 a pull request from there. Make sure to reference your issue from the pull
34 request comments by including the issue number e.g. `#123`.

deps: update example dependenciesDouglas Christopher Wilsonbefore adoptiondc48f27

lines 35–37why, one step back
35
36## Issues which are questions37

docs: update collaborator guideRand McKinneybefore adoptionf3a47e3

lines 38–40why, one step back
38We will typically close any vague issues or questions that are specific to some
39app you are writing. Please double check the docs and other references before40being trigger happy with posting a question issue.

deps: update example dependenciesDouglas Christopher Wilsonbefore adoptiondc48f27

lines 41–48why, one step back
41
42Things 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.48

docs: update collaborator guideRand McKinneybefore adoptionf3a47e3

lines 49–50why, one step back
49If you post a question and do not outline the above items or make it easy for
50us to understand and reproduce your issue, it will be closed.