webhint needs a configuration file to know what hints,
connectors, etc. to use. By default it will look for a .hintrc
file in the current folder and then in the user’s home directory.
If none is found, it will use a built-in default configuration and
warn the user about it.

The recommended way to create the configuration file is by running:

npm create hintrc

This command will start a wizard that will ask you a series of
questions (e.g.: do you want to use a predefined configuration or prefer to
create one with the installed resource, what connector to use, formatter,
hints, etc.). Answer them and you will end up with something similar to the
following if you decided to use a predefined configuration: