htmllint-custom-tag-style

3.0.8 • Public • Published

htmllint-custom-tag-style

htmllint plugin to check custom tag naming.

yarn add -D htmllint-custom-tag-style

.htmllintrc

{
  "plugins": [
    "htmllint-custom-tag-style"
  ],
  "tag-name-match": true,                  // each tag should be closed
  "custom-tag-style": "/^app-prefix-.+$/", // custom tag only pattern
  "custom-tag-ignore-regexp": "/^%.*$/"    // ignore ejs stuff
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.0.8
    6
    • latest

Version History

Package Sidebar

Install

npm i htmllint-custom-tag-style

Weekly Downloads

7

Version

3.0.8

License

MIT

Unpacked Size

5.21 kB

Total Files

7

Last publish

Collaborators

  • nskazki