Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.46 KB

CONTRIBUTING.md

File metadata and controls

55 lines (36 loc) · 1.46 KB

Contributing Guide

Contributions are welcome and are greatly appreciated! Every little bit helps, and credit will always be given.

Issues Request Guidelines

Before you submit an issue, check that it meets these guidelines:

  • specify the version of tcomb-form-native you are using
  • specify the version of react-native you are using
  • if the issue regards a bug, please provide a minimal failing example / test

Pull Request Guidelines

Before you submit a pull request from your forked repo, check that it meets these guidelines:

  1. If the pull request fixes a bug, it should include tests that fail without the changes, and pass with them.
  2. If the pull request adds functionality, the docs should be updated as part of the same PR.
  3. Please rebase and resolve all conflicts before submitting.

Setting up your environment

After forking tcomb-form-native to your own github org, do the following steps to get started:

# clone your fork to your local machine
git clone https://github.com/gcanti/tcomb-form-native.git

# step into local repo
cd tcomb-form-native

# install dependencies
npm install

Running Tests

npm test

Style & Linting

This codebase adheres to a custom style and is enforced using ESLint.

It is recommended that you install an eslint plugin for your editor of choice when working on this codebase, however you can always check to see if the source code is compliant by running:

npm run lint