Skip to content

Commit

Permalink
docs(contributing): add step for lint:licenses script
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Dec 31, 2021
1 parent ada22c8 commit e0d78c8
Showing 1 changed file with 3 additions and 2 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

0 comments on commit e0d78c8

Please sign in to comment.