Skip to content

Commit 579786e

Browse files
committed
docs: Add code of conduct
1 parent c66c1dd commit 579786e

File tree

1 file changed

+126
-0
lines changed

1 file changed

+126
-0
lines changed

CODE_OF_CONDUCT.md

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone. We pledge to act and
7+
interact in ways that contribute to an open, welcoming, and healthy community.
8+
9+
## Our Standards
10+
11+
Examples of behavior that contributes to a positive environment for our
12+
community include:
13+
14+
* Demonstrating understanding and kindness toward other people
15+
* Being respectful of differing opinions, viewpoints, and experiences
16+
* Giving and gracefully accepting constructive feedback
17+
* Accepting responsibility and apologizing to those affected by our mistakes,
18+
and learning from the experience
19+
* Focusing on what is best not just for us as individuals, but for the overall
20+
community
21+
22+
Examples of unacceptable behavior include:
23+
24+
* The use of sexualized language or imagery, and sexual attention or advances
25+
of any kind
26+
* Trolling, insulting or derogatory comments, and personal or political attacks
27+
* Public or private harassment
28+
* Publishing others' private information, such as a physical or email address,
29+
without their explicit permission
30+
* Other conduct which could reasonably be considered inappropriate in a
31+
professional setting
32+
33+
## Enforcement Responsibilities
34+
35+
Community leaders are responsible for clarifying and enforcing our standards of
36+
acceptable behavior and will take appropriate and fair corrective action in
37+
response to any behavior that they deem inappropriate, threatening, offensive,
38+
or harmful.
39+
40+
Community leaders have the right and responsibility to remove, edit, or reject
41+
comments, commits, code, wiki edits, issues, and other contributions that are
42+
not aligned to this Code of Conduct, and will communicate reasons for
43+
moderation decisions when appropriate.
44+
45+
## Scope
46+
47+
This Code of Conduct applies within all community spaces, and also applies when
48+
an individual is officially representing the community in public spaces.
49+
Examples of representing our community include using an official e-mail
50+
address, posting via an official social media account, or acting as an
51+
appointed representative at an online or offline event.
52+
53+
## Enforcement
54+
55+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
56+
reported to the community leaders responsible for enforcement by emailing
57+
[email protected]. All complaints will be reviewed and investigated promptly
58+
and fairly.
59+
60+
All community leaders are obligated to respect the privacy and security of the
61+
reporter of any incident.
62+
63+
## Enforcement Guidelines
64+
65+
Community leaders will follow these Community Impact Guidelines in determining
66+
the consequences for any action they deem in violation of this Code of Conduct:
67+
68+
### 1. Correction
69+
70+
**Community Impact**: Use of inappropriate language or other behavior deemed
71+
unprofessional or unwelcome in the community.
72+
73+
**Consequence**: A private, written warning from community leaders, providing
74+
clarity around the nature of the violation and an explanation of why the
75+
behavior was inappropriate. A public apology may be requested.
76+
77+
### 2. Warning
78+
79+
**Community Impact**: A violation through a single incident or series of
80+
actions.
81+
82+
**Consequence**: A warning with consequences for continued behavior. No
83+
interaction with the people involved, including unsolicited interaction with
84+
those enforcing the Code of Conduct, for a specified period of time. This
85+
includes avoiding interactions in community spaces as well as external channels
86+
like social media. Violating these terms may lead to a temporary or permanent
87+
ban.
88+
89+
### 3. Temporary Ban
90+
91+
**Community Impact**: A serious violation of community standards, including
92+
sustained inappropriate behavior.
93+
94+
**Consequence**: A temporary ban from any sort of interaction or public
95+
communication with the community for a specified period of time. No public or
96+
private interaction with the people involved, including unsolicited interaction
97+
with those enforcing the Code of Conduct, is allowed during this period.
98+
Violating these terms may lead to a permanent ban.
99+
100+
### 4. Permanent Ban
101+
102+
**Community Impact**: Demonstrating a pattern of violation of community
103+
standards, including sustained inappropriate behavior, harassment of an
104+
individual, or aggression toward or disparagement of classes of individuals.
105+
106+
**Consequence**: A permanent ban from any sort of public interaction within the
107+
community.
108+
109+
## Attribution
110+
111+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
112+
version 2.1, available at
113+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
114+
115+
Community Impact Guidelines were inspired by
116+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
117+
118+
For answers to common questions about this code of conduct, see the FAQ at
119+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
120+
[https://www.contributor-covenant.org/translations][translations].
121+
122+
[homepage]: https://www.contributor-covenant.org
123+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
124+
[Mozilla CoC]: https://github.com/mozilla/diversity
125+
[FAQ]: https://www.contributor-covenant.org/faq
126+
[translations]: https://www.contributor-covenant.org/translations

0 commit comments

Comments
 (0)