From 873100f85b498d637a903fd7f0f894d6569d574a Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Tue, 12 Nov 2024 08:13:52 +1300 Subject: [PATCH] feat: make `@eslint/js` a required peer dependency BREAKING CHANGE: you must now ensure `@eslint/js` is installed --- package-lock.json | 3 ++- package.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1646b76..13c7f5d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,6 @@ "version": "3.4.0", "license": "ISC", "dependencies": { - "@eslint/js": "^8.57.1", "eslint-config-prettier": "^8.0.0" }, "devDependencies": { @@ -18,6 +17,7 @@ "@commitlint/cli": "^19.0.0", "@commitlint/config-conventional": "^19.0.0", "@eslint-community/eslint-plugin-eslint-comments": "^4.0.0", + "@eslint/js": "^8.57.1", "@semantic-release/changelog": "^6.0.0", "@semantic-release/git": "^10.0.0", "@stylistic/eslint-plugin-js": "^2.6.1", @@ -52,6 +52,7 @@ }, "peerDependencies": { "@eslint-community/eslint-plugin-eslint-comments": ">= 4", + "@eslint/js": ">= 8.0", "@stylistic/eslint-plugin-js": ">= 2.0.0", "@stylistic/eslint-plugin-ts": ">= 2.0.0", "@typescript-eslint/eslint-plugin": "^7.0.0 || ^8.0.0", diff --git a/package.json b/package.json index 5022bee..d5ac8b4 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,6 @@ } }, "dependencies": { - "@eslint/js": "^8.57.1", "eslint-config-prettier": "^8.0.0" }, "devDependencies": { @@ -75,6 +74,7 @@ "@commitlint/cli": "^19.0.0", "@commitlint/config-conventional": "^19.0.0", "@eslint-community/eslint-plugin-eslint-comments": "^4.0.0", + "@eslint/js": "^8.57.1", "@semantic-release/changelog": "^6.0.0", "@semantic-release/git": "^10.0.0", "@stylistic/eslint-plugin-js": "^2.6.1", @@ -109,6 +109,7 @@ }, "peerDependencies": { "@eslint-community/eslint-plugin-eslint-comments": ">= 4", + "@eslint/js": ">= 8.0", "@stylistic/eslint-plugin-js": ">= 2.0.0", "@stylistic/eslint-plugin-ts": ">= 2.0.0", "@typescript-eslint/eslint-plugin": "^7.0.0 || ^8.0.0",