Socket
Socket
Sign inDemoInstall

@nodecraft/htmllint-cli

Package Overview
Dependencies
171
Maintainers
4
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nodecraft/htmllint-cli

A simple cli for htmllint.


Version published
Weekly downloads
18
decreased by-37.93%
Maintainers
4
Created
Weekly downloads
 

Readme

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

Last updated on 03 Nov 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc