File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 11github :
22 - JounQin
3+ - prettier-eslint
34 - 1stG
45 - rx-ts
56 - un-ts
6- patreon : 1stG
7+ patreon : PrettierESLint
78open_collective : eslint-plugin-prettier
89custom :
910 - https://opencollective.com/1stG
1011 - https://opencollective.com/rxts
1112 - https://opencollective.com/unts
13+ - https://www.patreon.com/1stG
1214 - https://afdian.net/@JounQin
Original file line number Diff line number Diff line change 1010
1111- [ #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
1212
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+
1328## 5.1.1
1429
1530### Patch Changes
2641
2742 ``` js
2843 // eslint.config.js
29- const eslintPluginPrettierRecommended = require (" eslint-plugin-prettier/recommended" );
44+ const eslintPluginPrettierRecommended = require (' eslint-plugin-prettier/recommended' );
3045
3146 module .exports = [
3247 // Any other config imports go at the top
You can’t perform that action at this time.
0 commit comments