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
}

/htmllint-custom-tag-style/

    Package Sidebar

    Install

    npm i htmllint-custom-tag-style

    Weekly Downloads

    3

    Version

    3.0.8

    License

    MIT

    Unpacked Size

    5.21 kB

    Total Files

    7

    Last publish

    Collaborators

    • nskazki