From 2a70c976606b352f9982cd4c2ff139ff12fc7820 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 29 Apr 2025 20:27:31 -0700 Subject: [PATCH] warn, don't error yet. we have a lot of cleaning to do --- .eslintrc.shared.json | 2 +- extensions/vscode/.eslintrc.json | 3 ++- gui/.eslintrc.json | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.eslintrc.shared.json b/.eslintrc.shared.json index 44cf138f6..db8cb1271 100644 --- a/.eslintrc.shared.json +++ b/.eslintrc.shared.json @@ -7,7 +7,7 @@ "plugins": ["@typescript-eslint", "import"], "rules": { "@typescript-eslint/naming-convention": "off", - "@typescript-eslint/no-floating-promises": "error", + "@typescript-eslint/no-floating-promises": "warn", "@typescript-eslint/semi": "warn", "curly": "warn", "eqeqeq": "warn", diff --git a/extensions/vscode/.eslintrc.json b/extensions/vscode/.eslintrc.json index f4973fa87..e1e339ce7 100644 --- a/extensions/vscode/.eslintrc.json +++ b/extensions/vscode/.eslintrc.json @@ -5,6 +5,7 @@ }, "extends": ["../../.eslintrc.shared.json"], "rules": { - "@typescript-eslint/naming-convention": "off" + "@typescript-eslint/naming-convention": "off", + "@typescript-eslint/no-floating-promises": "warn" } } diff --git a/gui/.eslintrc.json b/gui/.eslintrc.json index c902e379f..462fd5592 100644 --- a/gui/.eslintrc.json +++ b/gui/.eslintrc.json @@ -12,7 +12,8 @@ // "plugin:react/recommended" ], "rules": { - "@typescript-eslint/naming-convention": "off" + "@typescript-eslint/naming-convention": "off", + "@typescript-eslint/no-floating-promises": "warn" }, "overrides": [ {