From 3271346cfa8cdc2d44bee64718399eea9f603ea3 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Mon, 27 May 2024 22:55:09 +0200 Subject: [PATCH] Remove deprecated rule `@typescript-eslint/prefer-ts-expect-error` --- index.js | 1 - package.json | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index e84a61d..b32c7ce 100644 --- a/index.js +++ b/index.js @@ -613,7 +613,6 @@ module.exports = { '@typescript-eslint/prefer-reduce-type-parameter': 'error', '@typescript-eslint/prefer-string-starts-ends-with': 'error', - '@typescript-eslint/prefer-ts-expect-error': 'error', '@typescript-eslint/promise-function-async': 'error', quotes: 'off', '@typescript-eslint/quotes': [ diff --git a/package.json b/package.json index 677e207..6ec5a93 100644 --- a/package.json +++ b/package.json @@ -45,15 +45,15 @@ "simple" ], "devDependencies": { - "@typescript-eslint/eslint-plugin": "^7.4.0", - "@typescript-eslint/parser": "^7.4.0", + "@typescript-eslint/eslint-plugin": "^7.11.0", + "@typescript-eslint/parser": "^7.11.0", "ava": "^6.1.2", "eslint": "^8.56.0", "typescript": "^5.3.3" }, "peerDependencies": { - "@typescript-eslint/eslint-plugin": ">=7.4.0", - "@typescript-eslint/parser": ">=7.4.0", + "@typescript-eslint/eslint-plugin": ">=7.11.0", + "@typescript-eslint/parser": ">=7.11.0", "eslint": ">=8.56.0", "typescript": ">=5.0.0" }