Check comments for wording issues


ID: typescript-inclusive/comments

Language: TypeScript

Severity: Notice

Category: Code Style


Check the variable names and suggest better names.

Examples of replacement suggestions:

  • blacklist with denylist
  • whitelist with allowlist
  • master with primary
  • slave with secondary

Non-Compliant Code Examples

 *  whitelist names to prevent unauthorized usage

// she SHE should check her code

// he should check his

Compliant Code Examples

// allowlist names to prevent unauthorized usage

/* the comments do not have a history of issues */ jetbrains

Seamless integrations. Try Datadog Code Analysis