Getting Started
1. Use npm to install HTMLHint:
- npm
- yarn
npm install --save-dev htmlhint
yarn add --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"