Skip to content

Commit 56aa1de

Browse files
antonisclaude
andcommitted
fix(deps-dev): upgrade typescript-eslint to v8 for ESLint 9 compatibility
ESLint 9 requires typescript-eslint v8+, but the dependabot upgrade only bumped ESLint itself. This adds the necessary typescript-eslint upgrades and yarn resolutions to resolve the incompatibility with @sentry-internal/eslint-config-sdk which depends on v5. Also adds ESLINT_USE_FLAT_CONFIG=false to support legacy .eslintrc.js format. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 02d0b55 commit 56aa1de

3 files changed

Lines changed: 162 additions & 305 deletions

File tree

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
"yarn": "3.6.4"
6060
},
6161
"resolutions": {
62+
"@typescript-eslint/eslint-plugin": "^8.53.0",
63+
"@typescript-eslint/parser": "^8.53.0",
6264
"appium-chromedriver@npm:5.6.73/@xmldom/xmldom": "0.8.10",
6365
"form-data": "4.0.4",
6466
"tar-fs": "^3.1.1"

packages/core/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
"test:watch": "npx jest --watch",
3939
"yalc:add:sentry-javascript": "yalc add @sentry/browser @sentry/core @sentry/react @sentry/types",
4040
"fix": "npx run-s fix:eslint fix:prettier",
41-
"fix:eslint": "eslint --config .eslintrc.js --fix .",
41+
"fix:eslint": "ESLINT_USE_FLAT_CONFIG=false eslint --config .eslintrc.js --fix .",
4242
"fix:prettier": "prettier --config ../../.prettierrc.json --ignore-path ../../.prettierignore --write \"{src,test,scripts,plugin/src}/**/**.ts\"",
4343
"lint": "npx run-s lint:eslint lint:prettier",
44-
"lint:eslint": "eslint --config .eslintrc.js .",
44+
"lint:eslint": "ESLINT_USE_FLAT_CONFIG=false eslint --config .eslintrc.js .",
4545
"lint:prettier": "prettier --config ../../.prettierrc.json --ignore-path ../../.prettierignore --check \"{src,test,scripts,plugin/src}/**/**.ts\""
4646
},
4747
"bin": {
@@ -92,13 +92,14 @@
9292
"@types/uglify-js": "^3.17.2",
9393
"@types/uuid": "^9.0.4",
9494
"@types/xmlhttprequest": "^1.8.2",
95-
"@typescript-eslint/eslint-plugin": "^5.48.0",
96-
"@typescript-eslint/parser": "^5.48.0",
95+
"@typescript-eslint/eslint-plugin": "^8.53.0",
96+
"@typescript-eslint/parser": "^8.53.0",
9797
"babel-jest": "^29.6.3",
9898
"babel-plugin-module-resolver": "^5.0.0",
9999
"babel-preset-fbjs": "^3.4.0",
100100
"downlevel-dts": "^0.11.0",
101101
"eslint": "^9.26.0",
102+
"eslint-plugin-import": "^2.31.0",
102103
"eslint-plugin-react": "^7.37.0",
103104
"eslint-plugin-react-native": "^3.8.1",
104105
"expo": "^53.0.0",

0 commit comments

Comments
 (0)