File tree 2 files changed +19
-2
lines changed
2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 1
1
github :
2
2
- JounQin
3
+ - prettier-eslint
3
4
- 1stG
4
5
- rx-ts
5
6
- un-ts
6
- patreon : 1stG
7
+ patreon : PrettierESLint
7
8
open_collective : eslint-plugin-prettier
8
9
custom :
9
10
- https://opencollective.com/1stG
10
11
- https://opencollective.com/rxts
11
12
- https://opencollective.com/unts
13
+ - https://www.patreon.com/1stG
12
14
- https://afdian.net/@JounQin
Original file line number Diff line number Diff line change 10
10
11
11
- [ #621 ] ( https://github.com/prettier/eslint-plugin-prettier/pull/621 ) [ ` 2b09e7f ` ] ( https://github.com/prettier/eslint-plugin-prettier/commit/2b09e7fc64f38297c8ca39d087dba1f122ef999c ) Thanks [ @JounQin ] ( https://github.com/JounQin ) ! - feat: support parsing ` markdown ` via ` eslint-mdx ` natively
12
12
13
+ What means the following is unnecessary anymore when using with ` eslint-mdx ` /` eslint-plugin-mdx ` !
14
+
15
+ ``` json5
16
+ [
17
+ {
18
+ files: [' **/*.md' ],
19
+ rules: { ' prettier/prettier' : [' error' , { parser: ' markdown' }] },
20
+ },
21
+ {
22
+ files: [' **/*.mdx' ],
23
+ rules: { ' prettier/prettier' : [' error' , { parser: ' mdx' }] },
24
+ },
25
+ ]
26
+ ```
27
+
13
28
## 5.1.1
14
29
15
30
### Patch Changes
26
41
27
42
``` js
28
43
// eslint.config.js
29
- const eslintPluginPrettierRecommended = require (" eslint-plugin-prettier/recommended" );
44
+ const eslintPluginPrettierRecommended = require (' eslint-plugin-prettier/recommended' );
30
45
31
46
module .exports = [
32
47
// Any other config imports go at the top
You can’t perform that action at this time.
0 commit comments