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

markdown-eslint-parser

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-eslint-parser

The ESLint custom parser for *.md files.

  • 1.2.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
19K
decreased by-24.68%
Maintainers
1
Weekly downloads
 
Created
Source

markdown-eslint-parser

The ESLint custom parser for .md files. Mainly to use together with eslint-plugin-md.

It doesn't actually produce markdown AST, just returns markdown code in a format acceptable by eslint for use with eslint-plugin-md. To be clear, it returns Js AST with an empty "Program" node, but this node contains property mdCode that contains markdown in string format.

Usage

Typically you will use it together with eslint-plugin-md. To use parser as a standalone package, just specify it in your eslintrc:

yarn add -D markdown-eslint-parser
// .eslintrc
module.exports = {
  overrides: {
    '*.md': {
      parser: 'markdown-eslint-parser',
    },
  },
}

Keywords

FAQs

Package last updated on 15 Mar 2020

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