Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: upgrade eslint to v8 and remove next lint (#10870)

Nimar9c5ed7812c3d
diff --git a/ee/package.json b/ee/package.json
index 3636403f4c..67eb3acc23 100644
--- a/ee/package.json
+++ b/ee/package.json
@@ -35,7 +35,7 @@
"@repo/eslint-config": "workspace:*",
"@repo/typescript-config": "workspace:*",
"@types/node": "^24.3.0",
- "@typescript-eslint/parser": "^7.12.0",
+ "@typescript-eslint/parser": "^8.48.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
diff --git a/packages/config-eslint/next.js b/packages/config-eslint/next.js
index 3379c473b4..42c2155d75 100644
--- a/packages/config-eslint/next.js
+++ b/packages/config-eslint/next.js
@@ -57,7 +57,18 @@ module.exports = {
fixStyle: "inline-type-imports",
},
],
- "@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_" }],
+ "@typescript-eslint/no-unused-vars": [
+ // see: https://typescript-eslint.io/rules/no-unused-vars/#why-does-this-rule-report-variables-used-only-for-types
+ // since v8, vars only used for types are unused at runtime and therefore throw a warning.
+ // we fix those with workarounds (mostly just export the variables, as they are used as part of an API anyways)
+ // see: https://github.com/typescript-eslint/typescript-eslint/issues/10266
+ "warn",
+ {
+ argsIgnorePattern: "^_",
+ varsIgnorePattern: "^_",
+ caughtErrorsIgnorePattern: "^_",
+ },
+ ],
"react/jsx-key": [
"error",
{
diff --git a/packages/config-eslint/package.json b/packages/config-eslint/package.json
index 241543b6ee..699ec02c3b 100644
--- a/packages/config-eslint/package.json
+++ b/packages/config-eslint/package.json
@@ -8,10 +8,10 @@
"next.js"
],
"devDependencies": {
- "@typescript-eslint/eslint-plugin": "^7.1.0",
- "@typescript-eslint/parser": "^7.12.0",
+ "@typescript-eslint/eslint-plugin": "^8.48.1",
+ "@typescript-eslint/parser": "^8.48.1",
"@vercel/style-guide": "^6.0.0",
- "eslint-config-next": "^14.2.15",
+ "eslint-config-next": "15.5.4",
"eslint-config-prettier": "^9.1.0",
"eslint-config-turbo": "^2.6.1",
"eslint-plugin-only-warn": "^1.1.0",
diff --git a/packages/shared/package.json b/packages/shared/package.json
index b253fd1e4b..06c30e4efc 100644
--- a/packages/shared/package.json
+++ b/packages/shared/package.json
@@ -112,7 +112,7 @@
"@types/pg": "^8.11.10",
"@types/react": "19.2.2",
"@types/uuid": "^9.0.8",
- "@typescript-eslint/parser": "^7.12.0",
+ "@typescript-eslint/parser": "^8.48.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 5a356d35e7..36f699395a 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -74,8 +74,8 @@ importers:
specifier: ^24.3.0
version: 24.3.0
'@typescript-eslint/parser':
- specifier: ^7.12.0
+ specifier: ^8.48.1
eslint:
specifier: ^8.57.0
version: 8.57.0
@@ -84,7 +84,7 @@ importers:
version: 9.1.0([email protected])
eslint-config-standard:
specifier: ^17.1.0
eslint-plugin-prettier:
specifier: ^5.1.3
@@ -104,17 +104,17 @@ importers:
packages/config-eslint:
devDependencies:
'@typescript-eslint/eslint-plugin':
- specifier: ^7.1.0
+ specifier: ^8.48.1
'@typescript-eslint/parser':
- specifier: ^7.12.0
+ specifier: ^8.48.1
'@vercel/style-guide':
specifier: ^6.0.0
eslint-config-next:
- specifier: ^14.2.15
+ specifier: 15.5.4
eslint-config-prettier:
specifier: ^9.1.0
version: 9.1.0([email protected])
@@ -299,8 +299,8 @@ importers:
specifier: ^9.0.8
version: 9.0.8
'@typescript-eslint/parser':
- specifier: ^7.12.0
+ specifier: ^8.48.1
eslint:
specifier: ^8.57.0
version: 8.57.0
@@ -309,7 +309,7 @@ importers:
version: 9.1.0([email protected])
eslint-config-standard:
specifier: ^17.1.0
eslint-plugin-prettier:
specifier: ^5.1.3
@@ -837,11 +837,11 @@ importers:
specifier: ^9.0.8
version: 9.0.8
'@typescript-eslint/eslint-plugin':
- specifier: ^6.21.0
+ specifier: ^8.48.1
'@typescript-eslint/parser':
- specifier: ^7.12.0
+ specifier: ^8.48.1
autoprefixer:
specifier: ^10.4.19
version: 10.4.19([email protected])
@@ -852,7 +852,7 @@ importers:
specifier: ^7.4.2
version: 7.4.2
eslint:
- specifier: ^8.56.0
+ specifier: ^8.57.0
version: 8.57.0
eslint-config-next:
specifier: 15.5.4
@@ -1033,8 +1033,8 @@ importers:
specifier: ^9.0.8
version: 9.0.8
'@typescript-eslint/parser':
- specifier: ^7.12.0
+ specifier: ^8.48.1
eslint:
specifier: ^8.57.0
version: 8.57.0
@@ -1043,7 +1043,7 @@ importers:
version: 9.1.0([email protected])
eslint-config-standard:
specifier: ^17.1.0
eslint-plugin-prettier:
specifier: ^5.1.3
@@ -6354,17 +6354,6 @@ packages:
resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==}
- engines: {node: ^16.0.0 || >=18.0.0}
- peerDependencies:
- '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha
- eslint: ^7.0.0 || ^8.0.0
- typescript: '*'
- peerDependenciesMeta:
- typescript:
- optional: true
-
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-STEDMVQGww5lhCuNXVSQfbfuNII5E08QWkvAw5Qwf+bj2WT+JkG1uc+5/vXA3AOYMDHVOSpL+9rcbEUiHIm2dw==}
engines: {node: ^18.18.0 || >=20.0.0}
@@ -6376,6 +6365,14 @@ packages:
typescript:
optional: true
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-X63hI1bxl5ohelzr0LY5coufyl0LJNthld+abwxpCoo6Gq+hSqhKwci7MUWkXo67mzgUK6YFByhmaHmUcuBJmA==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ '@typescript-eslint/parser': ^8.48.1
+ eslint: ^8.57.0 || ^9.0.0
+ typescript: '>=4.8.4 <6.0.0'
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-dm/J2UDY3oV3TKius2OUZIFHsomQmpHtsV0FTh1WO8EKgHLQ1QCADUqscPgTpU+ih1e21FQSRjXckHn3txn6kQ==}
engines: {node: ^18.18.0 || >=20.0.0}
@@ -6386,14 +6383,23 @@ packages:
typescript:
optional: true
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-PC0PDZfJg8sP7cmKe6L3QIL8GZwU5aRvUFedqSIpw3B+QjRSUZeeITC2M5XKeMXEzL6wccN196iy3JLwKNvDVA==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ eslint: ^8.57.0 || ^9.0.0
+ typescript: '>=4.8.4 <6.0.0'
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-HQWSicah4s9z2/HifRPQ6b6R7G+SBx64JlFQpgSSHWPKdvCZX57XCbszg/bapbRsOEv42q5tayTYcEFpACcX1w==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ typescript: '>=4.8.4 <6.0.0'
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==}
- engines: {node: ^16.0.0 || >=18.0.0}
-
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-itF1pTnN6F3unPak+kutH9raIkL3lhH1YRPGgt7QQOh43DQKVJXmWkpb+vpc/TiDHs6RSd9CTbDsc/Y+Ygq7kg==}
engines: {node: ^18.18.0 || >=20.0.0}
@@ -6402,15 +6408,15 @@ packages:
resolution: {integrity: sha512-fVS6fPxldsKY2nFvyT7IP78UO1/I2huG+AYu5AMjCT9wtl6JFiDnsv4uad4jQ0GTFzcUV5HShVeN96/17bTBag==}
engines: {node: ^18.18.0 || >=20.0.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==}
- engines: {node: ^16.0.0 || >=18.0.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-rj4vWQsytQbLxC5Bf4XwZ0/CKd362DkWMUkviT7DCS057SK64D5lH74sSGzhI6PDD2HCEq02xAP9cX68dYyg1w==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-k0Jhs4CpEffIBm6wPaCXBAD7jxBtrHjrSgtfCjUvPp9AZ78lXKdTR8fxyZO5y4vWNlOvYXRtngSZNSn+H53Jkw==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
peerDependencies:
- eslint: ^7.0.0 || ^8.0.0
- typescript: '*'
- peerDependenciesMeta:
- typescript:
- optional: true
+ typescript: '>=4.8.4 <6.0.0'
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-iFhaysxFsMDQlzJn+vr3OrxN8NmdQkHks4WaqD4QBnt5hsq234wcYdyQ9uquzJJIDAj5W4wQne3yEsYA6OmXGw==}
@@ -6422,14 +6428,17 @@ packages:
typescript:
optional: true
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-1jEop81a3LrJQLTf/1VfPQdhIY4PlGDBc/i67EVWObrtvcziysbLN3oReexHOM6N3jyXgCrkBsZpqwH0hiDOQg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ eslint: ^8.57.0 || ^9.0.0
+ typescript: '>=4.8.4 <6.0.0'
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==}
- engines: {node: ^16.0.0 || >=18.0.0}
-
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-o+0Te6eWp2ppKY3mLCU+YA9pVJxhUJE15FV7kxuD9jgwIAa+w/ycGJBMrYDTpVGUM/tgpa9SeMOugSabWFq7bg==}
engines: {node: ^18.18.0 || >=20.0.0}
@@ -6438,6 +6447,10 @@ packages:
resolution: {integrity: sha512-2tUf3uWggBDl4S4183nivWQ2HqceOZh1U4hhu4p1tPiIJoRRXrab7Y+Y0p+dozYwZVvLPRI6r5wKe9kToF9FIw==}
engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-+fZ3LZNeiELGmimrujsDCT4CRIbq5oXdHe7chLiW8qzqyPMnn1puNstCrMNVAqwcl2FdIxkuJ4tOs/RFDBVc/Q==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -6447,15 +6460,6 @@ packages:
typescript:
optional: true
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==}
- engines: {node: ^16.0.0 || >=18.0.0}
- peerDependencies:
- typescript: '*'
- peerDependenciesMeta:
- typescript:
- optional: true
-
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-5bwqLsWBULv1h6pn7cMW5dXX/Y2amRqLaKqsASVwbBHMZSnHqE/HN4vT4fE0aFsiwxYvr98kqOWh1a8ZKXalCQ==}
engines: {node: ^18.18.0 || >=20.0.0}
@@ -6474,32 +6478,35 @@ packages:
typescript:
optional: true
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-/9wQ4PqaefTK6POVTjJaYS0bynCgzh6ClJHGSBj06XEHjkfylzB+A3qvyaXnErEZSaxhIo4YdyBgq6j4RysxDg==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ typescript: '>=4.8.4 <6.0.0'
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==}
- engines: {node: ^16.0.0 || >=18.0.0}
- peerDependencies:
- eslint: ^7.0.0 || ^8.0.0
-
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-jIERm/6bYQ9HkynYlNZvXpzmXWZGhMbrOvq3jJzOSOlKXsVjrrolzWBjDW6/TvT5Q3WqaN4EkmcfdQwi9tDjBQ==}
engines: {node: ^18.18.0 || >=20.0.0}
peerDependencies:
eslint: ^8.56.0
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-fAnhLrDjiVfey5wwFRwrweyRlCmdz5ZxXz2G/4cLn0YDLjTapmN4gcCsTBR1N2rWnZSDeWpYtgLDsJt+FpmcwA==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ peerDependencies:
+ eslint: ^8.57.0 || ^9.0.0
+ typescript: '>=4.8.4 <6.0.0'
+
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- '@typescript-eslint/[email protected]':
- resolution: {integrity: sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==}
- engines: {node: ^16.0.0 || >=18.0.0}
-
'@typescript-eslint/[email protected]':
resolution: {integrity: sha512-uZk7DevrQLL3vSnfFl5bj4sL75qC9D6EdjemIdbtkuUmIheWpuiiylSY01JxJE7+zGrOWDZrp1WxOuDntvKrHQ==}
engines: {node: ^18.18.0 || >=20.0.0}
@@ -6508,6 +6515,10 @@ packages:
resolution: {integrity: sha512-9RMXwQF8knsZvfv9tdi+4D/j7dMG28X/wMJ8Jj6eOHyHWwDW4ngQJcqEczSsqIKKjFiLFr40Mnr7a5ulDD3vmw==}
engines: {node: ^18.18.0 || >=20.0.0}
+ '@typescript-eslint/[email protected]':
+ resolution: {integrity: sha512-BmxxndzEWhE4TIEEMBs8lP3MBWN3jFPs/p6gPm/wkv02o41hI6cq9AuSmGAaTTHPtA1FTi2jBre4A9rm5ZmX+Q==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
resolution: {integrity: sha512-o1m1a8eUS3fWERMbDFvN8t8sZUFPgDKNemmlQ5Ot2vKm+Ax84lKP1dhEFgkiOaZ1bDHk4T5h6SjHuTghrJHKww==}
peerDependencies:
@@ -8325,15 +8336,6 @@ packages:
peerDependencies:
eslint: '>=6.0.0'
- resolution: {integrity: sha512-mKg+NC/8a4JKLZRIOBplxXNdStgxy7lzWuedUaCc8tev+Al9mwDUTujQH6W6qXDH9kycWiVo28tADWGvpBsZcQ==}
- peerDependencies:
- eslint: ^7.23.0 || ^8.0.0
- typescript: '>=3.3.1'
- peerDependenciesMeta:
- typescript:
- optional: true
-
resolution: {integrity: sha512-BzgVVuT3kfJes8i2GHenC1SRJ+W3BTML11lAOYFOOPzrk2xp66jBOAGEFRw+3LkYCln5UzvFsLhojrshb5Zfaw==}
peerDependencies:
@@ -8593,6 +8595,10 @@ packages:
resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+ resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==}
+ engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+
resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
@@ -12990,6 +12996,10 @@ packages:
resolution: {integrity: sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==}
engines: {node: '>=12.0.0'}
+ resolution: {integrity: sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==}
+ engines: {node: '>=12.0.0'}
+
resolution: {integrity: sha512-Zba82s87IFq9A9XmjiX5uZA/ARWDrB03OHlq+Vw1fSdt0I+4/Kutwy8BP4Y/y/aORMo61FQ0vIb5j44vSo5Pkg==}
engines: {node: ^18.0.0 || >=20.0.0}
@@ -13058,6 +13068,12 @@ packages:
peerDependencies:
typescript: '>=4.2.0'
+ resolution: {integrity: sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==}
+ engines: {node: '>=18.12'}
+ peerDependencies:
+ typescript: '>=4.8.4'
+
resolution: {integrity: sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==}
engines: {node: '>=6.10'}
@@ -18002,6 +18018,7 @@ snapshots:
dependencies:
glob: 10.5.0
+ optional: true
dependencies:
@@ -21691,17 +21708,17 @@ snapshots:
dependencies:
- '@types/node': 24.10.1
+ '@types/node': 24.3.0
optional: true
dependencies:
'@eslint-community/regexpp': 4.10.0
'@typescript-eslint/parser': 7.12.0([email protected])([email protected])
- '@typescript-eslint/scope-manager': 6.21.0
- '@typescript-eslint/type-utils': 6.21.0([email protected])([email protected])
- '@typescript-eslint/utils': 6.21.0([email protected])([email protected])
- '@typescript-eslint/visitor-keys': 6.21.0
+ '@typescript-eslint/scope-manager': 7.3.1
+ '@typescript-eslint/type-utils': 7.3.1([email protected])([email protected])
+ '@typescript-eslint/utils': 7.3.1([email protected])([email protected])
+ '@typescript-eslint/visitor-keys': 7.3.1
debug: 4.3.4
eslint: 8.57.0
graphemer: 1.4.0
@@ -21714,22 +21731,19 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
- '@eslint-community/regexpp': 4.10.0
- '@typescript-eslint/parser': 7.12.0([email protected])([email protected])
- '@typescript-eslint/scope-manager': 7.3.1
- '@typescript-eslint/type-utils': 7.3.1([email protected])([email protected])
- '@typescript-eslint/utils': 7.3.1([email protected])([email protected])
- '@typescript-eslint/visitor-keys': 7.3.1
- debug: 4.3.4
+ '@eslint-community/regexpp': 4.12.2
+ '@typescript-eslint/parser': 8.48.1([email protected])([email protected])
+ '@typescript-eslint/scope-manager': 8.48.1
+ '@typescript-eslint/type-utils': 8.48.1([email protected])([email protected])
+ '@typescript-eslint/utils': 8.48.1([email protected])([email protected])
+ '@typescript-eslint/visitor-keys': 8.48.1
eslint: 8.57.0
graphemer: 1.4.0
- ignore: 5.3.1
+ ignore: 7.0.5
natural-compare: 1.4.0
- semver: 7.6.0
- ts-api-utils: 1.3.0([email protected])
- optionalDependencies:
+ ts-api-utils: 2.1.0([email protected])
typescript: 5.9.2
transitivePeerDependencies:
- supports-color
@@ -21747,16 +21761,32 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@typescript-eslint/scope-manager': 8.48.1
+ '@typescript-eslint/types': 8.48.1
+ '@typescript-eslint/typescript-estree': 8.48.1([email protected])
+ '@typescript-eslint/visitor-keys': 8.48.1
+ debug: 4.4.3
+ eslint: 8.57.0
+ typescript: 5.9.2
+ transitivePeerDependencies:
+ - supports-color
+
+ '@typescript-eslint/[email protected]([email protected])':
+ dependencies:
+ '@typescript-eslint/tsconfig-utils': 8.48.1([email protected])
+ '@typescript-eslint/types': 8.48.1
+ debug: 4.4.3
+ typescript: 5.9.2
+ transitivePeerDependencies:
+ - supports-color
+
'@typescript-eslint/[email protected]':
dependencies:
'@typescript-eslint/types': 5.62.0
'@typescript-eslint/visitor-keys': 5.62.0
- '@typescript-eslint/[email protected]':
- dependencies:
- '@typescript-eslint/types': 6.21.0
- '@typescript-eslint/visitor-keys': 6.21.0
-
'@typescript-eslint/[email protected]':
dependencies:
'@typescript-eslint/types': 7.12.0
@@ -21767,17 +21797,14 @@ snapshots:
'@typescript-eslint/types': 7.3.1
'@typescript-eslint/visitor-keys': 7.3.1
+ '@typescript-eslint/[email protected]':
+ dependencies:
+ '@typescript-eslint/types': 8.48.1
+ '@typescript-eslint/visitor-keys': 8.48.1
+
+ '@typescript-eslint/[email protected]([email protected])':
dependencies:
- '@typescript-eslint/typescript-estree': 6.21.0([email protected])
- '@typescript-eslint/utils': 6.21.0([email protected])([email protected])
- debug: 4.3.4
- eslint: 8.57.0
- ts-api-utils: 1.3.0([email protected])
- optionalDependencies:
typescript: 5.9.2
- transitivePeerDependencies:
- - supports-color
dependencies:
@@ -21791,14 +21818,26 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]': {}
+ dependencies:
+ '@typescript-eslint/types': 8.48.1
+ '@typescript-eslint/typescript-estree': 8.48.1([email protected])
+ '@typescript-eslint/utils': 8.48.1([email protected])([email protected])
+ debug: 4.4.3
+ eslint: 8.57.0
+ ts-api-utils: 2.1.0([email protected])
+ typescript: 5.9.2
+ transitivePeerDependencies:
+ - supports-color
- '@typescript-eslint/[email protected]': {}
+ '@typescript-eslint/[email protected]': {}
'@typescript-eslint/[email protected]': {}
'@typescript-eslint/[email protected]': {}
+ '@typescript-eslint/[email protected]': {}
+
'@typescript-eslint/[email protected]([email protected])':
dependencies:
'@typescript-eslint/types': 5.62.0
@@ -21813,21 +21852,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@typescript-eslint/[email protected]([email protected])':
- dependencies:
- '@typescript-eslint/types': 6.21.0
- '@typescript-eslint/visitor-keys': 6.21.0
- debug: 4.3.4
- globby: 11.1.0
- is-glob: 4.0.3
- minimatch: 9.0.3
- semver: 7.7.2
- ts-api-utils: 1.3.0([email protected])
- optionalDependencies:
- typescript: 5.9.2
- transitivePeerDependencies:
- - supports-color
-
'@typescript-eslint/[email protected]([email protected])':
dependencies:
'@typescript-eslint/types': 7.12.0
@@ -21858,6 +21882,21 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ '@typescript-eslint/[email protected]([email protected])':
+ dependencies:
+ '@typescript-eslint/project-service': 8.48.1([email protected])
+ '@typescript-eslint/tsconfig-utils': 8.48.1([email protected])
+ '@typescript-eslint/types': 8.48.1
+ '@typescript-eslint/visitor-keys': 8.48.1
+ debug: 4.4.3
+ minimatch: 9.0.5
+ semver: 7.7.3
+ tinyglobby: 0.2.15
+ ts-api-utils: 2.1.0([email protected])
+ typescript: 5.9.2
+ transitivePeerDependencies:
+ - supports-color
+
dependencies:
'@eslint-community/eslint-utils': 4.7.0([email protected])
@@ -21873,44 +21912,36 @@ snapshots:
- supports-color
- typescript
dependencies:
'@eslint-community/eslint-utils': 4.4.0([email protected])
'@types/json-schema': 7.0.15
'@types/semver': 7.5.8
- '@typescript-eslint/scope-manager': 6.21.0
- '@typescript-eslint/types': 6.21.0
- '@typescript-eslint/typescript-estree': 6.21.0([email protected])
+ '@typescript-eslint/scope-manager': 7.3.1
+ '@typescript-eslint/types': 7.3.1
+ '@typescript-eslint/typescript-estree': 7.3.1([email protected])
eslint: 8.57.0
semver: 7.7.1
transitivePeerDependencies:
- supports-color
- typescript
dependencies:
- '@eslint-community/eslint-utils': 4.4.0([email protected])
- '@types/json-schema': 7.0.15
- '@types/semver': 7.5.8
- '@typescript-eslint/scope-manager': 7.3.1
- '@typescript-eslint/types': 7.3.1
- '@typescript-eslint/typescript-estree': 7.3.1([email protected])
+ '@eslint-community/eslint-utils': 4.9.0([email protected])
+ '@typescript-eslint/scope-manager': 8.48.1
+ '@typescript-eslint/types': 8.48.1
+ '@typescript-eslint/typescript-estree': 8.48.1([email protected])
eslint: 8.57.0
- semver: 7.7.1
+ typescript: 5.9.2
transitivePeerDependencies:
- supports-color
- - typescript
'@typescript-eslint/[email protected]':
dependencies:
'@typescript-eslint/types': 5.62.0
eslint-visitor-keys: 3.4.3
- '@typescript-eslint/[email protected]':
- dependencies:
- '@typescript-eslint/types': 6.21.0
- eslint-visitor-keys: 3.4.3
-
'@typescript-eslint/[email protected]':
dependencies:
'@typescript-eslint/types': 7.12.0
@@ -21921,6 +21952,11 @@ snapshots:
'@typescript-eslint/types': 7.3.1
eslint-visitor-keys: 3.4.3
+ '@typescript-eslint/[email protected]':
+ dependencies:
+ '@typescript-eslint/types': 8.48.1
+ eslint-visitor-keys: 4.2.1
+
'@uiw/[email protected](@codemirror/[email protected](@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected]))(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])':
dependencies:
'@codemirror/autocomplete': 6.17.0(@codemirror/[email protected])(@codemirror/[email protected])(@codemirror/[email protected])(@lezer/[email protected])
@@ -21970,7 +22006,7 @@ snapshots:
eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
eslint-plugin-eslint-comments: 3.2.0([email protected])
eslint-plugin-jsx-a11y: 6.8.0([email protected])
eslint-plugin-react: 7.34.1([email protected])
@@ -24174,35 +24210,16 @@ snapshots:
eslint: 8.57.0
semver: 7.7.3
- dependencies:
- '@next/eslint-plugin-next': 14.2.15
- '@rushstack/eslint-patch': 1.7.2
- '@typescript-eslint/eslint-plugin': 7.3.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
- '@typescript-eslint/parser': 7.12.0([email protected])([email protected])
- eslint: 8.57.0
- eslint-import-resolver-node: 0.3.9
- eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])
- eslint-plugin-jsx-a11y: 6.8.0([email protected])
- eslint-plugin-react: 7.34.1([email protected])
- eslint-plugin-react-hooks: 4.6.0([email protected])
- optionalDependencies:
- typescript: 5.9.2
- transitivePeerDependencies:
- - eslint-import-resolver-webpack
- - supports-color
-
dependencies:
'@next/eslint-plugin-next': 15.5.4
'@rushstack/eslint-patch': 1.12.0
- '@typescript-eslint/eslint-plugin': 7.3.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
- '@typescript-eslint/parser': 7.12.0([email protected])([email protected])
+ '@typescript-eslint/eslint-plugin': 8.48.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
+ '@typescript-eslint/parser': 8.48.1([email protected])([email protected])
eslint: 8.57.0
eslint-import-resolver-node: 0.3.9
- eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])
+ eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])
eslint-plugin-jsx-a11y: 6.10.2([email protected])
eslint-plugin-react: 7.37.5([email protected])
eslint-plugin-react-hooks: 5.2.0([email protected])
@@ -24216,10 +24233,10 @@ snapshots:
dependencies:
eslint: 8.57.0
dependencies:
eslint: 8.57.0
eslint-plugin-n: 16.6.2([email protected])
eslint-plugin-promise: 6.4.0([email protected])
@@ -24236,17 +24253,17 @@ snapshots:
dependencies:
debug: 3.2.7
- is-core-module: 2.15.1
- resolve: 1.22.8
+ is-core-module: 2.16.1
+ resolve: 1.22.11
transitivePeerDependencies:
- supports-color
dependencies:
debug: 4.4.3
enhanced-resolve: 5.17.1
eslint: 8.57.0
fast-glob: 3.3.3
get-tsconfig: 4.10.1
@@ -24258,30 +24275,13 @@ snapshots:
- eslint-import-resolver-webpack
- supports-color
dependencies:
debug: 4.4.3
enhanced-resolve: 5.17.1
eslint: 8.57.0
- fast-glob: 3.3.3
- get-tsconfig: 4.10.1
- is-core-module: 2.15.1
- is-glob: 4.0.3
- transitivePeerDependencies:
- - '@typescript-eslint/parser'
- - eslint-import-resolver-node
- - eslint-import-resolver-webpack
- - supports-color
-
- dependencies:
- debug: 4.4.3
- enhanced-resolve: 5.17.1
- eslint: 8.57.0
fast-glob: 3.3.3
get-tsconfig: 4.10.1
is-core-module: 2.15.1
@@ -24292,47 +24292,36 @@ snapshots:
- eslint-import-resolver-webpack
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
- '@typescript-eslint/parser': 7.12.0([email protected])([email protected])
+ '@typescript-eslint/parser': 8.48.1([email protected])([email protected])
eslint: 8.57.0
eslint-import-resolver-node: 0.3.9
- eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])
+ eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])
transitivePeerDependencies:
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
'@typescript-eslint/parser': 7.12.0([email protected])([email protected])
eslint: 8.57.0
eslint-import-resolver-node: 0.3.9
- eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])
+ eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
transitivePeerDependencies:
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
- '@typescript-eslint/parser': 7.12.0([email protected])([email protected])
+ '@typescript-eslint/parser': 8.48.1([email protected])([email protected])
eslint: 8.57.0
eslint-import-resolver-node: 0.3.9
- eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])
- transitivePeerDependencies:
- - supports-color
-
- dependencies:
- debug: 3.2.7
- optionalDependencies:
- '@typescript-eslint/parser': 7.12.0([email protected])([email protected])
- eslint: 8.57.0
- eslint-import-resolver-node: 0.3.9
- eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
+ eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])
transitivePeerDependencies:
- supports-color
@@ -24376,7 +24365,7 @@ snapshots:
- eslint-import-resolver-webpack
- supports-color
dependencies:
'@rtsao/scc': 1.1.0
array-includes: 3.1.9
@@ -24387,7 +24376,7 @@ snapshots:
doctrine: 2.1.0
eslint: 8.57.0
eslint-import-resolver-node: 0.3.9
hasown: 2.0.2
is-core-module: 2.16.1
is-glob: 4.0.3
@@ -24399,18 +24388,18 @@ snapshots:
string.prototype.trimend: 1.0.9
tsconfig-paths: 3.15.0
optionalDependencies:
- '@typescript-eslint/parser': 7.12.0([email protected])([email protected])
+ '@typescript-eslint/parser': 8.48.1([email protected])([email protected])
transitivePeerDependencies:
- eslint-import-resolver-typescript
- eslint-import-resolver-webpack
- supports-color
dependencies:
'@typescript-eslint/utils': 5.62.0([email protected])([email protected])
eslint: 8.57.0
optionalDependencies:
- '@typescript-eslint/eslint-plugin': 7.3.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
+ '@typescript-eslint/eslint-plugin': 8.48.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
jest: 29.7.0(@types/[email protected])
transitivePeerDependencies:
- supports-color
@@ -24477,7 +24466,7 @@ snapshots:
eslint: 8.57.0
globals: 13.24.0
optionalDependencies:
dependencies:
@@ -24611,6 +24600,8 @@ snapshots:
+
dependencies:
'@eslint-community/eslint-utils': 4.4.0([email protected])
@@ -24795,7 +24786,7 @@ snapshots:
dependencies:
- debug: 4.3.4
+ debug: 4.4.3
get-stream: 5.2.0
yauzl: 2.10.0
optionalDependencies:
@@ -30007,6 +29998,11 @@ snapshots:
fdir: 6.5.0([email protected])
picomatch: 4.0.3
+ dependencies:
+ fdir: 6.5.0([email protected])
+ picomatch: 4.0.3
+
@@ -30056,6 +30052,10 @@ snapshots:
dependencies:
typescript: 5.9.2
+ dependencies:
+ typescript: 5.9.2
+
diff --git a/web/package.json b/web/package.json
index ebca08e247..8d5316c666 100644
--- a/web/package.json
+++ b/web/package.json
@@ -10,8 +10,8 @@
"build": "INLINE_RUNTIME_CHUNK=false dotenv -e ../.env -- next build",
"dev": "dotenv -e ../.env -- next dev --turbopack",
"dev:http": "dotenv -e ../.env -- next dev --experimental-https --experimental-https-key ./localhost+1-key.pem --experimental-https-cert ./localhost+1.pem",
- "lint": "dotenv -e ../.env -- next lint --max-warnings 0",
- "lint:fix": "dotenv -e ../.env -- next lint --fix",
+ "lint": "dotenv -e ../.env -- eslint . --ext .js,.jsx,.ts,.tsx --max-warnings 0",
+ "lint:fix": "dotenv -e ../.env -- eslint . --ext .js,.jsx,.ts,.tsx --fix",
"clean": "rm -rf node_modules",
"start": "dotenv -e ../.env -- sh -c 'NEXT_MANUAL_SIG_HANDLE=true next start'",
"test": "cross-env NODE_OPTIONS='--no-experimental-require-module' dotenv -e ../.env.test -e ../.env -- jest --verbose --runInBand --detectOpenHandles --selectProjects async-server",
@@ -190,12 +190,12 @@
"@types/react-dom": "19.2.1",
"@types/react-grid-layout": "^1.3.5",
"@types/uuid": "^9.0.8",
- "@typescript-eslint/eslint-plugin": "^6.21.0",
- "@typescript-eslint/parser": "^7.12.0",
+ "@typescript-eslint/eslint-plugin": "^8.48.1",
+ "@typescript-eslint/parser": "^8.48.1",
"autoprefixer": "^10.4.19",
"cross-env": "^7.0.3",
"dotenv-cli": "^7.4.2",
- "eslint": "^8.56.0",
+ "eslint": "^8.57.0",
"eslint-config-next": "15.5.4",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
diff --git a/web/src/__tests__/async/projects-api.servertest.ts b/web/src/__tests__/async/projects-api.servertest.ts
index 14b3f83135..f887bdcedc 100644
--- a/web/src/__tests__/async/projects-api.servertest.ts
+++ b/web/src/__tests__/async/projects-api.servertest.ts
@@ -897,7 +897,7 @@ describe("Projects API", () => {
id: deleteTestApiKeyId,
},
});
- } catch (error) {
+ } catch (_error) {
// Ignore errors if the API key was already deleted by the test
}
});
diff --git a/web/src/__tests__/async/scim-api.servertest.ts b/web/src/__tests__/async/scim-api.servertest.ts
index 2dd8458de5..5b8f94764a 100644
--- a/web/src/__tests__/async/scim-api.servertest.ts
+++ b/web/src/__tests__/async/scim-api.servertest.ts
@@ -829,7 +829,7 @@ describe("SCIM API", () => {
undefined,
createBasicAuthHeader(orgApiKey, orgSecretKey),
);
- } catch (e) {
+ } catch (_e) {
// ignore
}
diff --git a/web/src/__tests__/test-utils.ts b/web/src/__tests__/test-utils.ts
index 628deefd5d..b9f2d4a721 100644
--- a/web/src/__tests__/test-utils.ts
+++ b/web/src/__tests__/test-utils.ts
@@ -36,7 +36,7 @@ export const ensureTestDatabaseExists = async () => {
stdio: "inherit",
});
console.log("Test database schema verified/updated");
- } catch (error) {
+ } catch (_error) {
console.log("Test database not accessible, creating...");
const url = new URL(env.DATABASE_URL);
diff --git a/web/src/components/JSONSchemaEditor.tsx b/web/src/components/JSONSchemaEditor.tsx
index a1de2321e1..43eb211690 100644
--- a/web/src/components/JSONSchemaEditor.tsx
+++ b/web/src/components/JSONSchemaEditor.tsx
@@ -51,7 +51,7 @@ export const JSONSchemaEditor: React.FC<JSONSchemaEditorProps> = ({
const parsedJson = JSON.parse(value);
const prettified = JSON.stringify(parsedJson, null, 2);
onChange(prettified);
- } catch (error) {
+ } catch (_error) {
showErrorToast(
"Failed to prettify JSON",
"Please verify your input is valid JSON",
diff --git a/web/src/components/editor/CodeMirrorEditor.tsx b/web/src/components/editor/CodeMirrorEditor.tsx
index 9eac0064b0..89b4c70836 100644
--- a/web/src/components/editor/CodeMirrorEditor.tsx
+++ b/web/src/components/editor/CodeMirrorEditor.tsx
@@ -106,7 +106,7 @@ const promptLinter = linter((view) => {
message: "Malformed prompt dependency tag",
});
}
- } catch (error) {
+ } catch (_error) {
diagnostics.push({
from: match.index,
to: match.index + match[0].length,
diff --git a/web/src/components/table/ValueCell.tsx b/web/src/components/table/ValueCell.tsx
index a5cb6f42d8..cb5f961ed2 100644
--- a/web/src/components/table/ValueCell.tsx
+++ b/web/src/components/table/ValueCell.tsx
@@ -177,7 +177,7 @@ export const ValueCell = memo(
await copyTextToClipboard(copyValue);
setShowCopySuccess(true);
setTimeout(() => setShowCopySuccess(false), 1500);
- } catch (error) {
+ } catch (_error) {
// Copy failed silently
}
};
diff --git a/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx b/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx
index 57e3c5cf41..2de4501789 100644
--- a/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx
+++ b/web/src/components/table/table-view-presets/components/data-table-view-presets-drawer.tsx
@@ -188,7 +188,7 @@ export function TableViewPresetsDrawer({
if (fetchedViewData) {
applyViewState(fetchedViewData);
}
- } catch (error) {
+ } catch (_error) {
showErrorToast(
"Failed to apply view selection",
"Please try again",
diff --git a/web/src/components/ui/MarkdownViewer.tsx b/web/src/components/ui/MarkdownViewer.tsx
index dca84b7b3e..e1d235d57b 100644
--- a/web/src/components/ui/MarkdownViewer.tsx
+++ b/web/src/components/ui/MarkdownViewer.tsx
@@ -71,7 +71,7 @@ const getSafeUrl = (href: string | undefined | null): string | null => {
});
return sanitized || null;
- } catch (error) {
+ } catch (_error) {
return null;
}
};
@@ -282,7 +282,7 @@ function MarkdownRenderer({
</MemoizedReactMarkdown>
</div>
);
- } catch (error) {
+ } catch (_error) {
// fallback to JSON view if markdown parsing fails
return (
diff --git a/web/src/ee/features/admin-api/server/projects/createProject.ts b/web/src/ee/features/admin-api/server/projects/createProject.ts
index 1f485a4dbd..352699d2fb 100644
--- a/web/src/ee/features/admin-api/server/projects/createProject.ts
+++ b/web/src/ee/features/admin-api/server/projects/createProject.ts
@@ -17,7 +17,7 @@ export async function handleCreateProject(
// Validate project name
try {
projectNameSchema.parse({ name });
- } catch (error) {
+ } catch (_error) {
return res.status(400).json({
message: "Invalid project name. Should be between 3 and 60 characters.",
});
@@ -37,7 +37,7 @@ export async function handleCreateProject(
if (retention !== undefined) {
try {
projectRetentionSchema.parse({ retention });
- } catch (error) {
+ } catch (_error) {
return res.status(400).json({
message: "Invalid retention value. Must be 0 or at least 3 days.",
});
diff --git a/web/src/ee/features/admin-api/server/projects/projectById/index.ts b/web/src/ee/features/admin-api/server/projects/projectById/index.ts
index 013856dc8d..4fc7e13b43 100644
--- a/web/src/ee/features/admin-api/server/projects/projectById/index.ts
+++ b/web/src/ee/features/admin-api/server/projects/projectById/index.ts
@@ -26,7 +26,7 @@ export async function handleUpdateProject(
// Validate project name
try {
projectNameSchema.parse({ name });
- } catch (error) {
+ } catch (_error) {
return res.status(400).json({
message: "Invalid project name. Should be between 3 and 60 characters.",
});
@@ -46,7 +46,7 @@ export async function handleUpdateProject(
if (retention !== undefined) {
try {
projectRetentionSchema.parse({ retention });
- } catch (error) {
+ } catch (_error) {
return res.status(400).json({
message: "Invalid retention value. Must be 0 or at least 3 days.",
});
diff --git a/web/src/ee/features/billing/components/StripeCancellationButton.tsx b/web/src/ee/features/billing/components/StripeCancellationButton.tsx
index da8357f3a5..4a4eb5e1e7 100644
--- a/web/src/ee/features/billing/components/StripeCancellationButton.tsx
+++ b/web/src/ee/features/billing/components/StripeCancellationButton.tsx
@@ -69,7 +69,7 @@ export const StripeCancellationButton = ({
setOpId(opId);
}
await reactivateMutation.mutateAsync({ orgId, opId });
- } catch (e) {
+ } catch (_e) {
toast.error("Failed to reactivate subscription");
}
};
@@ -84,7 +84,7 @@ export const StripeCancellationButton = ({
setOpId(opId);
}
await cancelMutation.mutateAsync({ orgId, opId });
- } catch (e) {
+ } catch (_e) {
toast.error("Failed to cancel subscription");
}
};
diff --git a/web/src/ee/features/billing/components/StripeCustomerPortalButton.tsx b/web/src/ee/features/billing/components/StripeCustomerPortalButton.tsx
index a973ae57df..823c09701e 100644
--- a/web/src/ee/features/billing/components/StripeCustomerPortalButton.tsx
+++ b/web/src/ee/features/billing/components/StripeCustomerPortalButton.tsx
@@ -60,7 +60,7 @@ export const StripeCustomerPortalButton = ({
} else {
toast.error("Could not open billing portal");
}
- } catch (e) {
+ } catch (_e) {
toast.error("Failed to open billing portal");
} finally {
// do not reset to avoid flickering when opening the portal
diff --git a/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx b/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx
index 0ef8f94003..5a93781011 100644
--- a/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx
+++ b/web/src/features/annotation-queues/components/CreateOrEditAnnotationQueueButton.tsx
@@ -186,7 +186,7 @@ export const CreateOrEditAnnotationQueueButton = ({
setIsOpen(false);
// capture posthog event
- } catch (error) {
+ } catch (_error) {
showErrorToast(
"Operation failed",
"Failed to create or update queue or assign users. Please try again.",
diff --git a/web/src/features/automations/components/actions/SlackActionHandler.ts b/web/src/features/automations/components/actions/SlackActionHandler.ts
index 3c303a2c63..8671e8dd70 100644
--- a/web/src/features/automations/components/actions/SlackActionHandler.ts
+++ b/web/src/features/automations/components/actions/SlackActionHandler.ts
@@ -11,7 +11,9 @@ import {
import { z } from "zod/v4";
// Define the form schema for Slack actions
-const SlackActionFormSchema = z.object({
+// Exported to silence @typescript-eslint/no-unused-vars v8 warning
+// (used for type extraction via z.infer<typeof>, which is a legitimate pattern)
+export const SlackActionFormSchema = z.object({
slack: z.object({
channelId: z.string().min(1, "Channel is required"),
channelName: z.string().min(1, "Channel name is required"),
diff --git a/web/src/features/automations/components/actions/WebhookActionHandler.tsx b/web/src/features/automations/components/actions/WebhookActionHandler.tsx
index f7ad1d921b..fa9eab62b2 100644
--- a/web/src/features/automations/components/actions/WebhookActionHandler.tsx
+++ b/web/src/features/automations/components/actions/WebhookActionHandler.tsx
@@ -12,7 +12,9 @@ import {
import { z } from "zod/v4";
// Define the form schema for webhook actions
-const WebhookActionFormSchema = z.object({
+// Exported to silence @typescript-eslint/no-unused-vars v8 warning
+// (used for type extraction via z.infer<typeof>, which is a legitimate pattern)
+export const WebhookActionFormSchema = z.object({
webhook: z.object({
url: z.string().url("Invalid URL"),
headers: z
diff --git a/web/src/features/background-migrations/components/retry-background-migration.tsx b/web/src/features/background-migrations/components/retry-background-migration.tsx
index 622cef23e7..f388bae869 100644
--- a/web/src/features/background-migrations/components/retry-background-migration.tsx
+++ b/web/src/features/background-migrations/components/retry-background-migration.tsx
@@ -50,7 +50,7 @@ export function RetryBackgroundMigration({
name: backgroundMigrationName,
adminApiKey: "Bearer " + adminApiKey.trim(),
});
- } catch (e) {
+ } catch (_e) {
// Error handled in onError
}
};
diff --git a/web/src/features/datasets/components/DatasetForm.tsx b/web/src/features/datasets/components/DatasetForm.tsx
index 953d6b8fbf..c9aca9d80a 100644
--- a/web/src/features/datasets/components/DatasetForm.tsx
+++ b/web/src/features/datasets/components/DatasetForm.tsx
@@ -80,7 +80,7 @@ export const jsonSchemaStringValidator = z.string().refine(
const parsed = JSON.parse(value);
return isValidJSONSchema(parsed);
- } catch (error) {
+ } catch (_error) {
return false;
}
},
@@ -99,7 +99,7 @@ const formSchema = z.object({
JSON.parse(value);
return true;
- } catch (error) {
+ } catch (_error) {
return false;
}
},
diff --git a/web/src/features/datasets/components/EditDatasetItem.tsx b/web/src/features/datasets/components/EditDatasetItem.tsx
index 84a7c70c09..eebdfda1c9 100644
--- a/web/src/features/datasets/components/EditDatasetItem.tsx
+++ b/web/src/features/datasets/components/EditDatasetItem.tsx
@@ -27,7 +27,7 @@ const formSchema = z.object({
try {
JSON.parse(value);
return true;
- } catch (error) {
+ } catch (_error) {
return false;
}
},
@@ -42,7 +42,7 @@ const formSchema = z.object({
try {
JSON.parse(value);
return true;
- } catch (error) {
+ } catch (_error) {
return false;
}
},
@@ -57,7 +57,7 @@ const formSchema = z.object({
try {
JSON.parse(value);
return true;
- } catch (error) {
+ } catch (_error) {
return false;
}
},
diff --git a/web/src/features/datasets/components/NewDatasetItemForm.tsx b/web/src/features/datasets/components/NewDatasetItemForm.tsx
index 3290a8bdb9..d3a7a74c4b 100644
--- a/web/src/features/datasets/components/NewDatasetItemForm.tsx
+++ b/web/src/features/datasets/components/NewDatasetItemForm.tsx
@@ -45,7 +45,7 @@ const formSchema = z.object({
try {
JSON.parse(value);
return true;
- } catch (error) {
+ } catch (_error) {
return false;
}
},
@@ -60,7 +60,7 @@ const formSchema = z.object({
try {
JSON.parse(value);
return true;
- } catch (error) {
+ } catch (_error) {
return false;
}
},
@@ -75,7 +75,7 @@ const formSchema = z.object({
try {
JSON.parse(value);
return true;
- } catch (error) {
+ } catch (_error) {
return false;
}
},
diff --git a/web/src/features/datasets/contexts/DatasetCompareFieldsContext.tsx b/web/src/features/datasets/contexts/DatasetCompareFieldsContext.tsx
index b6cbe6bffd..127be02d49 100644
--- a/web/src/features/datasets/contexts/DatasetCompareFieldsContext.tsx
+++ b/web/src/features/datasets/contexts/DatasetCompareFieldsContext.tsx
@@ -1,6 +1,12 @@
import { createContext, useContext, useState, type ReactNode } from "react";
-const DATASET_RUN_FIELDS = ["output", "scores", "resourceMetrics"] as const;
+// Exported to silence @typescript-eslint/no-unused-vars v8 warning
+// (used for type extraction via typeof, which is a legitimate pattern)
+export const DATASET_RUN_FIELDS = [
+ "output",
+ "scores",
+ "resourceMetrics",
+] as const;
export type DatasetRunField = (typeof DATASET_RUN_FIELDS)[number];
interface DatasetCompareFieldsContextValue {
diff --git a/web/src/features/datasets/hooks/useDatasetItemValidation.ts b/web/src/features/datasets/hooks/useDatasetItemValidation.ts
index 3b8268b04f..c7712a4cca 100644
--- a/web/src/features/datasets/hooks/useDatasetItemValidation.ts
+++ b/web/src/features/datasets/hooks/useDatasetItemValidation.ts
@@ -48,7 +48,7 @@ export const useDatasetItemValidation = (
try {
inputData = inputString ? JSON.parse(inputString) : null;
- } catch (e) {
+ } catch (_e) {
// Invalid JSON - skip validation (Zod will catch this)
return { isValid: true, errors: [], hasSchemas: false };
}
@@ -57,7 +57,7 @@ export const useDatasetItemValidation = (
outputData = expectedOutputString
? JSON.parse(expectedOutputString)
: null;
- } catch (e) {
+ } catch (_e) {
// Invalid JSON - skip validation (Zod will catch this)
return { isValid: true, errors: [], hasSchemas: false };
}
diff --git a/web/src/features/datasets/lib/csv/helpers.ts b/web/src/features/datasets/lib/csv/helpers.ts
index 0f60eea04e..164dd254f1 100644
--- a/web/src/features/datasets/lib/csv/helpers.ts
+++ b/web/src/features/datasets/lib/csv/helpers.ts
@@ -155,7 +155,7 @@ function inferTypeFromValue(value: string): ColumnType {
if (Array.isArray(parsed)) return "array";
if (typeof parsed === "object") return "json";
return typeof parsed as ColumnType;
- } catch (error) {
+ } catch (_error) {
if (value.toLowerCase() === "true") return "boolean";
if (value.toLowerCase() === "false") return "boolean";
if (!isNaN(Number(value))) return "number";
diff --git a/web/src/features/datasets/server/dataset-router.ts b/web/src/features/datasets/server/dataset-router.ts
index 66654af2ae..83ce8911a4 100644
--- a/web/src/features/datasets/server/dataset-router.ts
+++ b/web/src/features/datasets/server/dataset-router.ts
@@ -775,7 +775,7 @@ export const datasetRouter = createTRPCRouter({
try {
const validationErrors = JSON.parse(match[1]);
return { success: false, validationErrors };
- } catch (e) {
+ } catch (_e) {
// Failed to parse, rethrow original error
throw error;
}
diff --git a/web/src/features/entitlements/constants/entitlements.ts b/web/src/features/entitlements/constants/entitlements.ts
index 2314249743..b077fcfdbd 100644
--- a/web/src/features/entitlements/constants/entitlements.ts
+++ b/web/src/features/entitlements/constants/entitlements.ts
@@ -1,7 +1,9 @@
import { type Plan } from "@langfuse/shared";
// Entitlements: Binary feature access
-const entitlements = [
+// Exported to silence @typescript-eslint/no-unused-vars v8 warning
+// (used for type extraction via typeof, which is a legitimate pattern)
+export const entitlements = [
// features
"rbac-project-roles",
"cloud-billing",
@@ -29,7 +31,9 @@ const selfHostedAllPlansEntitlements: Entitlement[] = [
];
// Entitlement Limits: Limits on the number of resources that can be created/used
-const entitlementLimits = [
+// Exported to silence @typescript-eslint/no-unused-vars v8 warning
+// (used for type extraction via typeof, which is a legitimate pattern)
+export const entitlementLimits = [
"annotation-queue-count",
"organization-member-count",
"data-access-days",
diff --git a/web/src/features/experiments/components/RemoteExperimentTriggerModal.tsx b/web/src/features/experiments/components/RemoteExperimentTriggerModal.tsx
index bca10b45e6..6624162868 100644
--- a/web/src/features/experiments/components/RemoteExperimentTriggerModal.tsx
+++ b/web/src/features/experiments/components/RemoteExperimentTriggerModal.tsx
@@ -95,7 +95,7 @@ export const RemoteExperimentTriggerModal = ({
if (data.payload.trim()) {
try {
JSON.parse(data.payload);
- } catch (error) {
+ } catch (_error) {
form.setError("payload", {
message: "Invalid JSON format",
});
diff --git a/web/src/features/experiments/components/RemoteExperimentUpsertForm.tsx b/web/src/features/experiments/components/RemoteExperimentUpsertForm.tsx
index ba83fe8c5e..b3c0998341 100644
--- a/web/src/features/experiments/components/RemoteExperimentUpsertForm.tsx
+++ b/web/src/features/experiments/components/RemoteExperimentUpsertForm.tsx
@@ -113,7 +113,7 @@ export const RemoteExperimentUpsertForm = ({
if (data.defaultPayload.trim()) {
try {
JSON.parse(data.defaultPayload);
- } catch (error) {
+ } catch (_error) {
form.setError("defaultPayload", {
message: "Invalid JSON format",
});
diff --git a/web/src/features/onboarding/hooks/useSurveyForm.ts b/web/src/features/onboarding/hooks/useSurveyForm.ts
index 1dbbf0b3c2..f7d9adee7e 100644
--- a/web/src/features/onboarding/hooks/useSurveyForm.ts
+++ b/web/src/features/onboarding/hooks/useSurveyForm.ts
@@ -91,7 +91,7 @@ export function useSurveyForm() {
response: transformedResponse,
orgId: session?.user?.organizations?.[0]?.id,
});
- } catch (error) {
+ } catch (_error) {
// Error handling is done in the mutation callbacks
// This catch block is for any additional error handling if needed
}
diff --git a/web/src/features/playground/page/components/CreateOrEditLLMSchemaDialog.tsx b/web/src/features/playground/page/components/CreateOrEditLLMSchemaDialog.tsx
index 843cc46f0c..5e6d40edac 100644
--- a/web/src/features/playground/page/components/CreateOrEditLLMSchemaDialog.tsx
+++ b/web/src/features/playground/page/components/CreateOrEditLLMSchemaDialog.tsx
@@ -140,7 +140,7 @@ export const CreateOrEditLLMSchemaDialog: React.FC<
const parsedJson = JSON.parse(currentValue);
const prettified = JSON.stringify(parsedJson, null, 2);
form.setValue("schema", prettified);
- } catch (error) {
+ } catch (_error) {
showErrorToast(
"Failed to prettify JSON",
"Please verify your input is valid JSON",
diff --git a/web/src/features/playground/page/components/CreateOrEditLLMToolDialog.tsx b/web/src/features/playground/page/components/CreateOrEditLLMToolDialog.tsx
index 914958ea3e..28be515574 100644
--- a/web/src/features/playground/page/components/CreateOrEditLLMToolDialog.tsx
+++ b/web/src/features/playground/page/components/CreateOrEditLLMToolDialog.tsx
@@ -140,7 +140,7 @@ export const CreateOrEditLLMToolDialog: React.FC<CreateOrEditLLMToolDialog> = (
const parsedJson = JSON.parse(currentValue);
const prettified = JSON.stringify(parsedJson, null, 2);
form.setValue("parameters", prettified);
- } catch (error) {
+ } catch (_error) {
showErrorToast(
"Failed to prettify JSON",
"Please verify your input is valid JSON",
diff --git a/web/src/features/posthog-analytics/usePostHogClientCapture.ts b/web/src/features/posthog-analytics/usePostHogClientCapture.ts
index ff05e93fc8..5bbb26d1c6 100644
--- a/web/src/features/posthog-analytics/usePostHogClientCapture.ts
+++ b/web/src/features/posthog-analytics/usePostHogClientCapture.ts
@@ -2,7 +2,9 @@ import { type CaptureResult, type CaptureOptions } from "posthog-js";
import { usePostHog } from "posthog-js/react";
// resource:action, only use snake_case
-const events = {
+// Exported to silence @typescript-eslint/no-unused-vars v8 warning
+// (used for type extraction via typeof, which is a legitimate pattern)
+export const events = {
table: [
"filter_builder_open",
"filter_builder_close",
diff --git a/web/src/features/prompts/components/NewPromptForm/index.tsx b/web/src/features/prompts/components/NewPromptForm/index.tsx
index cd4fd5c124..a7c0a8f411 100644
--- a/web/src/features/prompts/components/NewPromptForm/index.tsx
+++ b/web/src/features/prompts/components/NewPromptForm/index.tsx
@@ -73,7 +73,7 @@ export const NewPromptForm: React.FC<NewPromptFormProps> = (props) => {
type: initialPrompt?.type,
prompt: initialPrompt?.prompt?.valueOf(),
});
- } catch (err) {
+ } catch (_err) {
initialPromptVariant = null;
}
diff --git a/web/src/features/prompts/components/NewPromptForm/validation.ts b/web/src/features/prompts/components/NewPromptForm/validation.ts
index cd55022742..a633d0d70a 100644
--- a/web/src/features/prompts/components/NewPromptForm/validation.ts
+++ b/web/src/features/prompts/components/NewPromptForm/validation.ts
@@ -78,7 +78,7 @@ function validateJson(content: string): boolean {
JSON.parse(content);
return true;
- } catch (e) {
+ } catch (_e) {
return false;
}
}
diff --git a/web/src/features/public-api/server/RateLimitService.ts b/web/src/features/public-api/server/RateLimitService.ts
index 40d3dbeb9d..79fd925987 100644
--- a/web/src/features/public-api/server/RateLimitService.ts
+++ b/web/src/features/public-api/server/RateLimitService.ts
@@ -88,7 +88,7 @@ export class RateLimitService {
if (RateLimitService?.redis?.status !== "ready") {
try {
await RateLimitService?.redis?.connect();
- } catch (err) {
+ } catch (_err) {
// Do nothing here. We will fail open if Redis is not available.
}
}
diff --git a/web/src/features/public-api/server/cors.ts b/web/src/features/public-api/server/cors.ts
index 5684ab2857..286f4fd424 100644
--- a/web/src/features/public-api/server/cors.ts
+++ b/web/src/features/public-api/server/cors.ts
@@ -4,7 +4,7 @@ import Cors from "cors";
export function runMiddleware(
req: NextApiRequest,
res: NextApiResponse,
- // eslint-disable-next-line @typescript-eslint/ban-types
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
fn: Function,
) {
return new Promise((resolve, reject) => {
diff --git a/web/src/features/public-api/server/withMiddlewares.ts b/web/src/features/public-api/server/withMiddlewares.ts
index 169f061d6b..072d82b816 100644
--- a/web/src/features/public-api/server/withMiddlewares.ts
+++ b/web/src/features/public-api/server/withMiddlewares.ts
@@ -16,7 +16,9 @@ import {
} from "@langfuse/shared/src/server";
import * as opentelemetry from "@opentelemetry/api";
-const httpMethods = ["GET", "POST", "PUT", "DELETE", "PATCH"] as const;
+// Exported to silence @typescript-eslint/no-unused-vars v8 warning
+// (used for type extraction via typeof, which is a legitimate pattern)
+export const httpMethods = ["GET", "POST", "PUT", "DELETE", "PATCH"] as const;
export type HttpMethod = (typeof httpMethods)[number];
type Handlers = {
[Method in HttpMethod]?: (
diff --git a/web/src/features/public-api/types/metrics.ts b/web/src/features/public-api/types/metrics.ts
index 15c3aeae44..1a73de8bc7 100644
--- a/web/src/features/public-api/types/metrics.ts
+++ b/web/src/features/public-api/types/metrics.ts
@@ -69,7 +69,7 @@ export const GetMetricsV1Query = z.object({
.transform((str) => {
try {
return JSON.parse(str);
- } catch (e) {
+ } catch (_e) {
throw new InvalidRequestError("Invalid JSON in query parameter");
}
})
diff --git a/web/src/features/public-api/types/observations.ts b/web/src/features/public-api/types/observations.ts
index 7cb95661e6..e95bacfb3d 100644
--- a/web/src/features/public-api/types/observations.ts
+++ b/web/src/features/public-api/types/observations.ts
@@ -251,7 +251,7 @@ export const EncodedObservationsCursorV2 = z
const decoded = Buffer.from(val, "base64").toString("utf-8");
const parsed = JSON.parse(decoded);
return parsed;
- } catch (e) {
+ } catch (_e) {
throw new InvalidRequestError("Invalid cursor format");
}
})
diff --git a/web/src/features/query/dashboardUiTableToViewMapping.ts b/web/src/features/query/dashboardUiTableToViewMapping.ts
index 3ea8412ff5..7fa1a8d85e 100644
--- a/web/src/features/query/dashboardUiTableToViewMapping.ts
+++ b/web/src/features/query/dashboardUiTableToViewMapping.ts
@@ -2,7 +2,9 @@ import { z } from "zod/v4";
import { dashboardColumnDefinitions, singleFilter } from "@langfuse/shared";
import { type views } from "@/src/features/query/types";
-const FilterArray = z.array(singleFilter);
+// Exported to silence @typescript-eslint/no-unused-vars v8 warning
+// (used for type extraction via typeof, which is a legitimate pattern)
+export const FilterArray = z.array(singleFilter);
const viewMappings: Record<z.infer<typeof views>, Record<string, string>[]> = {
traces: [
diff --git a/web/src/features/rbac/constants/organizationAccessRights.ts b/web/src/features/rbac/constants/organizationAccessRights.ts
index 3e66bb664c..e6c95a8373 100644
--- a/web/src/features/rbac/constants/organizationAccessRights.ts
+++ b/web/src/features/rbac/constants/organizationAccessRights.ts
@@ -1,6 +1,8 @@
import { type Role } from "@langfuse/shared/src/db";
-const organizationScopes = [
+// Exported to silence @typescript-eslint/no-unused-vars v8 warning
+// (used for type extraction via typeof, which is a legitimate pattern)
+export const organizationScopes = [
"projects:create",
"projects:transfer_org",
"organization:CRUD_apiKeys",
diff --git a/web/src/features/rbac/constants/projectAccessRights.ts b/web/src/features/rbac/constants/projectAccessRights.ts
index 00e4b1ac2c..a69a470e69 100644
--- a/web/src/features/rbac/constants/projectAccessRights.ts
+++ b/web/src/features/rbac/constants/projectAccessRights.ts
@@ -1,6 +1,8 @@
import { type Role } from "@langfuse/shared/src/db";
-const projectScopes = [
+// Exported to silence @typescript-eslint/no-unused-vars v8 warning
+// (used for type extraction via typeof, which is a legitimate pattern)
+export const projectScopes = [
"projectMembers:read",
"projectMembers:CUD",
diff --git a/web/src/features/score-analytics/lib/color-scales.ts b/web/src/features/score-analytics/lib/color-scales.ts
index 25b7513230..90354f045e 100644
--- a/web/src/features/score-analytics/lib/color-scales.ts
+++ b/web/src/features/score-analytics/lib/color-scales.ts
@@ -320,7 +320,7 @@ function extractHslToHex(cssVar: string): string {
if (computed && computed.startsWith("rgb")) {
return chroma(computed).hex();
}
- } catch (e) {
+ } catch (_e) {
// Fall through to default fallback
}
}
diff --git a/web/src/features/slack/components/SlackTestMessageButton.tsx b/web/src/features/slack/components/SlackTestMessageButton.tsx
index e5c0041541..d48adfc6ce 100644
--- a/web/src/features/slack/components/SlackTestMessageButton.tsx
+++ b/web/src/features/slack/components/SlackTestMessageButton.tsx
@@ -75,7 +75,7 @@ export const SlackTestMessageButton: React.FC<SlackTestMessageButtonProps> = ({
channelId: selectedChannel.id,
channelName: selectedChannel.name,
});
- } catch (error) {
+ } catch (_error) {
// Error handling is done in the mutation
}
};
diff --git a/web/src/pages/api/public/media/index.ts b/web/src/pages/api/public/media/index.ts
index 07786ba248..8616ad2072 100644
--- a/web/src/pages/api/public/media/index.ts
+++ b/web/src/pages/api/public/media/index.ts
@@ -193,7 +193,7 @@ export default withMiddlewares({
mediaId,
uploadUrl,
};
- } catch (error) {
+ } catch (_error) {
logger.error(
`Failed to get media upload URL for trace ${traceId} and observation ${observationId}.`,
);
diff --git a/web/src/pages/auth/sign-in.tsx b/web/src/pages/auth/sign-in.tsx
index 78b477a597..5f1f470824 100644
--- a/web/src/pages/auth/sign-in.tsx
+++ b/web/src/pages/auth/sign-in.tsx
@@ -486,7 +486,7 @@ export function useHuggingFaceRedirect(runningOnHuggingFaceSpaces: boolean) {
const isInIframe = () => {
try {
return window.self !== window.top;
- } catch (e) {
+ } catch (_e) {
return true;
}
};
diff --git a/web/src/pages/auth/sign-up.tsx b/web/src/pages/auth/sign-up.tsx
index 4bc6215e06..544ce45f52 100644
--- a/web/src/pages/auth/sign-up.tsx
+++ b/web/src/pages/auth/sign-up.tsx
@@ -181,7 +181,7 @@ export default function SignIn({
? `${env.NEXT_PUBLIC_BASE_PATH ?? ""}/onboarding`
: `${env.NEXT_PUBLIC_BASE_PATH ?? ""}/`),
});
- } catch (err) {
+ } catch (_err) {
setFormError("An error occurred. Please try again.");
}
}
diff --git a/web/src/server/api/routers/scores.ts b/web/src/server/api/routers/scores.ts
index 6bcb64e253..cb36e5f3c6 100644
--- a/web/src/server/api/routers/scores.ts
+++ b/web/src/server/api/routers/scores.ts
@@ -609,7 +609,7 @@ export const scoresRouter = createTRPCRouter({
config: config as ScoreConfigDomain,
context: "ANNOTATION",
});
- } catch (error) {
+ } catch (_error) {
throw new TRPCError({
code: "PRECONDITION_FAILED",
message:
diff --git a/web/src/utils/date-range-utils.ts b/web/src/utils/date-range-utils.ts
index 29a823c4a0..f6c536d223 100644
--- a/web/src/utils/date-range-utils.ts
+++ b/web/src/utils/date-range-utils.ts
@@ -638,7 +638,7 @@ export function rangeFromString<T extends string>(
}
}
}
- } catch (error) {
+ } catch (_error) {
// Continue to fallback
}
diff --git a/worker/package.json b/worker/package.json
index 13ff5a4b98..9e7af10a5d 100644
--- a/worker/package.json
+++ b/worker/package.json
@@ -72,7 +72,7 @@
"@types/node": "^24.3.0",
"@types/pg": "^8.11.10",
"@types/uuid": "^9.0.8",
- "@typescript-eslint/parser": "^7.12.0",
+ "@typescript-eslint/parser": "^8.48.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard": "^17.1.0",