Skip to content

Files

Latest commit

 

History

History
27 lines (18 loc) · 640 Bytes

todo_comment_linter.md

File metadata and controls

27 lines (18 loc) · 640 Bytes

Pattern: Unresolved warning comment

Issue: -

Description

Developers often add comments to code which is not complete or needs review. Most likely you want to fix or review the code, and then remove the comment, before you consider the code to be production ready.

Example of incorrect code:

# FIXME: this is not a good idea
# TODO: need code review
arrange(value)

Example of correct code:

# NOT READY FOR PRIME TIME
# but too bad, it is not a predefined warning term
arrange(value)

Further Reading