Skip to content

Commit

Permalink
docs: it usually is used as dev dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Jul 29, 2019
1 parent f0ab288 commit e4f24c9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,18 @@

> [ESLint](https://eslint.org/) Parser/Plugin for [MDX](/~https://github.com/mdx-js/mdx)
## Peer Dependency

Please use `eslint >= 6.0.0`.

## Install

```sh
# yarn
yarn add @rxts/eslint-plugin-mdx
yarn add -D @rxts/eslint-plugin-mdx

# npm
npm i @rxts/eslint-plugin-mdx
npm i -D @rxts/eslint-plugin-mdx
```

## Usage
Expand Down
5 changes: 5 additions & 0 deletions test/test.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
name: FollowReveal
route: /follow-reveal
---

import { Test } from './test'

# Hello
Expand Down

0 comments on commit e4f24c9

Please sign in to comment.