Skip to content

Commit 643d949

Browse files
ashleygwilliamsMyles Borins
authored and
Myles Borins
committed
docs: improve discoverability of Code of Conduct
- move CoC from CONTRIBUTING to top-level, separate COC file - add note/link in CONTRIBUTING - add note/link in README (both at top, and newcomer resources) - move CoC section in CONTRIBUTING to top of file PR-URL: #3774 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]>
1 parent 9294523 commit 643d949

File tree

3 files changed

+43
-38
lines changed

3 files changed

+43
-38
lines changed

CODE_OF_CONDUCT.md

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
## Code of Conduct
2+
3+
This Code of Conduct is adapted from [Rust's wonderful
4+
CoC](http://www.rust-lang.org/conduct.html).
5+
6+
* We are committed to providing a friendly, safe and welcoming
7+
environment for all, regardless of gender, sexual orientation,
8+
disability, ethnicity, religion, or similar personal characteristic.
9+
* Please avoid using overtly sexual nicknames or other nicknames that
10+
might detract from a friendly, safe and welcoming environment for
11+
all.
12+
* Please be kind and courteous. There's no need to be mean or rude.
13+
* Respect that people have differences of opinion and that every
14+
design or implementation choice carries a trade-off and numerous
15+
costs. There is seldom a right answer.
16+
* Please keep unstructured critique to a minimum. If you have solid
17+
ideas you want to experiment with, make a fork and see how it works.
18+
* We will exclude you from interaction if you insult, demean or harass
19+
anyone. That is not welcome behavior. We interpret the term
20+
"harassment" as including the definition in the [Citizen Code of
21+
Conduct](http://citizencodeofconduct.org/); if you have any lack of
22+
clarity about what might be included in that concept, please read
23+
their definition. In particular, we don't tolerate behavior that
24+
excludes people in socially marginalized groups.
25+
* Private harassment is also unacceptable. No matter who you are, if
26+
you feel you have been or are being harassed or made uncomfortable
27+
by a community member, please contact one of the channel ops or any
28+
of the TSC members immediately with a capture (log, photo, email) of
29+
the harassment if possible. Whether you're a regular contributor or
30+
a newcomer, we care about making this community a safe place for you
31+
and we've got your back.
32+
* Likewise any spamming, trolling, flaming, baiting or other
33+
attention-stealing behavior is not welcome.
34+
* Avoid the use of personal pronouns in code comments or
35+
documentation. There is no need to address persons when explaining
36+
code (e.g. "When the developer").

CONTRIBUTING.md

+6-38
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Contributing to Node.js
22

3+
## Code of Conduct
4+
5+
The Code of Conduct explains the *bare minimum* behavior
6+
expectations the Node Foundation requires of its contributors.
7+
[Please read it before participating.](./CODE_OF_CONDUCT.md)
8+
39
## Issue Contributions
410

511
When opening new issues or commenting on existing issues on this repository
@@ -181,41 +187,3 @@ By making a contribution to this project, I certify that:
181187
different license), as indicated in the file; or
182188
* (c) The contribution was provided directly to me by some other
183189
person who certified (a), (b) or (c) and I have not modified it.
184-
185-
186-
## Code of Conduct
187-
188-
This Code of Conduct is adapted from [Rust's wonderful
189-
CoC](http://www.rust-lang.org/conduct.html).
190-
191-
* We are committed to providing a friendly, safe and welcoming
192-
environment for all, regardless of gender, sexual orientation,
193-
disability, ethnicity, religion, or similar personal characteristic.
194-
* Please avoid using overtly sexual nicknames or other nicknames that
195-
might detract from a friendly, safe and welcoming environment for
196-
all.
197-
* Please be kind and courteous. There's no need to be mean or rude.
198-
* Respect that people have differences of opinion and that every
199-
design or implementation choice carries a trade-off and numerous
200-
costs. There is seldom a right answer.
201-
* Please keep unstructured critique to a minimum. If you have solid
202-
ideas you want to experiment with, make a fork and see how it works.
203-
* We will exclude you from interaction if you insult, demean or harass
204-
anyone. That is not welcome behavior. We interpret the term
205-
"harassment" as including the definition in the [Citizen Code of
206-
Conduct](http://citizencodeofconduct.org/); if you have any lack of
207-
clarity about what might be included in that concept, please read
208-
their definition. In particular, we don't tolerate behavior that
209-
excludes people in socially marginalized groups.
210-
* Private harassment is also unacceptable. No matter who you are, if
211-
you feel you have been or are being harassed or made uncomfortable
212-
by a community member, please contact one of the channel ops or any
213-
of the TC members immediately with a capture (log, photo, email) of
214-
the harassment if possible. Whether you're a regular contributor or
215-
a newcomer, we care about making this community a safe place for you
216-
and we've got your back.
217-
* Likewise any spamming, trolling, flaming, baiting or other
218-
attention-stealing behavior is not welcome.
219-
* Avoid the use of personal pronouns in code comments or
220-
documentation. There is no need to address persons when explaining
221-
code (e.g. "When the developer")

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ Instructions:
337337

338338
## Resources for Newcomers
339339

340+
* [CODE_OF_CONDUCT.md](./CODE_OF_CONDUCT.md)
340341
* [CONTRIBUTING.md](./CONTRIBUTING.md)
341342
* [GOVERNANCE.md](./GOVERNANCE.md)
342343
* IRC:

0 commit comments

Comments
 (0)