Skip to content

Commit 20e3874

Browse files
committed
docs: add code of conduct
1 parent 7d1eac1 commit 20e3874

File tree

1 file changed

+118
-0
lines changed

1 file changed

+118
-0
lines changed

docs/.github/CODE_OF_CONDUCT.md

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

0 commit comments

Comments
 (0)