chore: add a npm run check to make it easier to run all the web lint/fmt/etc locally

This commit is contained in:
Gabe Kangas
2026-02-04 13:42:19 -08:00
parent f03f7a43dc
commit 213ba5fd7e
3 changed files with 26 additions and 4 deletions
+15
View File
@@ -7,3 +7,18 @@ We abide by our [Code of Conduct](https://owncast.online/contribute/) and feel s
We’ve been very lucky to have this so far, so maybe you can help us with your skills and passion, too!
There is a larger, more detailed, and more up-to-date [guide for helping contribute to Owncast on our website](https://owncast.online/help/).
## Before Submitting a PR
For web changes, from the `web/` directory:
```bash
npm run check # Verify your code will pass CI
npm run lint && npm run format # Auto-fix errors
```
For Go changes, from the repository root:
```bash
make lint && make fmt
```