Skip to content

Joshuatanderson/htmlhint-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTML Linting with htmlhint

HTML deserves to be as well maintained as your other code.

Play with this simple html linting setup with the following steps.

  • clone this repo to your desktop.
  • run "npm install"
  • test the linting by running "npm run lint:html" (this script is short for "htmlhint "./**/*.html"", and is defined in the package.json)

You should see two errors pop up (one for src-not-empty, and the other for tag-pair). If not, make sure you ran "npm install".

Enjoy!

Other possible HTML linting rules can be found here. You can find the details on the NPM package here.

About

Simple demo of htmlhint for linting HTML files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages