Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 3.02 KB

CONTRIBUTING.md

File metadata and controls

71 lines (46 loc) · 3.02 KB

Contributing

Thanks for considering contributing and making our planet easier to explore!

We're excited you would like to contribute to Cumulus! Whether you're finding bugs, adding new features, fixing anything broken, or improving documentation, get started by submitting an issue or pull request!

Submitting an Issue

If you have any questions or ideas, or notice any problems or bugs, first search open issues to see if the issue has already been submitted. We may already be working on the issue. If you think your issue is new, you're welcome to create a new issue.

Pull Requests

If you want to submit your own contributions, follow these steps described here.

Guidelines

We ask that you follow these guidelines with your contributions:

Documentation

Anything exported by a module must be documented using JSDoc.

The following JSDoc rules are enforced by our eslint configuration:

  • Use the @param tag instead of @arg
  • Use the @returns tag instead of @return
  • Preferred param types:
    • "boolean" instead of "Boolean"
    • "number" instead of "Number"
    • "string" instead of "String"
    • "Object" instead of "object"
    • "Array" instead of "array"
    • "Date" instead of "date"
    • "RegExp" instead of "regex" or "Regexp"
    • "Promise" instead of "promise"
  • @param tags should have a type and a name. Example: @param {string} username
  • Functions that explicitly return should have a @returns tag that has a type. Example: @returns {string}
  • Parameter names must match those in the function declaration
  • Tags must be valid JSDoc 3 Block Tags

Tests

All of the automated tests for this project need to pass before your submission will be accepted.

To run the localized unit tests, follow the instructions in the README

To run the lint/audit checks, please read this.

If you add new functionality, please consider adding tests for that functionality as well.

Commits

  • Make small commits that show the individual changes you are making
  • Write descriptive commit messages that explain your changes

Example of a good commit message;

Improve contributing guidelines. Fixes #10

Improve contributing docs and consolidate them in the standard location https://help.github.com/articles/setting-guidelines-for-repository-contributors/

Changelog

Changes should be documented in CHANGELOG.md. Update the changelog with a description of the changes, including the JIRA issue number. The format should follow this standard.