Add ignore keyword list to CommentedOutCode #309
Labels
enhancement
Improvements to an existing feature
rule
Improvements or additions to rules
triage
This needs to be triaged by a maintainer
Prerequisites
Rule to improve
CommentedOutCode
Improvement description
CommentedOutCode detects code in comments like:
foo.CheckCondition({var}param);
I'd like this {var} not to match with this rule.
Rationale
We often use {var} comment to indicate the 'param' may be chanegd.
In this case, CheckCondition function is defined blow:
On the other hand, this {var} may be a code to be detected.
So, I wish I could add an Ignore-Keyword-List to CommentedOutCode rule.
{out} is also frequently used for the same reason.
The text was updated successfully, but these errors were encountered: