Contributing to Onlook
We welcome contributions to Onlook! This guide will help you get started with contributing to the project.
When contributing to this repository, please first discuss the change you wish to make via issues, Discord, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
Pull Request Process
- To create a Pull Request (PR), create a fork of the project.
- Create your changes in your fork and open a PR from that fork.
-
Update the PR description with details of the changes. Link the issue if relevant.
-
Be sure to check the box to "Allow edits from maintainer". This allows maintainers to update your PR if necessary which speeds up the review process. See more here.
- Request a review of one of the maintainers. Once accepted, they will be able to merge your PR.
Style guide
We try to follow guidelines from Clean Code and the boy scoute rule:
"Leave the code cleaner, not messier, than how you found it".
Building and running
You can build the project from source using instructions here.
Testing
We use Bun for testing.
Linting
We use ESLint for linting and Prettier for formatting. This runs on every commit.