diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index f21b9cf6d..5862cc577 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -73,11 +73,20 @@ jobs: matrix: node-version: [14.x, 16.x, 18.x, 19.x, 20.x, 21.x] eslint-version: [7, 8] - ts-eslint-plugin-version: [5, 6] + ts-eslint-plugin-version: [5, 6, 7] exclude: # ts-eslint/plugin@6 doesn't support node@14 - node-version: 14.x ts-eslint-plugin-version: 6 + # ts-eslint/plugin@7 doesn't support node@14 + - node-version: 14.x + ts-eslint-plugin-version: 7 + # ts-eslint/plugin@7 doesn't support node@16 + - node-version: 16.x + ts-eslint-plugin-version: 7 + # ts-eslint/plugin@7 doesn't support eslint@7 + - eslint-version: 7 + ts-eslint-plugin-version: 7 runs-on: ubuntu-latest steps: diff --git a/package.json b/package.json index 537a0e371..86670baf0 100644 --- a/package.json +++ b/package.json @@ -142,7 +142,7 @@ "typescript": "^5.0.4" }, "peerDependencies": { - "@typescript-eslint/eslint-plugin": "^5.0.0 || ^6.0.0", + "@typescript-eslint/eslint-plugin": "^5.0.0 || ^6.0.0 || ^7.0.0", "eslint": "^7.0.0 || ^8.0.0", "jest": "*" }, diff --git a/yarn.lock b/yarn.lock index 59a787928..70b110452 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5002,7 +5002,7 @@ __metadata: ts-node: ^10.2.1 typescript: ^5.0.4 peerDependencies: - "@typescript-eslint/eslint-plugin": ^5.0.0 || ^6.0.0 + "@typescript-eslint/eslint-plugin": ^5.0.0 || ^6.0.0 || ^7.0.0 eslint: ^7.0.0 || ^8.0.0 jest: "*" peerDependenciesMeta: