From 6af4b4f6acefcdc5a535dafbe141a531cf36defe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= Date: Wed, 25 Sep 2024 17:52:28 +0200 Subject: [PATCH] feat: add `@typescript-eslint/no-deprecated` BREAKING CHANGE: New rule introduced Fixes #5 --- .eslintrc.json | 1 + README.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 802e501..931bf10 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -263,6 +263,7 @@ } ], "@typescript-eslint/no-base-to-string": "error", + "@typescript-eslint/no-deprecated": "error", "@typescript-eslint/no-dynamic-delete": "error", "@typescript-eslint/no-extra-non-null-assertion": "error", "@typescript-eslint/no-redundant-type-constituents": "error", diff --git a/README.md b/README.md index 410aa2c..3573403 100644 --- a/README.md +++ b/README.md @@ -56,8 +56,8 @@ If you want to use **TypeScript**, you also need to install: ```sh npm install --save-dev \ "typescript@^5.6.2" \ - "@typescript-eslint/eslint-plugin@^8.0.0" \ - "@typescript-eslint/parser@^8.0.0" + "@typescript-eslint/eslint-plugin@^8.3.0" \ + "@typescript-eslint/parser@^8.3.0" ``` Dependencies are: