From 4bbf7341ec9526e3ab7b120f01d14c05551ace64 Mon Sep 17 00:00:00 2001 From: Wes Tarle Date: Tue, 4 Aug 2026 16:50:16 +0000 Subject: [PATCH] fix(linter): update ESLint extends path in handwritten packages In handwritten packages, .eslintrc.json previously specified "extends": "./node_modules/gts". In the monorepo CI linter workflow, dependencies (node_modules/gts) are installed only at the root of the monorepo and not in individual package subdirectories. When bin/linter.mjs --strict runs on changed TypeScript files in a handwritten package, ESLint resolves ./node_modules/gts relative to the package directory (handwritten//node_modules/gts), which fails with: Failed to load config "./node_modules/gts" to extend from. Cannot read properties of undefined (reading 'fileExists') Update "extends": "./node_modules/gts" to "extends": "../../node_modules/gts" across all 15 packages in handwritten/ so ESLint can resolve gts from the monorepo root. --- handwritten/bigquery-storage/.eslintrc.json | 2 +- handwritten/bigquery/.eslintrc.json | 2 +- handwritten/bigtable/.eslintrc.json | 2 +- handwritten/cloud-profiler/.eslintrc.json | 2 +- handwritten/datastore/.eslintrc.json | 2 +- handwritten/error-reporting/.eslintrc.json | 2 +- handwritten/firestore/.eslintrc.json | 2 +- handwritten/google-cloud-dns/.eslintrc.json | 2 +- handwritten/logging-bunyan/.eslintrc.json | 2 +- handwritten/logging-winston/.eslintrc.json | 2 +- handwritten/logging/.eslintrc.json | 2 +- handwritten/pubsub/.eslintrc.json | 2 +- handwritten/spanner-driver/.eslintrc.json | 2 +- handwritten/spanner/.eslintrc.json | 2 +- handwritten/storage/.eslintrc.json | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/handwritten/bigquery-storage/.eslintrc.json b/handwritten/bigquery-storage/.eslintrc.json index 782153495464..9464caeaaeef 100644 --- a/handwritten/bigquery-storage/.eslintrc.json +++ b/handwritten/bigquery-storage/.eslintrc.json @@ -1,3 +1,3 @@ { - "extends": "./node_modules/gts" + "extends": "../../node_modules/gts" } diff --git a/handwritten/bigquery/.eslintrc.json b/handwritten/bigquery/.eslintrc.json index 3e8d97ccb390..7beafdb99479 100644 --- a/handwritten/bigquery/.eslintrc.json +++ b/handwritten/bigquery/.eslintrc.json @@ -1,4 +1,4 @@ { - "extends": "./node_modules/gts", + "extends": "../../node_modules/gts", "root": true } diff --git a/handwritten/bigtable/.eslintrc.json b/handwritten/bigtable/.eslintrc.json index 782153495464..9464caeaaeef 100644 --- a/handwritten/bigtable/.eslintrc.json +++ b/handwritten/bigtable/.eslintrc.json @@ -1,3 +1,3 @@ { - "extends": "./node_modules/gts" + "extends": "../../node_modules/gts" } diff --git a/handwritten/cloud-profiler/.eslintrc.json b/handwritten/cloud-profiler/.eslintrc.json index 782153495464..9464caeaaeef 100644 --- a/handwritten/cloud-profiler/.eslintrc.json +++ b/handwritten/cloud-profiler/.eslintrc.json @@ -1,3 +1,3 @@ { - "extends": "./node_modules/gts" + "extends": "../../node_modules/gts" } diff --git a/handwritten/datastore/.eslintrc.json b/handwritten/datastore/.eslintrc.json index 782153495464..9464caeaaeef 100644 --- a/handwritten/datastore/.eslintrc.json +++ b/handwritten/datastore/.eslintrc.json @@ -1,3 +1,3 @@ { - "extends": "./node_modules/gts" + "extends": "../../node_modules/gts" } diff --git a/handwritten/error-reporting/.eslintrc.json b/handwritten/error-reporting/.eslintrc.json index 782153495464..9464caeaaeef 100644 --- a/handwritten/error-reporting/.eslintrc.json +++ b/handwritten/error-reporting/.eslintrc.json @@ -1,3 +1,3 @@ { - "extends": "./node_modules/gts" + "extends": "../../node_modules/gts" } diff --git a/handwritten/firestore/.eslintrc.json b/handwritten/firestore/.eslintrc.json index 13e75f0cfca0..43f7fab3ea4b 100644 --- a/handwritten/firestore/.eslintrc.json +++ b/handwritten/firestore/.eslintrc.json @@ -1,6 +1,6 @@ { "root": true, - "extends": "./node_modules/gts", + "extends": "../../node_modules/gts", "overrides": [ { "files": ["dev/src/**/*.ts"], diff --git a/handwritten/google-cloud-dns/.eslintrc.json b/handwritten/google-cloud-dns/.eslintrc.json index 782153495464..9464caeaaeef 100644 --- a/handwritten/google-cloud-dns/.eslintrc.json +++ b/handwritten/google-cloud-dns/.eslintrc.json @@ -1,3 +1,3 @@ { - "extends": "./node_modules/gts" + "extends": "../../node_modules/gts" } diff --git a/handwritten/logging-bunyan/.eslintrc.json b/handwritten/logging-bunyan/.eslintrc.json index 782153495464..9464caeaaeef 100644 --- a/handwritten/logging-bunyan/.eslintrc.json +++ b/handwritten/logging-bunyan/.eslintrc.json @@ -1,3 +1,3 @@ { - "extends": "./node_modules/gts" + "extends": "../../node_modules/gts" } diff --git a/handwritten/logging-winston/.eslintrc.json b/handwritten/logging-winston/.eslintrc.json index 782153495464..9464caeaaeef 100644 --- a/handwritten/logging-winston/.eslintrc.json +++ b/handwritten/logging-winston/.eslintrc.json @@ -1,3 +1,3 @@ { - "extends": "./node_modules/gts" + "extends": "../../node_modules/gts" } diff --git a/handwritten/logging/.eslintrc.json b/handwritten/logging/.eslintrc.json index 782153495464..9464caeaaeef 100644 --- a/handwritten/logging/.eslintrc.json +++ b/handwritten/logging/.eslintrc.json @@ -1,3 +1,3 @@ { - "extends": "./node_modules/gts" + "extends": "../../node_modules/gts" } diff --git a/handwritten/pubsub/.eslintrc.json b/handwritten/pubsub/.eslintrc.json index 782153495464..9464caeaaeef 100644 --- a/handwritten/pubsub/.eslintrc.json +++ b/handwritten/pubsub/.eslintrc.json @@ -1,3 +1,3 @@ { - "extends": "./node_modules/gts" + "extends": "../../node_modules/gts" } diff --git a/handwritten/spanner-driver/.eslintrc.json b/handwritten/spanner-driver/.eslintrc.json index aa462ccc3ae7..427e8cba053e 100644 --- a/handwritten/spanner-driver/.eslintrc.json +++ b/handwritten/spanner-driver/.eslintrc.json @@ -1,4 +1,4 @@ { "root": true, - "extends": "./node_modules/gts" + "extends": "../../node_modules/gts" } diff --git a/handwritten/spanner/.eslintrc.json b/handwritten/spanner/.eslintrc.json index aa462ccc3ae7..427e8cba053e 100644 --- a/handwritten/spanner/.eslintrc.json +++ b/handwritten/spanner/.eslintrc.json @@ -1,4 +1,4 @@ { "root": true, - "extends": "./node_modules/gts" + "extends": "../../node_modules/gts" } diff --git a/handwritten/storage/.eslintrc.json b/handwritten/storage/.eslintrc.json index 782153495464..9464caeaaeef 100644 --- a/handwritten/storage/.eslintrc.json +++ b/handwritten/storage/.eslintrc.json @@ -1,3 +1,3 @@ { - "extends": "./node_modules/gts" + "extends": "../../node_modules/gts" }