Skip to content

Commit 44881fa

Browse files
committed
docs: update collaborator guide for lint script
1 parent 1dbaae5 commit 44881fa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Collaborator-Guide.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Open issues for the expressjs.com website in https://github.com/expressjs/expres
66
## PRs and Code contributions
77

88
* Tests must pass.
9-
* Follow the [JavaScript Standard Style](http://standardjs.com/).
9+
* Follow the [JavaScript Standard Style](http://standardjs.com/) and `npm run lint`.
1010
* If you fix a bug, add a test.
1111

1212
## Branches
@@ -27,7 +27,9 @@ a future release of Express.
2727
each new issue you work on, although not compulsory.
2828
4. To run the test suite, first install the dependencies by running `npm install`,
2929
then run `npm test`.
30-
5. If the tests pass, you can commit your changes to your fork and then create
30+
5. Ensure your code is linted by running `npm run lint` -- fix any issue you
31+
see listed.
32+
6. If the tests pass, you can commit your changes to your fork and then create
3133
a pull request from there. Make sure to reference your issue from the pull
3234
request comments by including the issue number e.g. `#123`.
3335

0 commit comments

Comments
 (0)