Skip to content

Latest commit

 

History

History
85 lines (53 loc) · 2.24 KB

CONTRIBUTING.md

File metadata and controls

85 lines (53 loc) · 2.24 KB

We 💜 contributions

While we love contributions, we also need to ensure that our library is of great quality. Thus we require you to follow some simple guidelines when you're submitting your contributions.

Reporting Issues and Asking Questions

Before opening an issue, please search the issue tracker to make sure your issue hasn’t already been reported.

Development

Visit the issue tracker to find a list of open issues that need attention.

Fork, then clone the repo:

git clone https://github.com/oesukam/drc-data.git

Branch Naming

Branches created should be named using the following format:

{type}-{2-3 word summary separated with hyphen}

Type:

  • feat: For new features
  • bug: Fixing bugs
  • chore: Refactoring, improving the code or the documentation

Example:

chore-improve-readme

Testing

To run tests:

npm run test // Will run tests once

To continuously watch and run tests, run the following:

npm run test:watch

Linting

To Lint

npm run lint

Quality insurance

The build command should handle it but always run the lint command to ensure we are all developing with the same code standards.

Submitting a Pull Request

For non-trivial changes, please open an issue with a proposal for a new feature or refactoring before starting on the work. We don’t want you to waste your efforts on a pull request that we won’t want to accept.

On the other hand, sometimes the best way to start a conversation is to send a pull request. Use your best judgement!

  1. Open a new issue in the Issue tracker
  2. Fork the repo
  3. Create a new feature branch based off the master branch
  4. Create breaking test(s) before implementing any fixes or functionality
  5. Make your changes
  6. Submit a pull request, referencing any issue that it resolves

PR Description Template

Template

Contributor Code of Conduct

Code of Conduct is adapted from Contributor Covenant, version 2.0

Thank you, we 💜 your contributions!