Skip to content

CODE_OF_CONDUCT present

States the rules of engagement before you need them, not during the incident.

Gate ID
code_of_conduct_present
Severity
info
Scope
Project root
Tags
project-hygienegovernance

What it checks

Looks for CODE_OF_CONDUCT.md at project root, .github/, or docs/. Adopt the Contributor Covenant or similar so contributors know the rules of engagement.

Searched at the project root, .github/, and docs/.

What a finding says

text
No CODE_OF_CONDUCT.md found at the project root, .github/, or docs/. Adopt the Contributor Covenant and add CODE_OF_CONDUCT.md so contributors know the rules of engagement.

Turning it off

Silence the gate for the whole project in .l0git.json:

json
{
  "ignore": ["code_of_conduct_present"]
}

Or keep it running at a lower severity:

json
{
  "severity": { "code_of_conduct_present": "info" }
}

See also

Released under the MIT License. · Privacy & legal