Skip to content

Commit c7df0df

Browse files
authored
Add Contributor Covenant 2.1
Closes GH-5. Reviewed-by: Remco Haszing <[email protected]> Reviewed-by: Christian Murphy <[email protected]> Reviewed-by: Titus Wormer <[email protected]>
1 parent 4935bd8 commit c7df0df

File tree

1 file changed

+131
-71
lines changed

1 file changed

+131
-71
lines changed

code-of-conduct.md

Lines changed: 131 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22

33
## Our pledge
44

5-
In the interest of fostering an open and welcoming environment,
6-
we as contributors and maintainers pledge to making participation in our
7-
collective and our community a harassment-free experience for everyone,
5+
We as members,
6+
contributors,
7+
and leaders pledge to make participation in our community a harassment-free
8+
experience for everyone,
89
regardless of age,
910
body size,
10-
disability,
11+
visible or invisible disability,
1112
ethnicity,
1213
sex characteristics,
1314
gender identity and expression,
@@ -17,67 +18,73 @@ socio-economic status,
1718
nationality,
1819
personal appearance,
1920
race,
21+
caste,
22+
color,
2023
religion,
2124
or sexual identity and orientation.
2225

26+
We pledge to act and interact in ways that contribute to an open,
27+
welcoming,
28+
diverse,
29+
inclusive,
30+
and healthy community.
31+
2332
## Our standards
2433

25-
Examples of behavior that contributes to creating a positive environment
26-
include:
34+
Examples of behavior that contributes to a positive environment for our
35+
community include:
2736

28-
* using welcoming and inclusive language
29-
* being respectful of differing viewpoints and experiences
30-
* gracefully accepting constructive criticism
31-
* focusing on what is best for the community
32-
* showing empathy towards other community members
37+
* demonstrating empathy and kindness toward other people
38+
* being respectful of differing opinions,
39+
viewpoints,
40+
and experiences
41+
* giving and gracefully accepting constructive feedback
42+
* accepting responsibility and apologizing to those affected by our mistakes,
43+
and learning from the experience
44+
* focusing on what is best not just for us as individuals,
45+
but for the overall community
3346

34-
Examples of unacceptable behavior by participants include:
47+
Examples of unacceptable behavior include:
3548

36-
* the use of sexualized language or imagery and unwelcome sexual attention or
37-
advances
49+
* the use of sexualized language or imagery,
50+
and sexual attention or advances of any kind
3851
* trolling,
39-
insulting/derogatory comments,
52+
insulting or derogatory comments,
4053
and personal or political attacks
4154
* public or private harassment
4255
* publishing others’ private information,
43-
such as a physical or electronic address,
44-
without explicit permission
56+
such as a physical or email address,
57+
without their explicit permission
4558
* other conduct which could reasonably be considered inappropriate in a
4659
professional setting
4760

48-
## Our responsibilities
61+
## Enforcement responsibilities
4962

50-
Maintainers are responsible for clarifying the standards of acceptable behavior
51-
and are expected to take appropriate and fair corrective action in response to
52-
any instances of unacceptable behavior.
63+
Community leaders are responsible for clarifying and enforcing our standards of
64+
acceptable behavior and will take appropriate and fair corrective action in
65+
response to any behavior that they deem inappropriate,
66+
threatening,
67+
offensive,
68+
or harmful.
5369

54-
Maintainers have the right and responsibility to edit,
55-
delete,
56-
hide,
57-
or lock code,
58-
comments,
70+
Community leaders have the right and responsibility to remove,
71+
edit,
72+
or reject comments,
5973
commits,
60-
edits,
74+
code,
75+
wiki edits,
6176
issues,
62-
posts,
63-
pull requests,
6477
and other contributions that are not aligned to this code of conduct,
65-
or to ban temporarily or permanently any contributor for other behaviors that
66-
they deem inappropriate,
67-
threatening,
68-
offensive,
69-
or harmful.
78+
and will communicate reasons for moderation decisions when appropriate.
7079

7180
## Scope
7281

73-
This code of conduct applies both within collective spaces and in public spaces
74-
when an individual is representing the collective or its community.
75-
Examples of representing a collective or community include using an official
76-
collective email address,
82+
This code of conduct applies within all community spaces,
83+
and also applies when an individual is officially representing the community in
84+
public spaces.
85+
Examples of representing our community include using an official email address,
7786
posting via an official social media account,
7887
or acting as an appointed representative at an online or offline event.
79-
Representation of the collective may be further defined and clarified by
80-
maintainers.
8188

8289
## Enforcement
8390

