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

markdownlint-cli

Package Overview
Dependencies
Maintainers
3
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdownlint-cli

MarkdownLint Command Line Interface

  • 0.27.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created

What is markdownlint-cli?

The markdownlint-cli package is a command-line interface for the markdownlint library, which is used to lint Markdown files. It helps ensure that Markdown files adhere to a consistent style and are free of common errors.

What are markdownlint-cli's main functionalities?

Linting a single file

This command lints a single Markdown file (README.md) and outputs any issues found according to the default rules.

markdownlint README.md

Linting multiple files

This command lints all Markdown files in the 'docs' directory and its subdirectories, using a glob pattern to match the files.

markdownlint "docs/**/*.md"

Using a custom configuration file

This command lints the README.md file using a custom configuration file (.markdownlint.json) to specify the rules and options.

markdownlint -c .markdownlint.json README.md

Fixing linting issues automatically

This command attempts to automatically fix any linting issues found in the README.md file.

markdownlint --fix README.md

Ignoring specific files or directories

This command lints all Markdown files in the current directory, but ignores the 'node_modules' directory.

markdownlint . --ignore node_modules

Other packages similar to markdownlint-cli

Keywords

FAQs

Package last updated on 02 Mar 2021

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