This site uses cookies for analytics. By continuing to browse this site, you agree to this use.
A JS Foundation Project

Local connector

Local connector (@hint/connector-local)

A local connector to analyze the local files in your project with webhint.

Installation

First, you need to install webhint:

npm install hint

Then, install the new connector:

npm install @hint/connector-local

Known issues

  • This connector can’t traverse an HTML file.

Usage

Configure the connector name in your .hintrc configuration file:

{
"connector": {
"name": "local"
},
...
}

Further Reading