From 35ce5a76a902807446c700600939f0b398fb56ae Mon Sep 17 00:00:00 2001 From: Mark Skelton Date: Wed, 19 Jan 2022 16:47:37 -0600 Subject: [PATCH] Make `@babel/eslint-parser` peer dep optional --- .changeset/wicked-pandas-turn.md | 5 +++++ packages/eslint-config-widen/package.json | 3 +++ yarn.lock | 2 ++ 3 files changed, 10 insertions(+) create mode 100644 .changeset/wicked-pandas-turn.md diff --git a/.changeset/wicked-pandas-turn.md b/.changeset/wicked-pandas-turn.md new file mode 100644 index 0000000..deed0dc --- /dev/null +++ b/.changeset/wicked-pandas-turn.md @@ -0,0 +1,5 @@ +--- +'eslint-config-widen': minor +--- + +Make `@babel/eslint-parser` and optional peer dependency. diff --git a/packages/eslint-config-widen/package.json b/packages/eslint-config-widen/package.json index 32f288f..1f7165f 100644 --- a/packages/eslint-config-widen/package.json +++ b/packages/eslint-config-widen/package.json @@ -35,6 +35,9 @@ "eslint-plugin-widen": ">=0.1.0" }, "peerDependenciesMeta": { + "@babel/eslint-parser": { + "optional": true + }, "@typescript-eslint/eslint-plugin": { "optional": true }, diff --git a/yarn.lock b/yarn.lock index 07d17d9..2ab0331 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3928,6 +3928,8 @@ __metadata: eslint-plugin-sort: ">= 2" eslint-plugin-widen: ">=0.1.0" peerDependenciesMeta: + "@babel/eslint-parser": + optional: true "@typescript-eslint/eslint-plugin": optional: true "@typescript-eslint/parser":