1.0.11 • Published 6 years ago

makestatic-verify-id v1.0.11

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

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-id

API

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.

  • context Object the processing context.
  • options Object the plugin options.
Options
  • strict Boolean=true warn rather than error when false.
Throws
  • Error if no resource graph is available.
  • Error when a duplicate id attribute is detected in strict mode.

License

MIT


Created by mkdoc on March 12, 2017

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago