HTMLHintプロフィール

HTMLHintは、HTMLコードの品質や仕様を確保するように、HTMLコードの静的コードチェックツールを行うことができます。HTMLHintツールは、それが提案されている23のルールを構築して.htmlhintrc、ルールをはるか設定ファイルで可能な限り開いています:

{
  "tagname-lowercase": true,
  "attr-lowercase": true,
  "attr-value-double-quotes": true,
  "attr-value-not-empty": true,
  "attr-no-duplication": true,
  "doctype-first": true,
  "tag-pair": true,
  "tag-self-close": true,
  "spec-char-escape": true,
  "id-unique": true,
  "src-not-empty": true,
  "title-require": true,
  "alt-require": true,
  "doctype-html5": true,
  "id-class-value": "dash",
  "style-disabled": true,
  "inline-style-disabled": true,
  "inline-script-disabled": true,
  "space-tab-mixed-disabled": "space4",
  "id-class-ad-disabled": true,
  "href-abs-or-rel": false,
  "attr-unsafe-chars": true,
  "head-script-disabled": true
}

各ルールの意味具体的には、次の記事を参照htmlhint詳細ルールを

おすすめ

転載: www.cnblogs.com/homehtml/p/12032187.html