Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 2.3 KB

CONTRIBUTING.md

File metadata and controls

61 lines (43 loc) · 2.3 KB

Have a question?

Please ask questions on Stack Overflow instead of opening a Github Issue. There are more people on Stack Overflow who can answer questions, and good answers can be searchable and canonical.

Issues

We use GitHub issues to track bugs. Please ensure your bug description is clear and has sufficient instructions to be able to reproduce the issue.

The absolute best way to report a bug is to submit a pull request including a new failing test which describes the bug. When the bug is fixed, your pull request can then be merged!

The next best way to report a bug is to provide a reduced test case on jsFiddle or jsBin or produce exact code inline in the issue which will reproduce the bug.

Facebook has a bounty program for the safe disclosure of security bugs. In those cases, please go through the process outlined on that page and do not file a public issue.

Pull Requests

All active development of Immutable JS happens on GitHub. We actively welcome your pull requests.

  1. Fork the repo and create your branch from master.
  2. Install all dependencies. (npm install)
  3. If you've added code, add tests.
  4. If you've changed APIs, update the documentation.
  5. Build generated JS, run tests and ensure your code passes lint. (npm run build && npm run test)
  6. Be sure to commit the generated JS in /dist.
  7. If you haven't already, complete the Contributor License Agreement ("CLA").

Documentation

Documentation for Immutable.js (hosted at http://facebook.github.io/immutable-js) is developed in pages/. Run npm start to get a local copy in your browser while making edits.

Contributor License Agreement ("CLA")

In order to accept your pull request, we need you to submit a CLA. You only need to do this once to work on any of Facebook's open source projects.

Complete your CLA here: https://code.facebook.com/cla

Coding Style

  • 2 spaces for indentation (no tabs)
  • 80 character line length strongly preferred.
  • Prefer ' over "
  • ES6 Harmony when possible.
  • Use semicolons;
  • Trailing commas,
  • Avd abbr wrds.

License

By contributing to Immutable.js, you agree that your contributions will be licensed under its BSD license.