New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

markdownlint-cli2-formatter-default

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdownlint-cli2-formatter-default

An output formatter for markdownlint-cli2 that produces the same output as markdownlint-cli

  • 0.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
214K
decreased by-14.94%
Maintainers
1
Weekly downloads
 
Created

What is markdownlint-cli2-formatter-default?

The markdownlint-cli2-formatter-default package is a default formatter for markdownlint-cli2, a command-line interface for the markdownlint library. It provides a way to format the output of markdownlint in a human-readable manner, making it easier to understand and fix linting issues in Markdown files.

What are markdownlint-cli2-formatter-default's main functionalities?

Basic Formatting

This feature allows you to run markdownlint on all Markdown files in a directory and format the output using the default formatter. The command will lint the files and display the results in a readable format.

markdownlint-cli2 '**/*.md' --format markdownlint-cli2-formatter-default

Custom Configuration

This feature allows you to use a custom configuration file for markdownlint while still using the default formatter. The command specifies a custom configuration file (.markdownlint.json) to tailor the linting rules to your project's needs.

markdownlint-cli2 '**/*.md' --format markdownlint-cli2-formatter-default --config .markdownlint.json

Integration with CI/CD

This feature demonstrates how to integrate markdownlint with a CI/CD pipeline. The command runs markdownlint with the default formatter and provides feedback based on whether the linting passed or failed.

markdownlint-cli2 '**/*.md' --format markdownlint-cli2-formatter-default && echo 'Linting passed!' || echo 'Linting failed!'

Other packages similar to markdownlint-cli2-formatter-default

Keywords

FAQs

Package last updated on 06 Sep 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