Commit 4516fd72 authored by Marcia Ramos's avatar Marcia Ramos
Browse files

Merge branch 'docs/add-code-comments-development-guide' into 'master'

Add code comments development guide

Closes #63132

See merge request gitlab-org/gitlab-ce!30043
......@@ -108,6 +108,7 @@ description: 'Learn how to contribute to GitLab.'
- [Database Debugging and Troubleshooting](
- [Query Count Limits](
- [Database helper modules](
- [Code comments](
## Integration guides
# Code comments
Whenever you add comment to the code that is expected to be addressed at any time
in future, please create a technical debt issue for it. Then put a link to it
to the code comment you've created. This will allow other developers to quickly
check if a comment is still relevant and what needs to be done to address it.
# Deprecated scope until code_owner column has been migrated to rule_type.
# To be removed with
scope :code_owner, -> { where(code_owner: true).or(where(rule_type: :code_owner)) }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment