From 7b762a53fc9b03b921c0b1ca0ce9b3a77488d81b Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 20 Nov 2024 11:54:59 +0100 Subject: [PATCH 1/4] Add Contributor Covenant 2.1 --- code-of-conduct.md | 236 ++++++++++++++++++++++----------------------- 1 file changed, 117 insertions(+), 119 deletions(-) diff --git a/code-of-conduct.md b/code-of-conduct.md index 670cd45..67fe8ce 100644 --- a/code-of-conduct.md +++ b/code-of-conduct.md @@ -1,134 +1,132 @@ -# Code of conduct - -## 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, -regardless of age, -body size, -disability, -ethnicity, -sex characteristics, -gender identity and expression, -level of experience, -education, -socio-economic status, -nationality, -personal appearance, -race, -religion, -or sexual identity and orientation. - -## Our standards - -Examples of behavior that contributes to creating a positive environment -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 - -Examples of unacceptable behavior by participants include: - -* the use of sexualized language or imagery and unwelcome sexual attention or - advances -* trolling, - insulting/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 -* other conduct which could reasonably be considered inappropriate in a +# Contributor Covenant Code of Conduct + +## Our Pledge + +We as members, contributors, and leaders pledge to make participation in our +community a harassment-free experience for everyone, regardless of age, body +size, visible or invisible disability, ethnicity, sex characteristics, gender +identity and expression, level of experience, education, 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 a positive environment for our +community include: + +* 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 include: + +* The use of sexualized language or imagery, and sexual attention or advances of + any kind +* Trolling, insulting or derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, 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 - -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. - -Maintainers have the right and responsibility to edit, -delete, -hide, -or lock code, -comments, -commits, -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, +## Enforcement Responsibilities + +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. +Community leaders 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, 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, -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. +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. ## Enforcement -Instances of abusive, -harassing, -or otherwise unacceptable behavior may be reported via the collective email -address, -`moderation@unifiedjs.com`, -which will go to all moderators, -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. - -For more information on how to report violations and how the code of conduct is -enforced, -see our [moderation policy][moderation]. +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported to the community leaders responsible for enforcement at +[INSERT CONTACT METHOD]. +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. + +## 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][homepage], +version 2.1, available at +[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1]. -For answers to common questions about this code of conduct, -see +Community Impact Guidelines were inspired by +[Mozilla's code of conduct enforcement ladder][Mozilla CoC]. -[homepage]: https://www.contributor-covenant.org +For answers to common questions about this code of conduct, see the FAQ at +[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at +[https://www.contributor-covenant.org/translations][translations]. -[moderation]: https://github.com/unifiedjs/collective/blob/HEAD/moderation.md +[homepage]: https://www.contributor-covenant.org +[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html +[Mozilla CoC]: https://github.com/mozilla/diversity +[FAQ]: https://www.contributor-covenant.org/faq +[translations]: https://www.contributor-covenant.org/translations From 7bb74a92b6f051a3fe122dc733163bc0c23390b7 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 20 Nov 2024 12:08:09 +0100 Subject: [PATCH 2/4] Refactor code-style --- code-of-conduct.md | 218 ++++++++++++++++++++++++++++----------------- 1 file changed, 134 insertions(+), 84 deletions(-) diff --git a/code-of-conduct.md b/code-of-conduct.md index 67fe8ce..bce9ce7 100644 --- a/code-of-conduct.md +++ b/code-of-conduct.md @@ -1,132 +1,182 @@ -# Contributor Covenant Code of Conduct - -## Our Pledge - -We as members, contributors, and leaders pledge to make participation in our -community a harassment-free experience for everyone, regardless of age, body -size, visible or invisible disability, ethnicity, sex characteristics, gender -identity and expression, level of experience, education, 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 +# Contributor covenant code of conduct + +## Our pledge + +We as members, +contributors, +and leaders pledge to make participation in our community a harassment-free +experience for everyone, +regardless of age, +body size, +visible or invisible disability, +ethnicity, +sex characteristics, +gender identity and expression, +level of experience, +education, +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 a positive environment for our community include: -* 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, +* 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 +* focusing on what is best not just for us as individuals, + but for the overall community Examples of unacceptable behavior include: -* The use of sexualized language or imagery, and sexual attention or advances of - any kind -* Trolling, insulting or derogatory comments, and personal or political attacks -* Public or private harassment -* Publishing others' private information, such as a physical or email address, +* the use of sexualized language or imagery, + and sexual attention or advances of any kind +* trolling, + insulting or derogatory comments, + and personal or political attacks +* public or private harassment +* publishing others’ private information, + such as a physical or email address, without their explicit permission -* Other conduct which could reasonably be considered inappropriate in a +* other conduct which could reasonably be considered inappropriate in a professional setting -## Enforcement Responsibilities +## Enforcement responsibilities 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, +response to any behavior that they deem inappropriate, +threatening, +offensive, or harmful. -Community leaders 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, and will communicate reasons for moderation -decisions when appropriate. +Community leaders 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, +and will communicate reasons for moderation decisions when appropriate. ## Scope -This Code of Conduct applies within all community spaces, and also applies when -an individual is officially representing the community in public spaces. +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. +posting via an official social media account, +or acting as an appointed representative at an online or offline event. ## Enforcement -Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported to the community leaders responsible for enforcement at -[INSERT CONTACT METHOD]. +Instances of abusive, +harassing, +or otherwise unacceptable behavior may be reported to the community leaders +responsible for enforcement at [INSERT CONTACT METHOD]. 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. -## Enforcement Guidelines +## 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: +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. +**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. +**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. +**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. -**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. +### 4. Permanent ban -### 3. Temporary 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. -**Community Impact**: A serious violation of community standards, including -sustained inappropriate behavior. +**Consequence**: +a permanent ban from any sort of public interaction within the community. -**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. +## Attribution -### 4. Permanent Ban +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**: 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. +Community impact guidelines were inspired by +[Mozilla’s code of conduct enforcement ladder][mozilla-coc]. -**Consequence**: A permanent ban from any sort of public interaction within the -community. +For answers to common questions about this code of conduct, +see the FAQ at +[`www.contributor-covenant.org/faq`][covenant-faq]. +Translations are available at +[`www.contributor-covenant.org/translations`][covenant-translations]. -## Attribution +[covenant-faq]: https://www.contributor-covenant.org/faq/ -This Code of Conduct is adapted from the [Contributor Covenant][homepage], -version 2.1, available at -[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1]. +[covenant-homepage]: https://www.contributor-covenant.org -Community Impact Guidelines were inspired by -[Mozilla's code of conduct enforcement ladder][Mozilla CoC]. +[covenant-latest]: https://www.contributor-covenant.org/version/2/1/code_of_conduct/ -For answers to common questions about this code of conduct, see the FAQ at -[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at -[https://www.contributor-covenant.org/translations][translations]. +[covenant-translations]: https://www.contributor-covenant.org/translations/ -[homepage]: https://www.contributor-covenant.org -[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html -[Mozilla CoC]: https://github.com/mozilla/diversity -[FAQ]: https://www.contributor-covenant.org/faq -[translations]: https://www.contributor-covenant.org/translations +[mozilla-coc]: https://github.com/mozilla/inclusion From 65fd1036271aabf2e6b28279e92b4615d251989b Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 20 Nov 2024 12:15:29 +0100 Subject: [PATCH 3/4] Fill out info --- code-of-conduct.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/code-of-conduct.md b/code-of-conduct.md index bce9ce7..3895538 100644 --- a/code-of-conduct.md +++ b/code-of-conduct.md @@ -90,13 +90,23 @@ or acting as an appointed representative at an online or offline event. Instances of abusive, harassing, -or otherwise unacceptable behavior may be reported to the community leaders -responsible for enforcement at [INSERT CONTACT METHOD]. +or otherwise unacceptable behavior may be reported via the collective email +address, +`moderation@unifiedjs.com`, +which will go to all moderators, +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 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][unified-moderation-policy]. + ## Enforcement guidelines Community leaders will follow these community impact guidelines in determining @@ -180,3 +190,5 @@ Translations are available at [covenant-translations]: https://www.contributor-covenant.org/translations/ [mozilla-coc]: https://github.com/mozilla/inclusion + +[unified-moderation-policy]: https://github.com/unifiedjs/collective/blob/main/moderation.md From 838936fb3c34e1028e150ae40ea77d9c80fe37ff Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 20 Nov 2024 12:17:22 +0100 Subject: [PATCH 4/4] Simplify name --- code-of-conduct.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code-of-conduct.md b/code-of-conduct.md index 3895538..47ed9d1 100644 --- a/code-of-conduct.md +++ b/code-of-conduct.md @@ -1,4 +1,4 @@ -# Contributor covenant code of conduct +# Code of conduct ## Our pledge