chore: add code formatting and linting (#952)
This commit is contained in:
@ -95,6 +95,16 @@ Runs all the CMS package tests.
|
||||
yarn test
|
||||
```
|
||||
|
||||
### `format`
|
||||
|
||||
Formats code and docs according to our style guidelines.
|
||||
|
||||
#### Usage
|
||||
|
||||
```sh
|
||||
yarn format
|
||||
```
|
||||
|
||||
## Pull Requests
|
||||
|
||||
We actively welcome your pull requests.
|
||||
@ -102,8 +112,8 @@ We actively welcome your pull requests.
|
||||
1. Fork the repo and create your branch from `master`.
|
||||
2. If you've added code that should be tested, add tests.
|
||||
3. If you've changed APIs, update the documentation.
|
||||
4. Ensure the test suite passes.
|
||||
5. Make sure your code lints.
|
||||
4. Run `yarn test` and ensure the test suite passes.
|
||||
5. Use `yarn format` to format and lint your code.
|
||||
6. PR's must be rebased before merge (feel free to ask for help)
|
||||
7. PR should be reviewed by two maintainers (@erquhart, @Benaiah, @tech4him1) prior to merging.
|
||||
|
||||
|
Reference in New Issue
Block a user