From 65aae17a2689311e7c87d6095b37cdeccedcbe7d Mon Sep 17 00:00:00 2001 From: Marco Ferrari Date: Wed, 3 Jan 2024 10:45:39 +0100 Subject: [PATCH] build!: uninstall eslint-config-airbnb-typescript (#5077) eslint-config-airbnb-typescript is unmaintained. Having it installed is blocking @typescript-eslint/eslint-plugin updates --- dependencies/package-lock.json | 15 --------------- dependencies/package.json | 1 - docs/upgrade-guide.md | 8 ++++++++ test/inspec/super-linter/controls/super_linter.rb | 1 - 4 files changed, 8 insertions(+), 17 deletions(-) diff --git a/dependencies/package-lock.json b/dependencies/package-lock.json index 9cb7ea6f..574d071e 100644 --- a/dependencies/package-lock.json +++ b/dependencies/package-lock.json @@ -19,7 +19,6 @@ "axios": "^1.6.2", "eslint": "^8.56.0", "eslint-config-airbnb": "^19.0.4", - "eslint-config-airbnb-typescript": "^17.1.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^27.6.0", "eslint-plugin-json": "^3.1.0", @@ -10453,20 +10452,6 @@ "semver": "bin/semver.js" } }, - "node_modules/eslint-config-airbnb-typescript": { - "version": "17.1.0", - "resolved": "https://registry.npmjs.org/eslint-config-airbnb-typescript/-/eslint-config-airbnb-typescript-17.1.0.tgz", - "integrity": "sha512-GPxI5URre6dDpJ0CtcthSZVBAfI+Uw7un5OYNVxP2EYi3H81Jw701yFP7AU+/vCE7xBtFmjge7kfhhk4+RAiig==", - "dependencies": { - "eslint-config-airbnb-base": "^15.0.0" - }, - "peerDependencies": { - "@typescript-eslint/eslint-plugin": "^5.13.0 || ^6.0.0", - "@typescript-eslint/parser": "^5.0.0 || ^6.0.0", - "eslint": "^7.32.0 || ^8.2.0", - "eslint-plugin-import": "^2.25.3" - } - }, "node_modules/eslint-config-prettier": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz", diff --git a/dependencies/package.json b/dependencies/package.json index 95f33924..a45ee4fd 100644 --- a/dependencies/package.json +++ b/dependencies/package.json @@ -14,7 +14,6 @@ "axios": "^1.6.2", "eslint": "^8.56.0", "eslint-config-airbnb": "^19.0.4", - "eslint-config-airbnb-typescript": "^17.1.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-jest": "^27.6.0", "eslint-plugin-json": "^3.1.0", diff --git a/docs/upgrade-guide.md b/docs/upgrade-guide.md index 66d00c18..e6238ec7 100644 --- a/docs/upgrade-guide.md +++ b/docs/upgrade-guide.md @@ -8,6 +8,14 @@ This document helps you upgrade from a super-linter version to newer ones: This section helps you migrate from super-linter `v5` to `v6`. +### eslint-config-airbnb-typescript + +- eslint-config-airbnb-typescript (a library to add TypeScript support to + Airbnb's ESLint config) + [appears to be unmaintained](https://github.com/iamturns/eslint-config-airbnb-typescript/issues/314). + We had to remove it from super-linter because it was blocking updates to other + dependencies, such as ESLint. + ### Checkstyle - Checkstyle diff --git a/test/inspec/super-linter/controls/super_linter.rb b/test/inspec/super-linter/controls/super_linter.rb index 118efe7c..4a540769 100644 --- a/test/inspec/super-linter/controls/super_linter.rb +++ b/test/inspec/super-linter/controls/super_linter.rb @@ -305,7 +305,6 @@ control "super-linter-installed-npm-packages" do "axios", "eslint", "eslint-config-airbnb", - "eslint-config-airbnb-typescript", "eslint-config-prettier", "eslint-plugin-jest", "eslint-plugin-json",