Skip to content

Latest commit

 

History

History
68 lines (42 loc) · 2.38 KB

CONTRIBUTING.md

File metadata and controls

68 lines (42 loc) · 2.38 KB

Contributing

Thank you for contributing! We are grateful for any community participation.

Code of Conduct

This project is governed by the Code of Conduct. By contributing, you agree to uphold this code.

How Can I Contribute?

Developing

  • npm run test: Run tests
  • npm run test:coverage: Create coverage reports
  • npm run lint: Check styleguide adherence
  • npm run format: Automatically adjust your code to the styleguide.
  • npm run build: Build the source

Reporting Issues

Before Submitting

  • Perform a quick search to see if the issue has already been reported. If it has and it's still open, add a comment instead of opening a new issue.

Writing a Submission

  • Use a clear and descriptive title to identify the problem.
  • Describe why this is an issue, such as its impact and scope.
  • Provide exact steps to reproduce in as much detail as possible.
  • Give expected vs actual results of following these steps.

Suggesting Ideas

Before Suggesting

  • Check the documentation to see if the feature is already included.
  • Perform a quick search to see if the idea is already suggested.

Pull Requests

Tests

  • Include sufficient tests
  • Add new tests when adding new features.
  • Update existing tests to reflect code changes.
  • When fixing a bug, add tests that highlight how the behavior was broken.
  • Make sure all tests pass before submitting the pull request
  • Please do not include changes to dist/ in your pull request. This should only be updated when releasing a new version.

Styleguides

Git Commit Messages

Please follow conventional commits.

Typescript Styleguide

Styling is enforced by ESLint, Prettier and typescript-eslint.

  • Run npm run lint to test styleguide adherence.
  • Run npm run format to automatically adjust your code to the styleguide.

Thanks again for contributing!