Skip to content

Commit

Permalink
chore: add more related funding links
Browse files Browse the repository at this point in the history
format and test before release
  • Loading branch information
JounQin committed Dec 24, 2023
1 parent d102278 commit f0eaca7
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
github:
- JounQin
- prettier-eslint
- 1stG
- rx-ts
- un-ts
patreon: 1stG
patreon: PrettierESLint
open_collective: eslint-plugin-prettier
custom:
- https://opencollective.com/1stG
- https://opencollective.com/rxts
- https://opencollective.com/unts
- https://www.patreon.com/1stG
- https://afdian.net/@JounQin
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
test/fixtures
/pnpm-lock.yaml
# this file doesn't exist, but we use it as a filename that should be ignored
# by prettier in the tests
ignore-me.js
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@

- [#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

What means the following is unnecessary anymore when using with `eslint-mdx`/`eslint-plugin-mdx`!

```json5
[
{
files: ['**/*.md'],
rules: { 'prettier/prettier': ['error', { parser: 'markdown' }] },
},
{
files: ['**/*.mdx'],
rules: { 'prettier/prettier': ['error', { parser: 'mdx' }] },
},
]
```

## 5.1.1

### Patch Changes
Expand All @@ -26,7 +41,7 @@

```js
// eslint.config.js
const eslintPluginPrettierRecommended = require("eslint-plugin-prettier/recommended");
const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');
module.exports = [
// Any other config imports go at the top
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
"format": "prettier --write . && pnpm lint --fix",
"lint": "eslint . --cache -f friendly --max-warnings 10",
"prepare": "simple-git-hooks",
"prerelease": "pnpm format && pnpm test",
"release": "changeset publish",
"release": "pnpm format && pnpm test && changeset publish",
"test": "pnpm lint && mocha"
},
"peerDependencies": {
Expand Down

0 comments on commit f0eaca7

Please sign in to comment.