Skip to content

michaelsboost/html-lint-for-codemirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codemirror and HTMLHint Integration

Want to use HTMLHint for syntax validation for your html code?

NOTE: If you're using Ace Editor please refer to htmlhint.com. This release is strictly a Codemirror Integration.

Try it on kodeWeave!
Try it on Codepen!

Rules Specified for Validation

var ruleSets = {
  "tagname-lowercase": true,
  "attr-lowercase": true,
  "attr-value-double-quotes": true,
  "doctype-first": false,
  "tag-pair": true,
  "spec-char-escape": true,
  "id-unique": true,
  "src-not-empty": true,
  "attr-no-duplication": true
};

You can show your appreciation by Donating via SquareCash and/or PayPal

ko-fi

Releases

No releases published

Packages

No packages published

Languages