no unused dfns - speced/respec GitHub Wiki
Default: false
Warns when a definition (<dfn>) is never referenced anywhere in the document and is not exported.
var respecConfig = {
lint: {
"no-unused-dfns": true,
},
};<!-- Defined but never linked to anywhere in the document: -->
<dfn>orphaned concept</dfn>Choose one:
-
Link to it somewhere in the document:
[=orphaned concept=] -
Export it so other specs can use it:
<dfn class="export">orphaned concept</dfn> -
Remove the
<dfn>if the term is no longer needed -
Use a plain element if you want the text styled as a definition but don't need linking:
<span class="dfn-paneled">term</span>
var respecConfig = {
lint: { "no-unused-dfns": false },
};