Once you have Node.js v8.x on your machine, you can use
npx or install hint globally to use it.
Run the following command:
npx hint https://example.comThis will analyze https://example.com using the default configuration.
npm install -g --engine-strict hintCreate a .hintrc file by running this command and following the
instructions:
npm create hintrcScan a website:
hint https://example.comTo use a different formatter than the one specified in your .hintrc
file you can do the following:
hint https://example.com --formatters excelTo use a different hint than the one specified in your .hintrc file:
hint https://example.com --hints html-checkerMultiple hints can be specified as a comma sepreated string:
hint https://example.com --hints axe,html-checkerFor more in depth information on how to get started, configurations, and more, see the online user guide, or the local version for the most recent (and unstable) content.
To know more about the internals of webhint, the structure of the
project, how to create new hints, collectors, formatters, etc, take
a look at the online contributor guide (or the
local version).
This project adheres to the JS Foundation’s code of conduct. By participating in this project you agree to abide by its terms.
The code is available under the Apache 2.0 license.