From 8fbe8028a9fa8817c8bbbf28cb0964752fa166d8 Mon Sep 17 00:00:00 2001 From: Shivanee Persaud Date: Wed, 13 May 2026 14:26:20 -0700 Subject: [PATCH 1/6] build: upgrade core dependencies and handwritten libraries to ESLint v10 and add flat configurations --- handwritten/bigquery-storage/package.json | 1 + handwritten/bigquery/package.json | 1 + handwritten/bigtable/package.json | 1 + handwritten/cloud-profiler/package.json | 1 + handwritten/datastore/package.json | 1 + handwritten/error-reporting/package.json | 1 + handwritten/eslint.config.mjs | 10 ++++++++++ handwritten/firestore/package.json | 1 + handwritten/logging-bunyan/package.json | 1 + handwritten/logging-winston/package.json | 1 + handwritten/logging/package.json | 1 + handwritten/pubsub/package.json | 1 + handwritten/spanner/package.json | 1 + handwritten/storage/package.json | 1 + package.json | 1 + packages/eslint.config.mjs | 13 +++++++++++++ 16 files changed, 37 insertions(+) create mode 100644 handwritten/eslint.config.mjs create mode 100644 packages/eslint.config.mjs diff --git a/handwritten/bigquery-storage/package.json b/handwritten/bigquery-storage/package.json index bde1683b04b0..5a8f64b1bce8 100644 --- a/handwritten/bigquery-storage/package.json +++ b/handwritten/bigquery-storage/package.json @@ -45,6 +45,7 @@ "protobufjs": "^7.5.5" }, "devDependencies": { + "eslint": "^10.0.0", "@google-cloud/bigquery": "^8.0.0", "@types/extend": "^3.0.4", "@types/mocha": "^10.0.10", diff --git a/handwritten/bigquery/package.json b/handwritten/bigquery/package.json index 5c9e8cdb29d3..46953772f1f3 100644 --- a/handwritten/bigquery/package.json +++ b/handwritten/bigquery/package.json @@ -70,6 +70,7 @@ } }, "devDependencies": { + "eslint": "^10.0.0", "@google-cloud/storage": "^7.16.0", "@types/big.js": "^6.2.2", "@types/duplexify": "^3.6.4", diff --git a/handwritten/bigtable/package.json b/handwritten/bigtable/package.json index 32f99b0ace3b..c454724e7396 100644 --- a/handwritten/bigtable/package.json +++ b/handwritten/bigtable/package.json @@ -79,6 +79,7 @@ "stream-events": "^1.0.5" }, "devDependencies": { + "eslint": "^10.0.0", "@grpc/grpc-js": "^1.13.2", "@grpc/proto-loader": "^0.7.13", "@types/escape-string-regexp": "^2.0.3", diff --git a/handwritten/cloud-profiler/package.json b/handwritten/cloud-profiler/package.json index 5b815f1afa17..3e3277a0c9e8 100644 --- a/handwritten/cloud-profiler/package.json +++ b/handwritten/cloud-profiler/package.json @@ -48,6 +48,7 @@ "teeny-request": "^9.0.0" }, "devDependencies": { + "eslint": "^10.0.0", "@types/extend": "^3.0.0", "@types/long": "^5.0.0", "@types/mocha": "^9.0.0", diff --git a/handwritten/datastore/package.json b/handwritten/datastore/package.json index 50b0fa9ec0e5..9a3b5e923a82 100644 --- a/handwritten/datastore/package.json +++ b/handwritten/datastore/package.json @@ -57,6 +57,7 @@ "stream-events": "^1.0.5" }, "devDependencies": { + "eslint": "^10.0.0", "@google-cloud/storage": "^7.16.0", "@types/extend": "^3.0.4", "@types/is": "^0.0.25", diff --git a/handwritten/error-reporting/package.json b/handwritten/error-reporting/package.json index f2be96718a9e..53b4338e79b8 100644 --- a/handwritten/error-reporting/package.json +++ b/handwritten/error-reporting/package.json @@ -39,6 +39,7 @@ "console-log-level": "^1.4.1" }, "devDependencies": { + "eslint": "^10.0.0", "@compodoc/compodoc": "1.1.25", "@hapi/hapi": "^21.4.4", "@types/boom": "^7.3.5", diff --git a/handwritten/eslint.config.mjs b/handwritten/eslint.config.mjs new file mode 100644 index 000000000000..1c9cadaf7de7 --- /dev/null +++ b/handwritten/eslint.config.mjs @@ -0,0 +1,10 @@ +export default [ + { + ignores: [ + "**/node_modules/**", + "**/build/**", + "**/coverage/**", + "**/.nyc_output/**" + ] + } +]; diff --git a/handwritten/firestore/package.json b/handwritten/firestore/package.json index a150827d977d..b5393964103f 100644 --- a/handwritten/firestore/package.json +++ b/handwritten/firestore/package.json @@ -76,6 +76,7 @@ "protobufjs": "^7.5.3" }, "devDependencies": { + "eslint": "^10.0.0", "@google-cloud/cloud-rad": "^0.4.10", "@google-cloud/opentelemetry-cloud-trace-exporter": "^3.0.0", "@google-cloud/promisify": "^5.0.0", diff --git a/handwritten/logging-bunyan/package.json b/handwritten/logging-bunyan/package.json index 2b7144bc5f37..97cf19004a6d 100644 --- a/handwritten/logging-bunyan/package.json +++ b/handwritten/logging-bunyan/package.json @@ -59,6 +59,7 @@ "google-auth-library": "^9.0.0" }, "devDependencies": { + "eslint": "^10.0.0", "@google-cloud/common": "^5.0.0", "@types/bunyan": "^1.8.4", "@types/express": "^4.16.0", diff --git a/handwritten/logging-winston/package.json b/handwritten/logging-winston/package.json index e8f007a03ac8..8e8643f5f679 100644 --- a/handwritten/logging-winston/package.json +++ b/handwritten/logging-winston/package.json @@ -60,6 +60,7 @@ "winston-transport": "^4.9.0" }, "devDependencies": { + "eslint": "^10.0.0", "@google-cloud/common": "^6.0.0", "@types/lodash.mapvalues": "^4.6.9", "@types/mocha": "^10.0.10", diff --git a/handwritten/logging/package.json b/handwritten/logging/package.json index 77a1d034cd3a..4ee2bdfd721c 100644 --- a/handwritten/logging/package.json +++ b/handwritten/logging/package.json @@ -69,6 +69,7 @@ "uuid": "^9.0.0" }, "devDependencies": { + "eslint": "^10.0.0", "@google-cloud/bigquery": "^7.0.0", "@google-cloud/opentelemetry-cloud-trace-exporter": "^2.1.0", "@google-cloud/pubsub": "^4.0.0", diff --git a/handwritten/pubsub/package.json b/handwritten/pubsub/package.json index a3672e423700..d611847cdbcc 100644 --- a/handwritten/pubsub/package.json +++ b/handwritten/pubsub/package.json @@ -71,6 +71,7 @@ "p-defer": "^3.0.0" }, "devDependencies": { + "eslint": "^10.0.0", "@grpc/proto-loader": "^0.8.0", "@opentelemetry/sdk-trace-base": "^1.17.0", "@types/duplexify": "^3.6.4", diff --git a/handwritten/spanner/package.json b/handwritten/spanner/package.json index 1ff8b6481ecb..3c6a8a438834 100644 --- a/handwritten/spanner/package.json +++ b/handwritten/spanner/package.json @@ -98,6 +98,7 @@ "uuid": "^11.1.0" }, "devDependencies": { + "eslint": "^10.0.0", "@grpc/reflection": "^1.0.4", "@opentelemetry/sdk-trace-base": "^2.0.0", "@opentelemetry/sdk-trace-node": "^2.0.0", diff --git a/handwritten/storage/package.json b/handwritten/storage/package.json index 2c5d4b7da458..c6a4d0cee747 100644 --- a/handwritten/storage/package.json +++ b/handwritten/storage/package.json @@ -93,6 +93,7 @@ "uuid": "^8.0.0" }, "devDependencies": { + "eslint": "^10.0.0", "@babel/cli": "^7.22.10", "@babel/core": "^7.22.11", "@google-cloud/pubsub": "^4.0.0", diff --git a/package.json b/package.json index db19b0b3dbcf..3e597e47b259 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "parse-link-header": "^2.0.0" }, "devDependencies": { + "eslint": "^10.0.0", "gts": "^6.0.2" }, "engines": { diff --git a/packages/eslint.config.mjs b/packages/eslint.config.mjs new file mode 100644 index 000000000000..470e70aad072 --- /dev/null +++ b/packages/eslint.config.mjs @@ -0,0 +1,13 @@ +export default [ + { + ignores: [ + "**/node_modules/**", + "**/.coverage/**", + "**/build/**", + "**/docs/**", + "**/protos/**", + "**/system-test/**", + "**/samples/generated/**" + ] + } +]; From 8c5079d981890ceca8aeae14ad0f85913c3a4ed6 Mon Sep 17 00:00:00 2001 From: Shivanee Persaud Date: Wed, 13 May 2026 14:54:04 -0700 Subject: [PATCH 2/6] build: extend gts base config in flat configs and remove redundant ignores --- handwritten/eslint.config.mjs | 13 ++++++++++++- packages/eslint.config.mjs | 13 ++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/handwritten/eslint.config.mjs b/handwritten/eslint.config.mjs index 1c9cadaf7de7..a6b478c9bf0c 100644 --- a/handwritten/eslint.config.mjs +++ b/handwritten/eslint.config.mjs @@ -1,7 +1,18 @@ +import path from 'node:path'; +import { fileURLToPath } from 'node:url'; +import { FlatCompat } from '@eslint/eslintrc'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +const compat = new FlatCompat({ + baseDirectory: __dirname, +}); + export default [ + ...compat.extends('gts'), { ignores: [ - "**/node_modules/**", "**/build/**", "**/coverage/**", "**/.nyc_output/**" diff --git a/packages/eslint.config.mjs b/packages/eslint.config.mjs index 470e70aad072..54fbe0a2c198 100644 --- a/packages/eslint.config.mjs +++ b/packages/eslint.config.mjs @@ -1,7 +1,18 @@ +import path from 'node:path'; +import { fileURLToPath } from 'node:url'; +import { FlatCompat } from '@eslint/eslintrc'; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +const compat = new FlatCompat({ + baseDirectory: __dirname, +}); + export default [ + ...compat.extends('gts'), { ignores: [ - "**/node_modules/**", "**/.coverage/**", "**/build/**", "**/docs/**", From 5c39d7993284f44ef0371a468b4df8fb25d80f99 Mon Sep 17 00:00:00 2001 From: Shivanee Persaud Date: Thu, 14 May 2026 11:24:56 -0700 Subject: [PATCH 3/6] fix(generator): inline Prettier configuration and declare gts runtime dependency --- core/generator/gapic-generator-typescript/.prettierrc.cjs | 7 +++++-- core/generator/gapic-generator-typescript/BUILD.bazel | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/core/generator/gapic-generator-typescript/.prettierrc.cjs b/core/generator/gapic-generator-typescript/.prettierrc.cjs index 76e5c66efa0c..473c51d73eb3 100644 --- a/core/generator/gapic-generator-typescript/.prettierrc.cjs +++ b/core/generator/gapic-generator-typescript/.prettierrc.cjs @@ -13,7 +13,10 @@ // limitations under the License. module.exports = { - ...require('gts/.prettierrc.json') -} + bracketSpacing: false, + singleQuote: true, + trailingComma: 'all', + arrowParens: 'avoid', +}; \ No newline at end of file diff --git a/core/generator/gapic-generator-typescript/BUILD.bazel b/core/generator/gapic-generator-typescript/BUILD.bazel index 7dd7d11f5525..dcbbd2b002df 100644 --- a/core/generator/gapic-generator-typescript/BUILD.bazel +++ b/core/generator/gapic-generator-typescript/BUILD.bazel @@ -40,6 +40,7 @@ npm_runtime_dependencies = [ "//:node_modules/yargs", "//:node_modules/google-gax", "//:node_modules/prettier", + "//:node_modules/gts", ] npm_test_dependencies = npm_runtime_dependencies + [ From 58e6d51bddf42159405db725753add8e3fb51575 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 14 May 2026 18:42:31 +0000 Subject: [PATCH 4/6] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- handwritten/bigquery/src/types.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handwritten/bigquery/src/types.d.ts b/handwritten/bigquery/src/types.d.ts index 0322dfbdee0f..f51a4e342011 100644 --- a/handwritten/bigquery/src/types.d.ts +++ b/handwritten/bigquery/src/types.d.ts @@ -13,7 +13,7 @@ // limitations under the License. /** - * Discovery Revision: 20260328 + * Discovery Revision: 20260408 */ /** From 8b51942ea3c7c16b85f719a78875f1ee6c48fe8e Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 14 May 2026 18:59:47 +0000 Subject: [PATCH 5/6] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- handwritten/bigquery/src/types.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handwritten/bigquery/src/types.d.ts b/handwritten/bigquery/src/types.d.ts index f51a4e342011..0322dfbdee0f 100644 --- a/handwritten/bigquery/src/types.d.ts +++ b/handwritten/bigquery/src/types.d.ts @@ -13,7 +13,7 @@ // limitations under the License. /** - * Discovery Revision: 20260408 + * Discovery Revision: 20260328 */ /** From 9308eefb5128dafd406d264036538411a23eca9a Mon Sep 17 00:00:00 2001 From: Shivanee Persaud Date: Thu, 14 May 2026 12:14:30 -0700 Subject: [PATCH 6/6] build: pin ESLint version to 10.0.0 and add package overrides to prevent incompatibility --- .../gapic-generator-typescript/package.json | 9 +++++++++ handwritten/bigquery-storage/package.json | 13 +++++++++++-- handwritten/bigquery/package.json | 11 +++++++++-- handwritten/bigtable/package.json | 13 +++++++++++-- handwritten/cloud-profiler/package.json | 13 +++++++++++-- handwritten/datastore/package.json | 13 +++++++++++-- handwritten/error-reporting/package.json | 5 ++++- handwritten/firestore/package.json | 11 +++++++++-- handwritten/logging-bunyan/package.json | 13 +++++++++++-- handwritten/logging-winston/package.json | 13 +++++++++++-- handwritten/logging/package.json | 13 +++++++++++-- handwritten/pubsub/package.json | 13 +++++++++++-- handwritten/spanner/package.json | 5 ++++- handwritten/storage/package.json | 13 +++++++++++-- package.json | 11 ++++++++++- 15 files changed, 144 insertions(+), 25 deletions(-) diff --git a/core/generator/gapic-generator-typescript/package.json b/core/generator/gapic-generator-typescript/package.json index 2a6334ee6b33..0e6ab79a4e40 100644 --- a/core/generator/gapic-generator-typescript/package.json +++ b/core/generator/gapic-generator-typescript/package.json @@ -75,5 +75,14 @@ }, "engines": { "node": ">=18" + }, + "//_comment_eslint": "Pin eslint version at 10.0.0 until we upgrade the node version", + "overrides": { + "eslint": "10.0.0" + }, + "pnpm": { + "overrides": { + "eslint": "10.0.0" + } } } diff --git a/handwritten/bigquery-storage/package.json b/handwritten/bigquery-storage/package.json index 5a8f64b1bce8..358327a2ae28 100644 --- a/handwritten/bigquery-storage/package.json +++ b/handwritten/bigquery-storage/package.json @@ -45,7 +45,7 @@ "protobufjs": "^7.5.5" }, "devDependencies": { - "eslint": "^10.0.0", + "eslint": "10.0.0", "@google-cloud/bigquery": "^8.0.0", "@types/extend": "^3.0.4", "@types/mocha": "^10.0.10", @@ -75,5 +75,14 @@ "engines": { "node": ">=18" }, - "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/bigquery-storage" + "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/bigquery-storage", + "//_comment_eslint": "Pin eslint version at 10.0.0 until we upgrade the node version", + "overrides": { + "eslint": "10.0.0" + }, + "pnpm": { + "overrides": { + "eslint": "10.0.0" + } + } } diff --git a/handwritten/bigquery/package.json b/handwritten/bigquery/package.json index 46953772f1f3..75aacf2a7a99 100644 --- a/handwritten/bigquery/package.json +++ b/handwritten/bigquery/package.json @@ -63,14 +63,16 @@ "extend": "^3.0.2", "stream-events": "^1.0.5" }, + "//_comment_eslint": "Pin eslint version at 10.0.0 until we upgrade the node version", "overrides": { + "eslint": "10.0.0", "@sinonjs/fake-timers": "15.1.1", "@google-cloud/common": { "google-auth-library": "10.3.0" } }, "devDependencies": { - "eslint": "^10.0.0", + "eslint": "10.0.0", "@google-cloud/storage": "^7.16.0", "@types/big.js": "^6.2.2", "@types/duplexify": "^3.6.4", @@ -98,5 +100,10 @@ "sinon": "21.0.3", "typescript": "^5.8.2" }, - "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/bigquery" + "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/bigquery", + "pnpm": { + "overrides": { + "eslint": "10.0.0" + } + } } diff --git a/handwritten/bigtable/package.json b/handwritten/bigtable/package.json index c454724e7396..506c7877184e 100644 --- a/handwritten/bigtable/package.json +++ b/handwritten/bigtable/package.json @@ -79,7 +79,7 @@ "stream-events": "^1.0.5" }, "devDependencies": { - "eslint": "^10.0.0", + "eslint": "10.0.0", "@grpc/grpc-js": "^1.13.2", "@grpc/proto-loader": "^0.7.13", "@types/escape-string-regexp": "^2.0.3", @@ -117,5 +117,14 @@ "engines": { "node": ">=18" }, - "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/bigtable" + "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/bigtable", + "//_comment_eslint": "Pin eslint version at 10.0.0 until we upgrade the node version", + "overrides": { + "eslint": "10.0.0" + }, + "pnpm": { + "overrides": { + "eslint": "10.0.0" + } + } } diff --git a/handwritten/cloud-profiler/package.json b/handwritten/cloud-profiler/package.json index 3e3277a0c9e8..db34c2e54c3a 100644 --- a/handwritten/cloud-profiler/package.json +++ b/handwritten/cloud-profiler/package.json @@ -48,7 +48,7 @@ "teeny-request": "^9.0.0" }, "devDependencies": { - "eslint": "^10.0.0", + "eslint": "10.0.0", "@types/extend": "^3.0.0", "@types/long": "^5.0.0", "@types/mocha": "^9.0.0", @@ -87,5 +87,14 @@ "engines": { "node": ">=14.0.0" }, - "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/cloud-profiler" + "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/cloud-profiler", + "//_comment_eslint": "Pin eslint version at 10.0.0 until we upgrade the node version", + "overrides": { + "eslint": "10.0.0" + }, + "pnpm": { + "overrides": { + "eslint": "10.0.0" + } + } } diff --git a/handwritten/datastore/package.json b/handwritten/datastore/package.json index 9a3b5e923a82..e574282fe97e 100644 --- a/handwritten/datastore/package.json +++ b/handwritten/datastore/package.json @@ -57,7 +57,7 @@ "stream-events": "^1.0.5" }, "devDependencies": { - "eslint": "^10.0.0", + "eslint": "10.0.0", "@google-cloud/storage": "^7.16.0", "@types/extend": "^3.0.4", "@types/is": "^0.0.25", @@ -89,5 +89,14 @@ "engines": { "node": ">=18" }, - "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/datastore" + "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/datastore", + "//_comment_eslint": "Pin eslint version at 10.0.0 until we upgrade the node version", + "overrides": { + "eslint": "10.0.0" + }, + "pnpm": { + "overrides": { + "eslint": "10.0.0" + } + } } diff --git a/handwritten/error-reporting/package.json b/handwritten/error-reporting/package.json index 53b4338e79b8..09008e4eb2a5 100644 --- a/handwritten/error-reporting/package.json +++ b/handwritten/error-reporting/package.json @@ -39,7 +39,7 @@ "console-log-level": "^1.4.1" }, "devDependencies": { - "eslint": "^10.0.0", + "eslint": "10.0.0", "@compodoc/compodoc": "1.1.25", "@hapi/hapi": "^21.4.4", "@types/boom": "^7.3.5", @@ -71,13 +71,16 @@ "typescript": "^5.9.3", "uuid": "^8.3.2" }, + "//_comment_eslint": "Pin eslint version at 10.0.0 until we upgrade the node version", "overrides": { + "eslint": "10.0.0", "undici": "5.28.4", "tablesort": "5.6.0", "cheerio": "1.0.0" }, "pnpm": { "overrides": { + "eslint": "10.0.0", "tablesort": "5.6.0", "cheerio": "1.0.0" } diff --git a/handwritten/firestore/package.json b/handwritten/firestore/package.json index b5393964103f..b38069985613 100644 --- a/handwritten/firestore/package.json +++ b/handwritten/firestore/package.json @@ -76,7 +76,7 @@ "protobufjs": "^7.5.3" }, "devDependencies": { - "eslint": "^10.0.0", + "eslint": "10.0.0", "@google-cloud/cloud-rad": "^0.4.10", "@google-cloud/opentelemetry-cloud-trace-exporter": "^3.0.0", "@google-cloud/promisify": "^5.0.0", @@ -123,7 +123,9 @@ "typescript": "^5.9.2" }, "//_comment": "TODO: Remove @sinonjs/fake-timers overrides/resolutions when version > 15.3.0 fixes the duplicate identifier 'withGlobal' issue.", + "//_comment_eslint": "Pin eslint version at 10.0.0 until we upgrade the node version", "overrides": { + "eslint": "10.0.0", "@sinonjs/fake-timers": "15.1.1" }, "resolutions": { @@ -141,5 +143,10 @@ "./package.json": "./package.json", "./build/src/path": "./build/src/path.js" }, - "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/firestore" + "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/firestore", + "pnpm": { + "overrides": { + "eslint": "10.0.0" + } + } } diff --git a/handwritten/logging-bunyan/package.json b/handwritten/logging-bunyan/package.json index 97cf19004a6d..2669d01f82c7 100644 --- a/handwritten/logging-bunyan/package.json +++ b/handwritten/logging-bunyan/package.json @@ -59,7 +59,7 @@ "google-auth-library": "^9.0.0" }, "devDependencies": { - "eslint": "^10.0.0", + "eslint": "10.0.0", "@google-cloud/common": "^5.0.0", "@types/bunyan": "^1.8.4", "@types/express": "^4.16.0", @@ -88,5 +88,14 @@ "peerDependencies": { "bunyan": "*" }, - "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/logging-bunyan" + "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/logging-bunyan", + "//_comment_eslint": "Pin eslint version at 10.0.0 until we upgrade the node version", + "overrides": { + "eslint": "10.0.0" + }, + "pnpm": { + "overrides": { + "eslint": "10.0.0" + } + } } diff --git a/handwritten/logging-winston/package.json b/handwritten/logging-winston/package.json index 8e8643f5f679..2885dba39385 100644 --- a/handwritten/logging-winston/package.json +++ b/handwritten/logging-winston/package.json @@ -60,7 +60,7 @@ "winston-transport": "^4.9.0" }, "devDependencies": { - "eslint": "^10.0.0", + "eslint": "10.0.0", "@google-cloud/common": "^6.0.0", "@types/lodash.mapvalues": "^4.6.9", "@types/mocha": "^10.0.10", @@ -85,5 +85,14 @@ "peerDependencies": { "winston": ">=3.2.1" }, - "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/logging-winston" + "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/logging-winston", + "//_comment_eslint": "Pin eslint version at 10.0.0 until we upgrade the node version", + "overrides": { + "eslint": "10.0.0" + }, + "pnpm": { + "overrides": { + "eslint": "10.0.0" + } + } } diff --git a/handwritten/logging/package.json b/handwritten/logging/package.json index 4ee2bdfd721c..17fbceb04213 100644 --- a/handwritten/logging/package.json +++ b/handwritten/logging/package.json @@ -69,7 +69,7 @@ "uuid": "^9.0.0" }, "devDependencies": { - "eslint": "^10.0.0", + "eslint": "10.0.0", "@google-cloud/bigquery": "^7.0.0", "@google-cloud/opentelemetry-cloud-trace-exporter": "^2.1.0", "@google-cloud/pubsub": "^4.0.0", @@ -114,5 +114,14 @@ "engines": { "node": ">=14.0.0" }, - "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/logging" + "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/logging", + "//_comment_eslint": "Pin eslint version at 10.0.0 until we upgrade the node version", + "overrides": { + "eslint": "10.0.0" + }, + "pnpm": { + "overrides": { + "eslint": "10.0.0" + } + } } diff --git a/handwritten/pubsub/package.json b/handwritten/pubsub/package.json index d611847cdbcc..bd6e588d9432 100644 --- a/handwritten/pubsub/package.json +++ b/handwritten/pubsub/package.json @@ -71,7 +71,7 @@ "p-defer": "^3.0.0" }, "devDependencies": { - "eslint": "^10.0.0", + "eslint": "10.0.0", "@grpc/proto-loader": "^0.8.0", "@opentelemetry/sdk-trace-base": "^1.17.0", "@types/duplexify": "^3.6.4", @@ -112,5 +112,14 @@ "why-is-node-running": "^2.3.0", "yargs": "^17.7.2" }, - "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/pubsub" + "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/pubsub", + "//_comment_eslint": "Pin eslint version at 10.0.0 until we upgrade the node version", + "overrides": { + "eslint": "10.0.0" + }, + "pnpm": { + "overrides": { + "eslint": "10.0.0" + } + } } diff --git a/handwritten/spanner/package.json b/handwritten/spanner/package.json index 3c6a8a438834..86e6dbb4df3d 100644 --- a/handwritten/spanner/package.json +++ b/handwritten/spanner/package.json @@ -98,7 +98,7 @@ "uuid": "^11.1.0" }, "devDependencies": { - "eslint": "^10.0.0", + "eslint": "10.0.0", "@grpc/reflection": "^1.0.4", "@opentelemetry/sdk-trace-base": "^2.0.0", "@opentelemetry/sdk-trace-node": "^2.0.0", @@ -146,12 +146,15 @@ "typescript": "^5.8.2", "yargs": "^17.7.2" }, + "//_comment_eslint": "Pin eslint version at 10.0.0 until we upgrade the node version", "overrides": { + "eslint": "10.0.0", "gcp-metadata": "^7.0.1", "@sinonjs/fake-timers": "15.2.1" }, "pnpm": { "overrides": { + "eslint": "10.0.0", "gcp-metadata": "^7.0.1", "@sinonjs/fake-timers": "15.2.1" } diff --git a/handwritten/storage/package.json b/handwritten/storage/package.json index c6a4d0cee747..94db2be0978c 100644 --- a/handwritten/storage/package.json +++ b/handwritten/storage/package.json @@ -93,7 +93,7 @@ "uuid": "^8.0.0" }, "devDependencies": { - "eslint": "^10.0.0", + "eslint": "10.0.0", "@babel/cli": "^7.22.10", "@babel/core": "^7.22.11", "@google-cloud/pubsub": "^4.0.0", @@ -134,5 +134,14 @@ "yargs": "^17.3.1", "cross-env": "^7.0.3" }, - "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/storage" + "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/handwritten/storage", + "//_comment_eslint": "Pin eslint version at 10.0.0 until we upgrade the node version", + "overrides": { + "eslint": "10.0.0" + }, + "pnpm": { + "overrides": { + "eslint": "10.0.0" + } + } } diff --git a/package.json b/package.json index 3e597e47b259..fd6380b700c0 100644 --- a/package.json +++ b/package.json @@ -40,10 +40,19 @@ "parse-link-header": "^2.0.0" }, "devDependencies": { - "eslint": "^10.0.0", + "eslint": "10.0.0", "gts": "^6.0.2" }, "engines": { "node": ">=18" + }, + "//_comment_eslint": "Pin eslint version at 10.0.0 until we upgrade the node version", + "overrides": { + "eslint": "10.0.0" + }, + "pnpm": { + "overrides": { + "eslint": "10.0.0" + } } }