Skip to main content

Getting Started

1. Use npm to install HTMLHint:

npm install --save-dev htmlhint

2. Create a .htmlhintrc configuration file in the root of your project:

{
"attr-value-not-empty": false
}

3. Run HTMLHint on, for example, all the HTML files in your project:

npx htmlhint "**/*.html"