Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.72 KB

CONTRIBUTING.md

File metadata and controls

40 lines (25 loc) · 1.72 KB

Getting Started

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

First, create a fork of the hyperpress/logicalphase repo by hitting the fork button on the GitHub page.

Next, clone your fork onto your computer with this command (replacing YOUR_USERNAME with your actual GitHub username)

git clone git@github.com:YOUR_USERNAME/logicalphase.git

Once cloning is complete, change directory to the repo.

cd logicalphase

Preparing Your Local Environment for Development

Now that you have cloned the repository, run the following commands to set up the development environment.

yarn install

This will download and install all packages needed.

Making Your Changes

Make your changes to the project. Commits are linted using precommit hooks, meaning that any code that raises linting error cannot be committed. In order to help avoid that, we recommend using an IDE or editor with an eslint plugin in order to streamline the development process. Plugins are available for all the popular editors. For more information see ESLint Integrations

Committing Your Changes

Logical Phase uses commitlint to standardize commit messages in the project. Commit messages must follow the conventional commit format Logical Phase uses package name as scope. So for example if you fix a terrible bug in the package @logicalphase/testing, the commit message should look like this:

fix(testing): fix terrible bug