Miss any of our Open RFC calls?Watch the recordings here! »

htmllint-custom-tag-style

3.0.3 • 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
}

Install

npm i htmllint-custom-tag-style

DownloadsWeekly Downloads

3

Version

3.0.3

License

MIT

Unpacked Size

5.2 kB

Total Files

7

Last publish

Collaborators

  • avatar