Skip to content

Commit

Permalink
docs(contributing): add lint:fix step
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Jan 25, 2024
1 parent 307089c commit 55061c0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ Before submitting a pull request back to the main repository, please make sure y

1. Pull request base branch is set to `main`. All pull requests should be forked from and merged back to `main`
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:fix` 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
3. Run `npm run lint:fix` to automatically fix any ESLint errors
4. Run `npm run lint:prettier:fix` to automatically fix any Prettier errors
5. Run `npm run lint:licenses` if adding or updating production dependencies to check they use permissive licenses

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

## Issues

Expand Down

0 comments on commit 55061c0

Please sign in to comment.