@@ -91,44 +98,97 @@ or by contacting individual moderators via `[email protected]`,
9198
which will go only to Richard Littauer,
9299
93100
which will go only to Olivia Hugger.
94-
All complaints will be reviewed and investigated and will result in a response
95-
that is deemed necessary and appropriate to the circumstances.
96-
The moderation team is obligated to maintain confidentiality with regard to the
97-
reporter of an incident.
98-
Further details of specific enforcement policies may be posted separately.
99-
100-
Maintainers who do not follow or enforce the code of conduct in good faith may
101-
face temporary or permanent repercussions as determined by other members of the
102-
collective leadership.
103-
104-
In cases where community members transgress against the values in the code of
105-
conduct,
106-
members of the moderation team will use a three-strike warning system,
107-
where the aggressor will be warned twice before they are permanently excluded
108-
from our community spaces.
109-
This code applies to GitHub,
110-
Twitter,
111-
and any other space that this community uses for communication.
112-
For interactions between community members outside of this space,
113-
the code also applies if the interactions are reported and deemed to be
114-
interfering with community members safely working on the collective together.
115-
Conversations between moderators (when they are more serious than discussing
116-
simple warnings) will occur in private repositories or through email,
117-
to ensure both anonymity for reporters and the safety of the moderators.
101+
All complaints will be reviewed and investigated promptly and fairly.
102+
103+
All community leaders are obligated to respect the privacy and security of the
104+
reporter of any incident.
118105

119106
For more information on how to report violations and how the code of conduct is
120107
enforced,
121-
see our [moderation policy][moderation].
108+
see our [moderation policy][unified-moderation-policy].
109+
110+
## Enforcement guidelines
111+
112+
Community leaders will follow these community impact guidelines in determining
113+
the consequences for any action they deem in violation of this code of conduct:
114+
115+
### 1. Correction
116+
117+
**Community impact**:
118+
use of inappropriate language or other behavior deemed unprofessional or
119+
unwelcome in the community.
120+
121+
**Consequence**:
122+
a private,
123+
written warning from community leaders,
124+
providing clarity around the nature of the violation and an explanation of why
125+
the behavior was inappropriate.
126+
A public apology may be requested.
127+
128+
### 2. Warning
129+
130+
**Community impact**:
131+
a violation through a single incident or series of actions.
132+
133+
**Consequence**:
134+
a warning with consequences for continued behavior.
135+
No interaction with the people involved,
136+
including unsolicited interaction with those enforcing the code of conduct,
137+
for a specified period of time.
138+
This includes avoiding interactions in community spaces as well as external
139+
channels like social media.
140+
Violating these terms may lead to a temporary or permanent ban.
141+
142+
### 3. Temporary ban
143+
144+
**Community impact**:
145+
a serious violation of community standards,
146+
including sustained inappropriate behavior.
147+
148+
**Consequence**:
149+
a temporary ban from any sort of interaction or public communication with the
150+
community for a specified period of time.
151+
No public or private interaction with the people involved,
152+
including unsolicited interaction with those enforcing the code of conduct,
153+
is allowed during this period.
154+
Violating these terms may lead to a permanent ban.
155+
156+
### 4. Permanent ban
157+
158+
**Community impact**:
159+
demonstrating a pattern of violation of community standards,
160+
including sustained inappropriate behavior,
161+
harassment of an individual,
162+
or aggression toward or disparagement of classes of individuals.
163+
164+
**Consequence**:
165+
a permanent ban from any sort of public interaction within the community.
122166

123167
## Attribution
124168

125-
This code of conduct is adapted from the [Contributor Covenant][homepage],
126-
version 1.4,
127-
available at <https://www.contributor-covenant.org/version/1/4/code-of-conduct.html>
169+
This code of conduct is adapted from the
170+
[contributor covenant][covenant-homepage],
171+
version 2.1,
172+
available at
173+
[`www.contributor-covenant.org/version/2/1/code_of_conduct/`][covenant-latest].
174+
175+
Community impact guidelines were inspired by
176+
[Mozilla’s code of conduct enforcement ladder][mozilla-coc].
128177

129178
For answers to common questions about this code of conduct,
130-
see <https://www.contributor-covenant.org/faq>
179+
see the FAQ at
180+
[`www.contributor-covenant.org/faq`][covenant-faq].
181+
Translations are available at
182+
[`www.contributor-covenant.org/translations`][covenant-translations].
183+
184+
[covenant-faq]: https://www.contributor-covenant.org/faq/
185+
186+
[covenant-homepage]: https://www.contributor-covenant.org
187+
188+
[covenant-latest]: https://www.contributor-covenant.org/version/2/1/code_of_conduct/
189+
190+
[covenant-translations]: https://www.contributor-covenant.org/translations/
131191

132-
[homepage]: https://www.contributor-covenant.org
192+
[mozilla-coc]: https://github.com/mozilla/inclusion
133193

134-
[moderation]: https://github.com/unifiedjs/collective/blob/HEAD/moderation.md
194+
[unified-moderation-policy]: https://github.com/unifiedjs/collective/blob/main/moderation.md

0 commit comments

Comments
 (0)