Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including hint with all npm packages installed. Try it out:

var hint = require("hint")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

hint v4.1.1

The linting tool for the web

webhint (hint)

Quick start user guide

Once you have Node.js v8.x on your machine, you can use npx or install hint globally to use it.

Using npx

Run the following command:

npx hint https://example.com

This will analyze https://example.com using the default configuration.

Installing webhint globally

npm install -g --engine-strict hint

Create a .hintrc file by running this command and following the instructions:

npm create hintrc

Scan a website:

hint https://example.com

For 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.

Contributing to hint

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).

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.

License

The code is available under the Apache 2.0 license.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free