From dac15f10d9ad8fc204437a50f3bc9302b3d26cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Tue, 29 Oct 2024 16:04:05 +0100 Subject: [PATCH] feat: drop ESLint v3, v4, v5, v6 & v7 support BREAKING CHANGE: Requires ESLint@^8.57.0 || ^9.0.0 --- .github/workflows/node.yml | 52 ++------------------------------------ package.json | 4 +-- 2 files changed, 4 insertions(+), 52 deletions(-) diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 56d96887a0..212ed58dad 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -27,13 +27,9 @@ jobs: node-version: ${{ fromJson(needs.matrix.outputs.latest) }} eslint: - 9 + - 9.0.0 - 8 - - 7 - - 6 - - 5 - - 4 - - 4.14 # last version without messageId - - 3 + - 8.57.0 babel-eslint: - 10 - 9 @@ -44,54 +40,10 @@ jobs: - 7 - 8 exclude: - - eslint: 3 - babel-eslint: 10 - - eslint: 3 - typescript-eslint: 5 - - eslint: 4 - typescript-eslint: 5 - - eslint: 4.14 - typescript-eslint: 5 - - eslint: 5 - typescript-eslint: 5 - - eslint: 3 - typescript-eslint: 6 - - eslint: 4 - typescript-eslint: 6 - - eslint: 4.14 - typescript-eslint: 6 - - eslint: 5 - typescript-eslint: 6 - - eslint: 6 - typescript-eslint: 6 - eslint: 9 typescript-eslint: 6 - - eslint: 3 - typescript-eslint: 7 - - eslint: 4 - typescript-eslint: 7 - - eslint: 4.14 - typescript-eslint: 7 - - eslint: 5 - typescript-eslint: 7 - - eslint: 6 - typescript-eslint: 7 - - eslint: 7 - typescript-eslint: 7 - eslint: 9 typescript-eslint: 7 - - eslint: 3 - typescript-eslint: 8 - - eslint: 4 - typescript-eslint: 8 - - eslint: 4.14 - typescript-eslint: 8 - - eslint: 5 - typescript-eslint: 8 - - eslint: 6 - typescript-eslint: 8 - - eslint: 7 - typescript-eslint: 8 - eslint: 9 typescript-eslint: 5 - node-version: 19 diff --git a/package.json b/package.json index a101431e34..7a909ff77d 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "@types/node": "^4.9.5", "@typescript-eslint/parser": "^2.34.0 || ^3.10.1 || ^4 || ^5 || ^6.20 || ^7.14.1 || ^8.4", "babel-eslint": "^8 || ^9 || ^10.1.0", - "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7", + "eslint": "^8.57.0 || ^9.0.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-doc-generator": "^1.7.1", "eslint-plugin-eslint-plugin": "^2.3.0 || ^3.5.3 || ^4.0.1 || ^5.0.5", @@ -82,7 +82,7 @@ "typescript-eslint-parser": "^20.1.1" }, "peerDependencies": { - "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7" + "eslint": "^8.57.0 || ^9.0.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0"