UNPKG

4.18 kBMarkdownView Raw
1# Contributing
2
3When contributing to this repository, please first discuss the change you wish to make via [slack](https://bit.ly/ts-jest-slack) or [issue](https://github.com/kulshekhar/ts-jest/issues) with the owners of this repository before making a change.
4
5Please note we have a code of conduct, please follow it in all your interactions with the project.
6
7## Pull Request Process
8
91. Ensure the tests are passing and that you have latest `master` branch merged in.
102. Update the `docs/` with details of your changes if required.
113. If possible, squash your commits. There must be only one commit in your PR (until a review). Then after each review requesting changes, DO NOT squash your commits with the one before the review, so that we can see intermediate modifications.
124. You may merge the Pull Request in once you have the sign-off of two other developers, or if you do not have permission to do that, you may request the second reviewer to merge it for you.
13
14## Code of Conduct
15
16### Our Pledge
17
18In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
19
20### Our Standards
21
22Examples of behavior that contributes to creating a positive environment include:
23
24* Using welcoming and inclusive language
25* Being respectful of differing viewpoints and experiences
26* Gracefully accepting constructive criticism
27* Focusing on what is best for the community
28* Showing empathy towards other community members
29
30Examples of unacceptable behavior by participants include:
31
32* The use of sexualized language or imagery and unwelcome sexual attention or advances
33* Trolling, insulting/derogatory comments, and personal or political attacks
34* Public or private harassment
35* Publishing others' private information, such as a physical or electronic address, without explicit permission
36* Other conduct which could reasonably be considered inappropriate in a professional setting
37
38### Our Responsibilities
39
40Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
41
42Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
43
44### Scope
45
46This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
47
48### Enforcement
49
50Instances of abusive, harassing, or otherwise unacceptable behavior may be
51reported by contacting the project team at kulshekhar@gmail.com. All
52complaints will be reviewed and investigated and will result in a response that
53is deemed necessary and appropriate to the circumstances. The project team is
54obligated to maintain confidentiality with regard to the reporter of an incident.
55Further details of specific enforcement policies may be posted separately.
56
57Project maintainers who do not follow or enforce the Code of Conduct in good
58faith may face temporary or permanent repercussions as determined by other
59members of the project's leadership.
60
61### Attribution
62
63This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
64available at [http://contributor-covenant.org/version/1/4][version]
65
66[homepage]: http://contributor-covenant.org
67[version]: http://contributor-covenant.org/version/1/4/