From e2de8d4f7577d7c5fad8a0e0e353abc7d7555c3a Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Mon, 27 Mar 2023 01:51:14 +0900 Subject: [PATCH] Drop eslint-plugin-deprecation to reduce TypeScript 5 updating blocker (#293) * `npm uninstall eslint-plugin-deprecation` The deprecation linter is now a blocker to updating dependencies. This is an ironic thing. #287 * Disable eslint-plugin-deprecation --- .eslintrc.yml | 2 -- package-lock.json | 69 ----------------------------------------------- package.json | 1 - 3 files changed, 72 deletions(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index 288da87..31c484a 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -3,7 +3,6 @@ env: es2021: true jest/globals: true plugins: - - deprecation - '@typescript-eslint' extends: - plugin:@typescript-eslint/recommended @@ -20,7 +19,6 @@ overrides: filenames/match-regex: 'off' rules: i18n-text/no-en: 'off' - deprecation/deprecation: error no-restricted-syntax: - error - selector: TSEnumDeclaration diff --git a/package-lock.json b/package-lock.json index 688274a..1050bf2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,6 @@ "esbuild": "^0.17.12", "esbuild-jest-transform": "^1.1.1", "eslint": "^8.36.0", - "eslint-plugin-deprecation": "^1.3.3", "eslint-plugin-jest": "^27.2.1", "jest": "^29.5.0", "ts-node": "^10.9.1", @@ -2123,25 +2122,6 @@ "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/@typescript-eslint/experimental-utils": { - "version": "5.27.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.27.1.tgz", - "integrity": "sha512-Vd8uewIixGP93sEnmTRIH6jHZYRQRkGPDPpapACMvitJKX8335VHNyqKTE+mZ+m3E2c5VznTZfSsSsS5IF7vUA==", - "dev": true, - "dependencies": { - "@typescript-eslint/utils": "5.27.1" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, "node_modules/@typescript-eslint/parser": { "version": "5.56.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.56.0.tgz", @@ -3197,27 +3177,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint-plugin-deprecation": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/eslint-plugin-deprecation/-/eslint-plugin-deprecation-1.3.3.tgz", - "integrity": "sha512-Bbkv6ZN2cCthVXz/oZKPwsSY5S/CbgTLRG4Q2s2gpPpgNsT0uJ0dB5oLNiWzFYY8AgKX4ULxXFG1l/rDav9QFA==", - "dev": true, - "dependencies": { - "@typescript-eslint/experimental-utils": "^5.0.0", - "tslib": "^2.3.1", - "tsutils": "^3.21.0" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0", - "typescript": "^3.7.5 || ^4.0.0" - } - }, - "node_modules/eslint-plugin-deprecation/node_modules/tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", - "dev": true - }, "node_modules/eslint-plugin-jest": { "version": "27.2.1", "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-27.2.1.tgz", @@ -7517,15 +7476,6 @@ } } }, - "@typescript-eslint/experimental-utils": { - "version": "5.27.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.27.1.tgz", - "integrity": "sha512-Vd8uewIixGP93sEnmTRIH6jHZYRQRkGPDPpapACMvitJKX8335VHNyqKTE+mZ+m3E2c5VznTZfSsSsS5IF7vUA==", - "dev": true, - "requires": { - "@typescript-eslint/utils": "5.27.1" - } - }, "@typescript-eslint/parser": { "version": "5.56.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.56.0.tgz", @@ -8289,25 +8239,6 @@ } } }, - "eslint-plugin-deprecation": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/eslint-plugin-deprecation/-/eslint-plugin-deprecation-1.3.3.tgz", - "integrity": "sha512-Bbkv6ZN2cCthVXz/oZKPwsSY5S/CbgTLRG4Q2s2gpPpgNsT0uJ0dB5oLNiWzFYY8AgKX4ULxXFG1l/rDav9QFA==", - "dev": true, - "requires": { - "@typescript-eslint/experimental-utils": "^5.0.0", - "tslib": "^2.3.1", - "tsutils": "^3.21.0" - }, - "dependencies": { - "tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", - "dev": true - } - } - }, "eslint-plugin-jest": { "version": "27.2.1", "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-27.2.1.tgz", diff --git a/package.json b/package.json index 6f36154..bfa25ee 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,6 @@ "esbuild": "^0.17.12", "esbuild-jest-transform": "^1.1.1", "eslint": "^8.36.0", - "eslint-plugin-deprecation": "^1.3.3", "eslint-plugin-jest": "^27.2.1", "jest": "^29.5.0", "ts-node": "^10.9.1",