Create CODE_OF_CONDUCT.md

This Code of Conduct is based on the Rust Code of Conduct, which is adapted from the Node.js Policy on Trolling as well as the Contributor Covenant version 1.3; and also the WeAllJS Code of Conduct, which is itself based on Contributor Covenant version 1.4, and the LGBTQ in Technology Slack Code of Conduct

Rust Code of Conduct: https://www.rust-lang.org/policies/code-of-conduct
Node.js Policy on Trolling: http://blog.izs.me/post/30036893703/policy-on-trolling
Contributor Covenant version 1.3: https://www.contributor-covenant.org/version/1/3/0/code-of-conduct/
WeAllJS Code of Conduct: https://wealljs.org/code-of-conduct
Contributor Covenant version 1.4: https://www.contributor-covenant.org/version/1/4/code-of-conduct/
LGBTQ in Technology Slack Code of Conduct: http://lgbtq.technology/coc.html
This commit is contained in:
stefee 2020-08-19 05:25:02 +01:00 committed by GitHub
parent 7d1d9dcd13
commit 900126b3bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

71
CODE_OF_CONDUCT.md Normal file
View file

@ -0,0 +1,71 @@
# Code of Conduct
## When something happens
If you see a violation of our community's standards of [Conduct](#conduct), follow these steps:
1. Let the person know that what they did is not appropriate and ask them to stop and/or edit their messages.
2. That person should immediately stop the behavior and correct the issue.
3. If this doesnt happen, or if you're uncomfortable speaking up, contact the maintainers.
4. As soon as available, a maintainer will look into the issue, and take further action, starting with a warning, then temporary block, then long-term repo or organization ban.
When reporting, please include any relevant details, links, screenshots, context, or other information that may be used to better understand and resolve the situation.
The maintainers will prioritize the well-being and comfort of the recipients of the violation over the comfort of the violator.
## Moderation
These are the policies for upholding our communitys standards of [Conduct](#conduct). If you feel that a thread needs moderation, please contact the maintainers.
1. Remarks that violate the community standards of conduct, including hateful, hurtful, oppressive, or exclusionary remarks, are not allowed. (Cursing is allowed, but never targeting another user, and never in a hateful manner).
2. Remarks that moderators find inappropriate, whether listed in the code of conduct or not, are also not allowed.
3. Moderators will first respond to such remarks with a warning.
4. If the warning is unheeded, the user will be “kicked,” i.e., kicked out of the communication channel to cool off.
5. If the user comes back and continues to make trouble, they will be banned, i.e., indefinitely excluded.
6. Moderators may choose at their discretion to un-ban the user if it was a first offense and they offer the offended party a genuine apology.
7. If a moderator bans someone and you think it was unjustified, please take it up with that moderator, or with a different moderator, in private. Complaints about bans in-channel are not allowed.
8. Moderators are held to a higher standard than other community members. If a moderator creates an inappropriate situation, they should expect less leeway than others.
The enforcement policies in the code of conduct apply to all official venues, including Discord channels, GitHub repositories, the Twitter community and all other forums.
## Conduct
* We are committed to providing a friendly, safe and harassment-free environment for all, regardless of level of experience, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, nationality, or other similar characteristic.
* Please avoid using overtly sexual aliases or other nicknames that might detract from a friendly, safe and welcoming environment for all.
* Please be kind and courteous. Theres no need to be mean or rude.
* Respect that people have differences of opinion and that every design or implementation choice carries a trade-off and numerous costs. There is seldom a right answer.
* Please keep unstructured critique to a minimum. If you have solid ideas you want to experiment with, make a fork and see how it works.
* We will exclude you from interaction if you insult, demean or harass anyone. That is not welcome behavior. Please read our definition of [Harassment](#harassment). In particular, we dont tolerate behavior that excludes people in socially marginalized groups.
* Private harassment is also unacceptable. No matter who you are, if you feel you have been or are being harassed or made uncomfortable by a community member, please contact the maintainers immediately. Whether youre a regular contributor or a newcomer, we care about making this community a safe place for you and weve got your back.
* Do not make casual mention of slavery or indentured servitude and/or false comparisons of one's occupation or situation to slavery. Please consider using or asking about alternate terminology when referring to such metaphors in technology.
* Likewise any spamming, trolling, flaming, baiting or other attention-stealing behavior is not welcome.
In this community we strive to go the extra step to look out for each other. Dont just aim to be technically unimpeachable, try to be your best self. In particular, avoid flirting with offensive or sensitive issues, particularly if theyre off-topic; this all too often leads to unnecessary fights, hurt feelings, and damaged trust; worse, it can drive people away from the community entirely.
And if someone takes issue with something you said or did, resist the urge to be defensive. Just stop doing what it was they complained about and apologize. Even if you feel you were misinterpreted or unfairly accused, chances are good there was something you couldve communicated better — remember that its your responsibility to make your fellow Rustaceans comfortable. Everyone wants to get along and we are all here first and foremost because we want to talk about cool technology. You will find that people will be eager to assume good intent and forgive as long as you earn their trust.
## Harassment
_Our definition of harassment is based on the [Citizen Code of Conduct](https://github.com/stumpsyn/policies/blob/master/citizen_code_of_conduct.md) and the [WeAllJS Code of Conduct](https://wealljs.org/code-of-conduct)._
The following behaviors are considered harassment and are unacceptable within our community:
* Violence, threats of violence or violent language directed against another person.
* Sexist, racist, homophobic, transphobic, ableist or otherwise discriminatory jokes and language.
* Posting or displaying sexually explicit or violent material.
* Posting or threatening to post other people's personally identifying information ("doxing"). This includes any sort of "outing" of any aspect of someone's identity without their consent.
* Personal insults, particularly those related to gender, sexual orientation, race, religion, or disability.
* Inappropriate photography or recording.
* Inappropriate physical contact. You should have someone's consent before touching them.
* Unwelcome sexual attention, including when simulated online. This includes, sexualized comments or jokes; inappropriate touching, groping, and unwelcomed sexual advances.
* The use of sexualized language or imagery. The only exception to sexual topics is channels/spaces specifically for topics of sexual identity.
* Deliberate intimidation, stalking or following (online or in person).
* Making light of/making mocking comments about trigger warnings and content warnings.
* Any of the above behaviour even when presented as "ironic" or "joking".
* Any attempt to present "reverse-ism" versions of the above as violations. Examples of reverse-isms are "reverse racism", "reverse sexism", "heterophobia", and "cisphobia".
* Advocating for, or encouraging, any of the above behavior.
* Sustained disruption of community events, including talks and presentations.
## Attribution
This Code of Conduct is based on the [Rust Code of Conduct](https://www.rust-lang.org/policies/code-of-conduct), which is adapted from the [Node.js Policy on Trolling](http://blog.izs.me/post/30036893703/policy-on-trolling) as well as the [Contributor Covenant version 1.3](https://www.contributor-covenant.org/version/1/3/0/code-of-conduct/); and also the [WeAllJS Code of Conduct](https://wealljs.org/code-of-conduct), which is itself based on [Contributor Covenant version 1.4](https://www.contributor-covenant.org/version/1/4/code-of-conduct/), and the LGBTQ in Technology Slack [Code of Conduct](http://lgbtq.technology/coc.html).