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

@laboratoria/mdlint

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@laboratoria/mdlint

CLI tool to lint your **markdown** files using the [markdownlint](https://github.com/DavidAnson/markdownlint) module.

  • 1.2.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

@laboratoria/mdlint

CLI tool to lint your markdown files using the markdownlint module.

Node.js CI

Installation

Globally:

npm i -g @laboratoria/mdlint

In your project:

npm i --save-dev @laboratoria/mdlint

Once you have installed it in your project you can add a task in your package.json to run the linter:

{
  "name": "your-package",
  "version": "0.0.0",
  "scripts": {
    "lint": "mdlint ."
  },
  "devDependencies": {
    "@laboratoria/mdlint": "^1.0.2"
  }
}

This will allow you to run the linter like this:

npm run lint

Usage

$ mdlint --help
Usage:

  mdlint [path1] [path2] ...

Options:

  -c, --config   Path to config file. Default: '.mdlintrc'
  -i, --ignore   Path to file with patterns to ignore. Default: '.mdlintignore'
  -v, --verbose  Show verbose output.
  -h, --help     Show this help.
  -V, --version  Show mdlint version.

Laboratoria 2017

Configuration

.mdlintrc

{
  "default": true,
  "ul-style": { "style": "sublist" },
  "no-duplicate-header": false
}

.mdlintignore

node_modules/
bower_components/

FAQs

Package last updated on 18 Jan 2022

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