Skip to content

no-ambiguous-navigable-target-names

Detect invalid target name keywords.

Severity

warning

❌ Incorrect

html
<a href="/foo" target="_custom">link</a>

✅ Correct

html
<a href="/foo" target="_blank">link</a>

Reference

Configuration

json
{
  "rules": {
    "no-ambiguous-navigable-target-names": "error"
  }
}

Released under the MIT License.