1.0.11 • Published 8 years ago
makestatic-verify-id v1.0.11
Verify Id
Verify id attributes are unique
For each HTML file check that id attributes are unique to the document.
Install
yarn add makestatic-verify-idAPI
VerifyId
Verify id attributes in HTML documents are unique.
See Also
.after
VerifyId.prototype.after(context, options)Verifies that id attributes are unique in each HTML document.
When strict is disabled an error is not thrown but a warning message is
logged.
contextObject the processing context.optionsObject the plugin options.
Options
strictBoolean=true warn rather than error whenfalse.
Throws
Errorif no resource graph is available.Errorwhen a duplicate id attribute is detected instrictmode.
License
MIT
Created by mkdoc on March 12, 2017