UNPKG

1.65 kBMarkdownView Raw
1# Contributing to jscodeshift
2We want to make contributing to this project as easy and transparent as
3possible.
4
5## Code of Conduct
6The code of conduct is described in [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md)
7
8## Our Development Process
9The majority of development on jscodeshift will occur through GitHub. Accordingly,
10the process for contributing will follow standard GitHub protocol.
11
12## Pull Requests
13We actively welcome your pull requests.
14
151. Fork the repo and create your branch from `master`.
162. If you've added code that should be tested, add tests.
173. If you've changed APIs, update the documentation.
184. Ensure the test suite passes.
195. Make sure your code lints.
206. If you haven't already, complete the Contributor License Agreement ("CLA").
21
22## Contributor License Agreement ("CLA")
23In order to accept your pull request, we need you to submit a CLA. You only need
24to do this once to work on any of Facebook's open source projects.
25
26Complete your CLA here: <https://code.facebook.com/cla>
27
28## Issues
29We use GitHub issues to track public bugs. Please ensure your description is
30clear and has sufficient instructions to be able to reproduce the issue.
31
32Facebook has a [bounty program](https://www.facebook.com/whitehat/) for the safe
33disclosure of security bugs. In those cases, please go through the process
34outlined on that page and do not file a public issue.
35
36## Coding Style
37* Use semicolons;
38* Commas last,
39* 2 spaces for indentation (no tabs)
40* Prefer `'` over `"`
41* `'use strict';`
42* 80 character line length
43* "Attractive"
44
45### License
46
47jscodeshift is [MIT licensed](./LICENSE).