diff --git a/code-of-conduct.md b/code-of-conduct.md index 670cd45..47ed9d1 100644 --- a/code-of-conduct.md +++ b/code-of-conduct.md @@ -2,12 +2,13 @@ ## Our pledge -In the interest of fostering an open and welcoming environment, -we as contributors and maintainers pledge to making participation in our -collective and our community a harassment-free experience for everyone, +We as members, +contributors, +and leaders pledge to make participation in our community a harassment-free +experience for everyone, regardless of age, body size, -disability, +visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, @@ -17,67 +18,73 @@ socio-economic status, nationality, personal appearance, race, +caste, +color, religion, or sexual identity and orientation. +We pledge to act and interact in ways that contribute to an open, +welcoming, +diverse, +inclusive, +and healthy community. + ## Our standards -Examples of behavior that contributes to creating a positive environment -include: +Examples of behavior that contributes to a positive environment for our +community include: -* using welcoming and inclusive language -* being respectful of differing viewpoints and experiences -* gracefully accepting constructive criticism -* focusing on what is best for the community -* showing empathy towards other community members +* demonstrating empathy and kindness toward other people +* being respectful of differing opinions, + viewpoints, + and experiences +* giving and gracefully accepting constructive feedback +* accepting responsibility and apologizing to those affected by our mistakes, + and learning from the experience +* focusing on what is best not just for us as individuals, + but for the overall community -Examples of unacceptable behavior by participants include: +Examples of unacceptable behavior include: -* the use of sexualized language or imagery and unwelcome sexual attention or - advances +* the use of sexualized language or imagery, + and sexual attention or advances of any kind * trolling, - insulting/derogatory comments, + insulting or derogatory comments, and personal or political attacks * public or private harassment * publishing others’ private information, - such as a physical or electronic address, - without explicit permission + such as a physical or email address, + without their explicit permission * other conduct which could reasonably be considered inappropriate in a professional setting -## Our responsibilities +## Enforcement responsibilities -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. +Community leaders are responsible for clarifying and enforcing our standards of +acceptable behavior and will take appropriate and fair corrective action in +response to any behavior that they deem inappropriate, +threatening, +offensive, +or harmful. -Maintainers have the right and responsibility to edit, -delete, -hide, -or lock code, -comments, +Community leaders have the right and responsibility to remove, +edit, +or reject comments, commits, -edits, +code, +wiki edits, issues, -posts, -pull requests, 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. +and will communicate reasons for moderation decisions when appropriate. ## Scope -This code of conduct applies both within collective spaces and in public spaces -when an individual is representing the collective or its community. -Examples of representing a collective or community include using an official -collective email address, +This code of conduct applies within all community spaces, +and also applies when an individual is officially representing the community in +public spaces. +Examples of representing our community include using an official email address, posting via an official social media account, or acting as an appointed representative at an online or offline event. -Representation of the collective may be further defined and clarified by -maintainers. ## Enforcement @@ -91,44 +98,97 @@ or by contacting individual moderators via `richard@unifiedjs.com`, which will go only to Richard Littauer, or to `olivia@unifiedjs.com`, which will go only to Olivia Hugger. -All complaints will be reviewed and investigated and will result in a response -that is deemed necessary and appropriate to the circumstances. -The moderation team is obligated to maintain confidentiality with regard to the -reporter of an incident. -Further details of specific enforcement policies may be posted separately. - -Maintainers who do not follow or enforce the code of conduct in good faith may -face temporary or permanent repercussions as determined by other members of the -collective leadership. - -In cases where community members transgress against the values in the code of -conduct, -members of the moderation team will use a three-strike warning system, -where the aggressor will be warned twice before they are permanently excluded -from our community spaces. -This code applies to GitHub, -Twitter, -and any other space that this community uses for communication. -For interactions between community members outside of this space, -the code also applies if the interactions are reported and deemed to be -interfering with community members safely working on the collective together. -Conversations between moderators (when they are more serious than discussing -simple warnings) will occur in private repositories or through email, -to ensure both anonymity for reporters and the safety of the moderators. +All complaints will be reviewed and investigated promptly and fairly. + +All community leaders are obligated to respect the privacy and security of the +reporter of any incident. For more information on how to report violations and how the code of conduct is enforced, -see our [moderation policy][moderation]. +see our [moderation policy][unified-moderation-policy]. + +## Enforcement guidelines + +Community leaders will follow these community impact guidelines in determining +the consequences for any action they deem in violation of this code of conduct: + +### 1. Correction + +**Community impact**: +use of inappropriate language or other behavior deemed unprofessional or +unwelcome in the community. + +**Consequence**: +a private, +written warning from community leaders, +providing clarity around the nature of the violation and an explanation of why +the behavior was inappropriate. +A public apology may be requested. + +### 2. Warning + +**Community impact**: +a violation through a single incident or series of actions. + +**Consequence**: +a warning with consequences for continued behavior. +No interaction with the people involved, +including unsolicited interaction with those enforcing the code of conduct, +for a specified period of time. +This includes avoiding interactions in community spaces as well as external +channels like social media. +Violating these terms may lead to a temporary or permanent ban. + +### 3. Temporary ban + +**Community impact**: +a serious violation of community standards, +including sustained inappropriate behavior. + +**Consequence**: +a temporary ban from any sort of interaction or public communication with the +community for a specified period of time. +No public or private interaction with the people involved, +including unsolicited interaction with those enforcing the code of conduct, +is allowed during this period. +Violating these terms may lead to a permanent ban. + +### 4. Permanent ban + +**Community impact**: +demonstrating a pattern of violation of community standards, +including sustained inappropriate behavior, +harassment of an individual, +or aggression toward or disparagement of classes of individuals. + +**Consequence**: +a permanent ban from any sort of public interaction within the community. ## Attribution -This code of conduct is adapted from the [Contributor Covenant][homepage], -version 1.4, -available at +This code of conduct is adapted from the +[contributor covenant][covenant-homepage], +version 2.1, +available at +[`www.contributor-covenant.org/version/2/1/code_of_conduct/`][covenant-latest]. + +Community impact guidelines were inspired by +[Mozilla’s code of conduct enforcement ladder][mozilla-coc]. For answers to common questions about this code of conduct, -see +see the FAQ at +[`www.contributor-covenant.org/faq`][covenant-faq]. +Translations are available at +[`www.contributor-covenant.org/translations`][covenant-translations]. + +[covenant-faq]: https://www.contributor-covenant.org/faq/ + +[covenant-homepage]: https://www.contributor-covenant.org + +[covenant-latest]: https://www.contributor-covenant.org/version/2/1/code_of_conduct/ + +[covenant-translations]: https://www.contributor-covenant.org/translations/ -[homepage]: https://www.contributor-covenant.org +[mozilla-coc]: https://github.com/mozilla/inclusion -[moderation]: https://github.com/unifiedjs/collective/blob/HEAD/moderation.md +[unified-moderation-policy]: https://github.com/unifiedjs/collective/blob/main/moderation.md