Quick start user guide
Once you have
v8.x on your machine, you can use
npx or install
to use it.
Run the following command:
npx hint https://example.com
This will analyze
https://example.com using the default configuration.
npm install -g --engine-strict hint
.hintrc file by running this command and following the
npm create hintrc
Scan a website:
To use a different formatter than the one specified in your
you can do the following:
hint https://example.com --formatters excel
To use a different hint than the one specified in your
hint https://example.com --hints html-checker
Multiple hints can be specified as a comma sepreated string:
hint https://example.com --hints axe,html-checker
Contributing to webhint
Code of Conduct
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.