0
点赞
收藏
分享

微信扫一扫

【工具介绍】htmlhint


 

   收录一个工具:

 

     htmlhint

 

  • 官网:http://htmlhint.com/
  • 关于使用:
  1. 在浏览器里面:https://raw.github.com/yaniswang/HTMLHint/master/lib/htmlhint.js
  2. 在Node环境:npm install htmlhint -g

    具体可以查看:

 

    https://github.com/yaniswang/HTMLHint/wiki/Usage

 

   关于配置:

 

//默认配置
{
    'tagname-lowercase': true,
    'attr-lowercase': true,
    'attr-value-double-quotes': true,
    'doctype-first': true,
    'tag-pair': true,
    'spec-char-escape': true,
    'id-unique': true,
    'src-not-empty': true
}

 

    

举报

相关推荐

0 条评论