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

htmllint-cli

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

htmllint-cli

A simple cli for htmllint.

  • 0.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.1K
increased by4.94%
Maintainers
2
Weekly downloads
 
Created
Source

htmllint-cli

npm version ISC license dependencies devDependencies

stories in ready

Installing

Install nodejs and install the htmllint-cli module globally:

# you may have to sudo this line depending on your installation
$ npm install -g htmllint-cli

Once installed, create a configuration file for your project:

$ cd your-project
$ htmllint init

This should create a .htmllintrc file in your current directory. This file should be a valid JSON file that contains options defined on the htmllint wiki.

After creating your configuration, you can lint some files like so:

$ htmllint index.html
# also supports glob expansions
$ htmllint **/*.html
$ htmllint # by default expands to **/*.html

$ htmllint --help # to get more information

Contributing

You can use npm link to help with development.

FAQs

Package last updated on 17 Apr 2018

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