Skip to content

nskazki/htmllint-custom-tag-style

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
}

About

A plugin that helps ensure that all custom tags match your naming convention

Resources

License

Stars

Watchers

Forks

Packages

No packages published