mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Add commands linting and test for contributing
This commit is contained in:
parent
334c36a87a
commit
c60b0e581d
15
README.md
15
README.md
@ -140,6 +140,21 @@ We are happy if you fork our repository, but we don't recommend it for developme
|
||||
|
||||
Clone this repository locally as [described above](#clone-the-repository), create your branch named `<issue-number>-<description>`, add your code and push your branch to this repository. Then create a PR by comparing it to our `master`.
|
||||
|
||||
Please run the following commands before you push:
|
||||
|
||||
```bash
|
||||
# in folder backend/
|
||||
$ yarn lint --fix
|
||||
$ yarn test
|
||||
```
|
||||
|
||||
```bash
|
||||
# in folder webapp/
|
||||
$ yarn lint --fix
|
||||
$ yarn locales --fix
|
||||
$ yarn test
|
||||
```
|
||||
|
||||
Check out our [contribution guideline](./CONTRIBUTING.md), too!
|
||||
|
||||
### Developer Chat
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user