File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 6
6
[ ![ David Dev] ( https://img.shields.io/david/dev/rx-ts/eslint-plugin-mdx.svg )] ( https://david-dm.org/rx-ts/eslint-plugin-mdx?type=dev )
7
7
[ ![ Conventional Commits] ( https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg )] ( https://conventionalcommits.org )
8
8
[ ![ code style: prettier] ( https://img.shields.io/badge/code_style-prettier-ff69b4.svg )] ( https://github.com/prettier/prettier )
9
- [ ![ License] ( https://img.shields.io/badge/license-MIT-blue.svg )] ( LICENSE )
10
9
11
10
> [ ESLint] ( https://eslint.org/ ) Parser/Plugin for [ MDX] ( https://github.com/mdx-js/mdx )
12
11
@@ -44,3 +43,27 @@ npm i -D @rxts/eslint-plugin-mdx
44
43
``` sh
45
44
eslint . --ext js,mdx
46
45
```
46
+
47
+ 3 . Custom parser for ES syntax is also supported:
48
+
49
+ ``` json
50
+ {
51
+ "overrides" : [
52
+ {
53
+ "files" : [" *.mdx" ],
54
+ "extends" : [" plugin:@rxts/mdx/recommended" ],
55
+ "parserOptions" : {
56
+ "parser" : " babel-eslint"
57
+ }
58
+ }
59
+ ]
60
+ }
61
+ ```
62
+
63
+ ## Changelog
64
+
65
+ Detailed changes for each release are documented in [ CHANGELOG.md] ( ./CHANGELOG.md ) .
66
+
67
+ ## License
68
+
69
+ [ MIT] ( http://opensource.org/licenses/MIT )
You can’t perform that action at this time.
0 commit comments