eslint-plugin-mdx
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.
Install
With yarn
:
yarn add eslint-plugin-mdx
With npm
:
npm install --save eslint-plugin-mdx
Usage
-
In your ESLint config file, add:
{ "extends": ["plugin:mdx/recommended"] }
-
Make sure ESLint knows to run on
.mdx
files:eslint --ext js,mdx .