Skip to content

Commit 98c9c5a

Browse files
authored
Update Code of Conduct to Contributor Covenant v2.1 (#19935)
* Update Code of Conduct to Contributor Covenant v2.1 * Update CODE_OF_CONDUCT.md
1 parent 0d4c45c commit 98c9c5a

File tree

1 file changed

+27
-23
lines changed

1 file changed

+27
-23
lines changed

CODE_OF_CONDUCT.md

+27-23
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ We as members, contributors, and leaders pledge to make participation in our
77
community a harassment-free experience for everyone, regardless of age, body
88
size, visible or invisible disability, ethnicity, sex characteristics, gender
99
identity and expression, level of experience, education, socio-economic status,
10-
nationality, personal appearance, race, religion, or sexual identity
11-
and orientation.
10+
nationality, personal appearance, race, caste, color, religion, or sexual
11+
identity and orientation.
1212

1313
We pledge to act and interact in ways that contribute to an open, welcoming,
1414
diverse, inclusive, and healthy community.
@@ -23,17 +23,17 @@ community include:
2323
* Giving and gracefully accepting constructive feedback
2424
* Accepting responsibility and apologizing to those affected by our mistakes,
2525
and learning from the experience
26-
* Focusing on what is best not just for us as individuals, but for the
27-
overall community
26+
* Focusing on what is best not just for us as individuals, but for the overall
27+
community
2828

2929
Examples of unacceptable behavior include:
3030

31-
* The use of sexualized language or imagery, and sexual attention or
32-
advances of any kind
31+
* The use of sexualized language or imagery, and sexual attention or advances of
32+
any kind
3333
* Trolling, insulting or derogatory comments, and personal or political attacks
3434
* Public or private harassment
35-
* Publishing others' private information, such as a physical or email
36-
address, without their explicit permission
35+
* Publishing others' private information, such as a physical or email address,
36+
without their explicit permission
3737
* Other conduct which could reasonably be considered inappropriate in a
3838
professional setting
3939

@@ -83,15 +83,15 @@ behavior was inappropriate. A public apology may be requested.
8383

8484
### 2. Warning
8585

86-
**Community Impact**: A violation through a single incident or series
87-
of actions.
86+
**Community Impact**: A violation through a single incident or series of
87+
actions.
8888

8989
**Consequence**: A warning with consequences for continued behavior. No
9090
interaction with the people involved, including unsolicited interaction with
9191
those enforcing the Code of Conduct, for a specified period of time. This
9292
includes avoiding interactions in community spaces as well as external channels
93-
like social media. Violating these terms may lead to a temporary or
94-
permanent ban.
93+
like social media. Violating these terms may lead to a temporary or permanent
94+
ban.
9595

9696
### 3. Temporary Ban
9797

@@ -107,23 +107,27 @@ Violating these terms may lead to a permanent ban.
107107
### 4. Permanent Ban
108108

109109
**Community Impact**: Demonstrating a pattern of violation of community
110-
standards, including sustained inappropriate behavior, harassment of an
110+
standards, including sustained inappropriate behavior, harassment of an
111111
individual, or aggression toward or disparagement of classes of individuals.
112112

113-
**Consequence**: A permanent ban from any sort of public interaction within
114-
the community.
113+
**Consequence**: A permanent ban from any sort of public interaction within the
114+
community.
115115

116116
## Attribution
117117

118118
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
119-
version 2.0, available at
120-
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
119+
version 2.1, available at
120+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
121121

122-
Community Impact Guidelines were inspired by [Mozilla's code of conduct
123-
enforcement ladder](https://github.com/mozilla/diversity).
124-
125-
[homepage]: https://www.contributor-covenant.org
122+
Community Impact Guidelines were inspired by
123+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
126124

127125
For answers to common questions about this code of conduct, see the FAQ at
128-
https://www.contributor-covenant.org/faq. Translations are available at
129-
https://www.contributor-covenant.org/translations.
126+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
127+
[https://www.contributor-covenant.org/translations][translations].
128+
129+
[homepage]: https://www.contributor-covenant.org
130+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
131+
[Mozilla CoC]: https://github.com/mozilla/diversity
132+
[FAQ]: https://www.contributor-covenant.org/faq
133+
[translations]: https://www.contributor-covenant.org/translations

0 commit comments

Comments
 (0)