Skip to content

dfn-no-dfn-descendants ​

Disallow <dfn> nested inside another <dfn>.

Severity ​

error

❌ Incorrect ​

html
<dfn>A <dfn>nested</dfn> term</dfn>

✅ Correct ​

html
<dfn>A term</dfn>

Reference ​

Configuration ​

json
{
  "rules": {
    "dfn-no-dfn-descendants": "error"
  }
}

Released under the MIT License.