Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 2.31 KB

CONTRIBUTING.md

File metadata and controls

54 lines (34 loc) · 2.31 KB

Contributing to Jotform DND Builder

We'd love for you to contribute to our source code and to make Jotform DND Builder even better than it is today! Here are the guidelines we'd like you to follow:

Issues and Bugs

Where to Find Known Issues

We will be using GitHub Issues for our public bugs. We will keep a close eye on this and try to make it clear when we have an internal fix in progress. Before filing a new task, try to make sure your problem doesn't already exist.

Reporting New Issues

The best way to get your bug fixed is to provide a reduced test case. CodeSandbox provide a way to give live examples.

Pull Requests

Working on your first Pull Request? You can learn how from this free series How to Contribute to an Open Source Project on GitHub

Before submitting a pull request, please make sure the following is done…

  • Search GitHub for an open or closed Pull Request that relates to your submission. You don't want to duplicate effort.

  • Fork the repo and create your branch from master.

  • If you've added code that should be tested, add tests!

  • If you've changed APIs, update the documentation.

  • Ensure the test suite passes (yarn test).

  • Make sure your code lints (yarn lint) - we've done our best to make sure these rules match our internal linting guidelines.

  • Write visual tests for new features by adding them in the stories directory. Run storybooks (yarn storybook) and check out changes.

Code Guide

Our linter will catch most styling issues that may exist in your code. You can check the status of your code styling by simply running: yarn run lint

However, there are still some styles that the linter cannot pick up.

Code Conventions

  • Use semicolons ;
  • Commas last ,
  • 2 spaces for indentation (no tabs)
  • Prefer ' over "
  • 100 character line length
  • Write "attractive" code

License

By contributing to Jotform DND Builder, you agree that your contributions will be licensed under its MIT license.