From 2b3414346133ecacde929fdc6c2d00ebd1d738c6 Mon Sep 17 00:00:00 2001 From: Martin Machacek Date: Thu, 15 Aug 2024 13:33:45 +0200 Subject: [PATCH] Enhancement: Deprecation eslint rule --- .eslintrc.cjs | 6 ++---- npm-shrinkwrap.json | 15 --------------- 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index c8fecd9c5a5..d70e3f6dcc7 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -150,8 +150,7 @@ module.exports = { "plugins": [ "@typescript-eslint", "cli-microsoft365", - "mocha", - "deprecation" + "mocha" ], "ignorePatterns": [ "**/package-generate/assets/**", @@ -240,8 +239,7 @@ module.exports = { ], "@typescript-eslint/explicit-function-return-type": ["error", { "allowExpressions": true }], "mocha/no-identical-title": "error", - "@typescript-eslint/no-floating-promises": "error", - "deprecation/deprecation": "error" + "@typescript-eslint/no-floating-promises": "error" }, "overrides": [ { diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index a6ed26a5d34..44ef29e9164 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -2434,21 +2434,6 @@ "resolved": "eslint-rules", "link": true }, - "node_modules/eslint-plugin-deprecation": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-deprecation/-/eslint-plugin-deprecation-3.0.0.tgz", - "integrity": "sha512-JuVLdNg/uf0Adjg2tpTyYoYaMbwQNn/c78P1HcccokvhtRphgnRjZDKmhlxbxYptppex03zO76f97DD/yQHv7A==", - "dev": true, - "dependencies": { - "@typescript-eslint/utils": "^7.0.0", - "ts-api-utils": "^1.3.0", - "tslib": "^2.3.1" - }, - "peerDependencies": { - "eslint": "^8.0.0", - "typescript": "^4.2.4 || ^5.0.0" - } - }, "node_modules/eslint-plugin-mocha": { "version": "10.5.0", "resolved": "https://registry.npmjs.org/eslint-plugin-mocha/-/eslint-plugin-mocha-10.5.0.tgz",