From 546681ea3cf89d3485452160e4635cc789749ae2 Mon Sep 17 00:00:00 2001 From: dlarocque Date: Fri, 4 Sep 2026 15:51:18 -0400 Subject: [PATCH] chore(firestore): disable promise lint rules in test overrides Expand the Firestore test override glob to match nested test subdirectories and disable `promise/always-return` and `promise/catch-or-return`. --- .eslintrc.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 860bfcb3b3b..6e764a67aec 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -49,8 +49,8 @@ }, { "files": [ - "handwritten/firestore/dev/test/*.ts", - "handwritten/firestore/dev/system-test/*.ts" + "handwritten/firestore/dev/test/**/*.ts", + "handwritten/firestore/dev/system-test/**/*.ts" ], "parser": "@typescript-eslint/parser", "rules": { @@ -71,7 +71,9 @@ "argsIgnorePattern": "^_" } ], - "@typescript-eslint/no-floating-promises": "warn" + "@typescript-eslint/no-floating-promises": "warn", + "promise/always-return": "off", + "promise/catch-or-return": "off" } }, {