AgodaAnalyzers
AgodaAnalyzers copied to clipboard
S1135 - For and ensure tracking through external tool
A comment in code is easy to lose track of and forget about We think that enforcing the uses of adding a tracking ID in the comment (JIRA ID or github issue) means that the TODO comment is track and will get addressed
TODO comments are good, but lets ensure they don't get forgotten about, and code smells we think isn't a good way to track them
Outcome would be anew blocking rule that would regex check the TODO comment for a tracking ID and block if it doesn't have one