diff --git a/scripts/check-dependencies/check-dependencies.mjs b/scripts/check-dependencies/check-dependencies.mjs index 1a70cf6399e4..7c091f910a09 100644 --- a/scripts/check-dependencies/check-dependencies.mjs +++ b/scripts/check-dependencies/check-dependencies.mjs @@ -3,6 +3,10 @@ const ignore = { 'mkdirp', 'webpack', ], + 'tests/eslint': [ + // https://github.com/un-ts/eslint-plugin-sonar/issues/145 + '@typescript-eslint/utils', + ], 'tests/observables': [ 'moon-unit', ], diff --git a/tests/eslint/package-lock.json b/tests/eslint/package-lock.json index bd7565ca0877..a988e1029bb8 100644 --- a/tests/eslint/package-lock.json +++ b/tests/eslint/package-lock.json @@ -9,6 +9,7 @@ "@eslint-community/eslint-plugin-eslint-comments": "^4.3.0", "@eslint/compat": "^1.1.1", "@stylistic/eslint-plugin-js": "^2.6.2", + "@typescript-eslint/utils": "^7.18.0", "confusing-browser-globals": "^1.0.11", "eslint": "^9.9.0", "eslint-plugin-array-func": "^5.0.2", @@ -950,6 +951,29 @@ "node": ">=10" } }, + "node_modules/@typescript-eslint/utils": { + "version": "7.18.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.18.0.tgz", + "integrity": "sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "@typescript-eslint/scope-manager": "7.18.0", + "@typescript-eslint/types": "7.18.0", + "@typescript-eslint/typescript-estree": "7.18.0" + }, + "engines": { + "node": "^18.18.0 || >=20.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.56.0" + } + }, "node_modules/@typescript-eslint/visitor-keys": { "version": "7.18.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.18.0.tgz", @@ -2874,29 +2898,6 @@ "eslint": "^8.56.0 || ^9.0.0-0" } }, - "node_modules/eslint-plugin-import-x/node_modules/@typescript-eslint/utils": { - "version": "7.18.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.18.0.tgz", - "integrity": "sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==", - "dev": true, - "license": "MIT", - "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "7.18.0", - "@typescript-eslint/types": "7.18.0", - "@typescript-eslint/typescript-estree": "7.18.0" - }, - "engines": { - "node": "^18.18.0 || >=20.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.56.0" - } - }, "node_modules/eslint-plugin-import-x/node_modules/semver": { "version": "7.6.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", diff --git a/tests/eslint/package.json b/tests/eslint/package.json index 77194ef74586..fe92b257b004 100644 --- a/tests/eslint/package.json +++ b/tests/eslint/package.json @@ -5,6 +5,7 @@ "@eslint/compat": "^1.1.1", "@eslint-community/eslint-plugin-eslint-comments": "^4.3.0", "@stylistic/eslint-plugin-js": "^2.6.2", + "@typescript-eslint/utils": "^7.18.0", "confusing-browser-globals": "^1.0.11", "eslint": "^9.9.0", "eslint-plugin-array-func": "^5.0.2",