From fbcff9158f7a2d851ba89c23434b291c3813d9aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Tammerg=C3=A5rd?= Date: Tue, 7 Nov 2023 11:01:24 +0100 Subject: [PATCH] fix: specify eslint-config-prettier as peer dependency --- .changeset/mean-trees-judge.md | 7 +++++++ package.json | 1 + 2 files changed, 8 insertions(+) create mode 100644 .changeset/mean-trees-judge.md diff --git a/.changeset/mean-trees-judge.md b/.changeset/mean-trees-judge.md new file mode 100644 index 00000000..07e1f0d2 --- /dev/null +++ b/.changeset/mean-trees-judge.md @@ -0,0 +1,7 @@ +--- +'eslint-plugin-prettier': patch +--- + +fix: specify `eslint-config-prettier` as peer dependency + +It's already added to `peerDependenciesMeta` as optional, which means it should also be specified in `peerDependencies`. diff --git a/package.json b/package.json index fd29c83b..92d63e9f 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,7 @@ "peerDependencies": { "@types/eslint": ">=8.0.0", "eslint": ">=8.0.0", + "eslint-config-prettier": "*", "prettier": ">=3.0.0" }, "peerDependenciesMeta": {