Skip to content

Commit 67e64ca

Browse files
wesleytodddougwilson
authored andcommitted
docs: add Code of Conduct
closes expressjs#4143
1 parent 922e9a4 commit 67e64ca

File tree

1 file changed

+139
-0
lines changed

1 file changed

+139
-0
lines changed

Code-Of-Conduct.md

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

0 commit comments

Comments
 (0)