Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

npm html-validate

// install
npm install -g html-validate

// configure with .htmlvalidate.json
{
  "extends": ["html-validate:recommended"],
  "rules": {
    "void-style": ["warn", { "style": "selfclosing" }]
  }
}
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #npm
ADD COMMENT
Topic
Name
5+8 =