# markdown-eslint-parser

> The ESLint custom parser for *.md files.

Latest version **1.2.1** (published 2020-03-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install markdown-eslint-parser
pnpm add markdown-eslint-parser
yarn add markdown-eslint-parser
bun add markdown-eslint-parser
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.1 |
| Published | 2020-03-15 |
| First published | 2020-03-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 1 |
| Unpacked size | 2.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Leonid Buneev |
| Maintainers | leo-buneev |
| Keywords | eslint, eslintparser, eslint-parser, markdown |

## Links

- npm: https://www.npmjs.com/package/markdown-eslint-parser
- npm.io page: https://npm.io/package/markdown-eslint-parser

## Dependencies (1)

- [eslint](https://npm.io/package/eslint.md) ^6.8.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 1.2.1 (latest) — 2020-03-15
- 1.2.0 — 2020-03-15

## README

# markdown-eslint-parser

The ESLint custom parser for `.md` files. Mainly to use together with
[eslint-plugin-md](https://github.com/leo-buneev/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](https://github.com/leo-buneev/eslint-plugin-md). To use
parser as a standalone package, just specify it in your `eslintrc`:

```bash
yarn add -D markdown-eslint-parser
```

```js
// .eslintrc
module.exports = {
  overrides: {
    '*.md': {
      parser: 'markdown-eslint-parser',
    },
  },
}
```

---
_Source: https://npm.io/package/markdown-eslint-parser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
