Skip to content

Commit ae7a73c

Browse files
authoredJul 6, 2023
fix: compatibility with prettier@3 without plugins (#564)
1 parent 00449df commit ae7a73c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
 

‎.changeset/stale-guests-battle.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-plugin-prettier": patch
3+
---
4+
5+
fix: compatibility with prettier@3 without plugins

‎worker.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ runAsWorker(
4848
withNodeModules: false,
4949
ignorePath: '.prettierignore',
5050
plugins: /** @type {string[] | undefined} */ (
51-
prettierRcOptions ? prettierRcOptions.plugins : null
51+
prettierRcOptions ? prettierRcOptions.plugins : undefined
5252
),
5353
...eslintFileInfoOptions,
5454
},

0 commit comments

Comments
 (0)
Please sign in to comment.