Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hint

Package Overview
Dependencies
Maintainers
5
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hint

The linting tool for the web

  • 7.1.13
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
29K
increased by21.13%
Maintainers
5
Weekly downloads
 
Created
Source

webhint (hint)

Quick start user guide

If you want to have an idea of what webhint does and you have an updated version of npm (v6.x) and Node.js LTS (v14.x) or later, x64 version recommended you can use the following command:

npx hint https://example.com

The recommended way of running webhint is as a devDependency of your project.

npm install hint --save-dev

And then add a script task to your package.json:

{
    ...
    "scripts": {
        "webhint": "hint http://localhost:8080"
    }
}

And run it via:

npm run webhint

You can also run webhint from within VS Code and as a browser extension.

NOTE: If you run into any issues during the install process please check the troubleshoot section.

Further reading

Now that you have webhint up and running, it is time to learn a bit more about the different pieces:

Contributing to webhint

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.

Keywords

FAQs

Package last updated on 29 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc