Skip to content

Commit

Permalink
Merge pull request #78 from Fdawgs/docs/contributing
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Dec 31, 2021
2 parents ada22c8 + 4e73240 commit 1580055
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ Titles and headings should adhere to the [Associated Press (AP)](https://www.aps
Prior to submitting a pull request back to the main repository, please make sure you have completed the following steps:

1. Pull request base branch is set to `master`. All pull requests should be forked from and merged back to `master`
2. Run `npm test` to check the code adheres to the defined style and that it passes the Jest tests
2. Run `npm test` to check the code adheres to the defined ESLint style and that it passes the Jest tests
3. Run `npm run lint:prettier` to run the Prettier code formatter over the code
4. Run `npm run lint:licenses` if adding or updating production dependencies to check they use permissive licenses

Step 2. is automatically run by a pre-commit hook added by [Husky](https://typicode.github.io/husky/#/).
Steps 2. and 4. are automatically run by a pre-commit hook added by [Husky](https://typicode.github.io/husky/#/).

## Issues

Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const fp = require("fastify-plugin");
* @author Frazer Smith
* @description Simple plugin that adds an `onRequest` hook to opt out of Google's FLoC
* advertising-surveillance network by setting the relevant response headers.
* @param {Function} server - Fastify instance.
* @param {object} server - Fastify instance.
*/
async function plugin(server) {
server.addHook("onRequest", async (req, reply) => {
Expand Down

0 comments on commit 1580055

Please sign in to comment.