Contributing

MeijiDAO is private project yet. If you want to contribute to the project, you need to receive git invitation from MeijiDAO support team after registered as team member 🥞

Before starting any development, we highly encourage you to submit an issue on Githubarrow-up-right in order to discuss the problem, and the solution with the team.

Setup your dev environment

Install yarnarrow-up-right If you haven't.

  1. Fork and clone the repositoryarrow-up-right

    $ git clone [fork_repo_url]
  2. Add upstreamarrow-up-right remote. E.g.

    $ git remote add upstream git@github.com:zoinkswap/zoinks-frontend.git
  3. Make sure you have the latest version of the default branch ( develop )

    $ git checkout develop
    $ git pull upstream develop
  4. Create your own branch and install dependencies

    $ git checkout -b branch-name
    $ yarn
  5. Happy coding 🎉

Coding rules

We try to maintain as much consistency as we can between each of our repository. Your pull request has more chances to be accepted if you follow the following rules, and write high quality code. Let's get started 💪

Use the tools!

Most of our repos use Typescriptarrow-up-right, ESLintarrow-up-right, and Prettierarrow-up-right. Make sure you're familiar with Typescript’s best practices and enable an ESLint and Prettier plugin for your IDE.

circle-exclamation

Some good practices

Creating your pull request

Your code is ready to be submitted for review, congratulations🥳

  • All pull requests must have a description of what the PR is trying to accomplish.

  • Keep pull requests as small as possible. Larger pull requests should be broken up into smaller chunks with a dedicated base branch. Please tag the PR's that are merging into your base branch with the epic tag.

  • If possible self-review your PR and add comments where additional clarification is needed.

circle-info

Create a draft PRarrow-up-right as soon as possible so we can view your ongoing progress.

Pull Request Title

Our Pull Request Title follow Conventional Commitsarrow-up-right using commitlintarrow-up-right.‌

Type
Description

build

Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)

ci

Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)

docs

Documentation only changes

feat

A new feature

fix

A bug fix

perf

A code change that improves performance

refactor

A code change that neither fixes a bug nor adds a feature

style

Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)

test

Adding missing tests or correcting existing tests

Please jump into the MeijiDAO expand as a regular team member

Last updated