aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--CODE_OF_CONDUCT.md33
-rw-r--r--CONTRIBUTING.md4
3 files changed, 39 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index a6e1099c..ba26cf0e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -35,3 +35,5 @@ cabal.project.local
cabal.project.local~
.stack-work/
+
+.hspec-failures
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
new file mode 100644
index 00000000..5082492d
--- /dev/null
+++ b/CODE_OF_CONDUCT.md
@@ -0,0 +1,33 @@
+# Conduct
+
+* We are committed to providing a friendly, safe and welcoming environment for all, regardless of level of experience,
+gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age,
+religion, nationality, or other similar characteristic.
+
+* Please avoid using overtly sexual aliases or other nicknames that might detract from a friendly, safe
+and welcoming environment for all.
+
+* Please be kind and courteous. There’s no need to be mean or rude.
+
+* Respect that people have differences of opinion and that every design or implementation choice carries a trade-off
+and numerous costs. There is seldom a right answer.
+
+* Please keep unstructured critique to a minimum. If you have solid ideas you want to experiment with,
+make a fork and see how it works.
+
+* We will exclude you from interaction if you insult, demean or harass anyone. That is not welcome behavior.
+We interpret the term “harassment” as including the definition in the [Citizen Code of Conduct][CCC];
+if you have any lack of clarity about what might be included in that concept, please read their definition.
+In particular, we don’t tolerate behavior that excludes people in socially marginalized groups.
+
+* Private harassment is also unacceptable. No matter who you are, if you feel you have been or are being harassed or
+made uncomfortable by a community member, please contact one of the maintainers or any of the
+Core Team immediately. Whether you’re a regular contributor or a newcomer,
+we care about making this community a safe place for you and we’ve got your back.
+
+* Likewise any spamming, trolling, flaming, baiting or other attention-stealing behavior is not welcome.
+
+_Adapted from the [Rust Lang][Rust CoC]'s code of conduct_
+
+[CCC]: https://github.com/stumpsyn/policies/blob/master/citizen_code_of_conduct.md
+[Rust CoC]: https://www.rust-lang.org/policies/code-of-conduct
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 51c8fa28..9f9ff810 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -3,6 +3,10 @@
Thank you for contributing to Haddock! Here is the information you will need in
order to make your contribution
+## Code of Conduct
+
+We need you to read, acknowledge, and abide by our [Code of Conduct][CoC].
+
## Reporting issues
Please open a ticket if you get an unexpected behaviour from Haddock!