Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 2.93 KB

CODE_OF_CONDUCT.md

File metadata and controls

44 lines (25 loc) · 2.93 KB

Certainly! A code of conduct is essential for ensuring a safe, inclusive, and welcoming environment for contributors and participants in an open-source project. Here's an example of a Code of Conduct for the 30 Days of CPP GitHub repository:


30 Days of CPP Code of Conduct

Our Pledge

In the interest of fostering an open and welcoming environment, we, as contributors and maintainers, pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

Our Standards

Examples of behavior that contributes to creating a positive environment include:

  • Respect: Being respectful of differing viewpoints, experiences, and opinions.
  • Inclusivity: Welcoming and inclusive language, fostering a supportive environment for everyone.
  • Open-mindedness: Being open to constructive criticism and feedback.
  • Collaboration: Encouraging collaboration and teamwork, supporting each other to learn and grow.

Examples of unacceptable behavior by participants include:

  • Harassment and Discrimination: Offensive comments, verbal attacks, or any form of discrimination based on personal attributes.
  • Trolling and Disrespectful Conduct: Deliberately offensive, rude, or disrespectful behavior.
  • Intimidation or Threats: Any form of intimidation, threats, or unwelcome attention towards individuals.

Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, code, issues, and other contributions that are not aligned with this Code of Conduct or to ban temporarily or permanently any contributor for behaviors that they deem inappropriate, threatening, offensive, or harmful.

Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing the project include using an official project email address, posting via an official social media account, or acting as an appointed representative at an online or offline event.

Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [insert contact email or link to reporting guidelines]. All complaints will be reviewed and investigated promptly and fairly.

Project maintainers are obligated to maintain confidentiality regarding the reporter of any incident.

Attribution

This Code of Conduct is adapted from the Contributor Covenant, version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.