eslint-plugin-mdx icon indicating copy to clipboard operation
eslint-plugin-mdx copied to clipboard

ESLint Plugin for MDX

eslint-plugin-mdx

This repository is no longer maintained, and the eslint-plugin-mdx name has been transferred to eslint-mdx.


Travis Prettier npm semantic-release License

ESLint parser for MDX

Install

With yarn:

yarn add eslint-plugin-mdx

With npm:

npm install --save eslint-plugin-mdx

Usage

  1. In your ESLint config file, add:

    {
      "extends": ["plugin:mdx/recommended"]
    }
    
  2. Make sure ESLint knows to run on .mdx files:

    eslint --ext js,mdx .